Thread: installation of qt

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    3

    Question installation of qt

    hi!
    could somebody explain to me how to install qt on my computer
    ,i have downloaded opensource qt 3.3
    how to install it using windows?
    i use borland c++ builderX

    THX

    fifi_c++ is online now

    Add to fifi_c++'s Reputation

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    How about consulting the readme files which come with the package you downloaded, or perhaps the message boards / FAQs from where you downloaded it.

  3. #3
    Registered User
    Join Date
    Dec 2004
    Posts
    3
    i did read the readme file of installation but i dont understain the next part:


    ================================================== ========
    2. Set some environment variables in the file .profile (or .login,
    depending on your shell) in your home directory. Create the
    file if it is not there already.

    QTDIR - the directory in which you're building Qt
    PATH - to locate the moc program and other Qt tools
    MANPATH - to access the Qt man pages
    LD_LIBRARY_PATH - for the shared Qt library

    Note that under IRIX the additional LD_LIBRARYN32_PATH and
    LD_LIBRARY64_PATH variables are used for specifying library
    search paths. Set the variable that matches your configuration, or
    see the rld(5) man page for more information.

    This is done like this:

    In .profile (if your shell is bash, ksh, zsh or sh), add the
    following lines:

    QTDIR=/usr/local/qt
    PATH=$QTDIR/bin:$PATH
    MANPATH=$QTDIR/doc/man:$MANPATH
    LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH

    export QTDIR PATH MANPATH LD_LIBRARY_PATH

    In .login (in case your shell is csh or tcsh), add the following lines:

    setenv QTDIR /usr/local/qt
    setenv PATH $QTDIR/bin:$PATH
    setenv MANPATH $QTDIR/doc/man:$MANPATH
    setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH

    After you have done this, you will need to login again, or
    re-source the profile before continuing, so that at least $QTDIR
    and $PATH are set. Without these the installation will halt with an error
    message.


    On AIX set LIBPATH and on HP-UX set SHLIB_PATH instead of LD_LIBRARY_PATH.

    Note that the SGI MIPSpro o32 and Sun WorkShop 5.0 targets are no
    longer supported as of Qt 3.3.

    ================================================== =====

    where is the .profile or .login , what to do with them?

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    > where is the .profile or .login
    On your linux box.
    But you're using windows, so I guess you need something else.
    Like my suggestion of finding another board which is more QT-centric than this one.

  5. #5
    Registered User
    Join Date
    Dec 2004
    Posts
    3
    does anybody knows a board about qt?

  6. #6
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    Qt for Windows is a commercial product (ie. not free). You can either develop for nix, use another toolkit, buy Qt for Windows or develop with this out-of-date version of Qt for Windows.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. VC++6 installation wizard
    By BrownB in forum Windows Programming
    Replies: 2
    Last Post: 07-20-2005, 12:44 AM
  2. QT or others for the beginning linux programmer
    By FillYourBrain in forum Linux Programming
    Replies: 3
    Last Post: 09-12-2003, 01:17 PM
  3. First QT App
    By Troll_King in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 07-26-2002, 09:30 AM
  4. EASY GUI development.. like with Qt?
    By rezonax in forum C++ Programming
    Replies: 2
    Last Post: 09-16-2001, 01:18 PM