Upgrading your QT Environment

Qt4It is possible, you already have Qt3 installed in your system and you have recently upgraded to Qt4. In order to be able to compile your applications for Qt4, you will have to upgrade your system enviroment so it recognises the new paths. To do this execute the following commands:

export QTDIR=/usr/lib/qt4export PATH=$QTDIR/bin:$PATHexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib
To test the environment variables you can execute:
echo $QTDIRThis should output:

/usr/lib/qt4

Now you are ready to build your applications for the newer Qt version.

This entry was posted in Linux, Mandriva. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">