Results 1 to 2 of 2

Thread: installing and Qt3 and Qt4 in a single machine

  1. #1
    Join Date
    Feb 2006
    Posts
    157
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4

    Default installing and Qt3 and Qt4 in a single machine

    Hi,

    Could you please give me a suggession , for installing and Qt3 and Qt4 in a single machine
    so that i can avoid qmake error or any collision between both versions.

    Please explain( in Linux and windows ) what all are the things i have to do while setting path , environment variables ..etc

    Thank you

  2. #2
    Join Date
    May 2007
    Location
    Netherlands
    Posts
    11
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: installing and Qt3 and Qt4 in a single machine

    Hi,

    For linux install both QT3 / QT4 in separate directories. You need to setup QTDIR, PATH and LD_LIBRARY_PATH. Best is to create a small shell script.
    Assuming that QTDIR is /lib/qt4

    First set the QTDIR
    export QTDIR=/lib/qt4/

    Then set the PATH
    export PATH=$QTDIR/bin:$PATH

    then set the LD_LIBRARY_PATH
    export LD_LIBRARY_PATH=$QTDIR/lib


    if you switch to qt3, do the same but then QTDIR set to the installation directory of qt3

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.