The .run file should download a complete installation of Qt and rely on the system for a compiler. You need to make sure that you use the qmake from that installation in preference to the one already on your system. If you build using the Qt Creator from the SDK then this is probably taken care of, as long as you don't use "Qt from PATH" in your project build settings. To use it from the command line put the bin directory in your PATH:
// The system qmake (which is incomplete on your system)
$ which qmake
/usr/bin/qmake
$ qmake -v
QMake version 2.01a
Using Qt version 4.7.4 in /usr/lib64/qt4
// Adjust the path to use the Qt SDK
$ export PATH=/home/chrisw/QtSDK/Desktop/Qt/4.8.0/gcc/bin:$PATH
$ which qmake
/home/chrisw/QtSDK/Desktop/Qt/4.8.0/gcc/bin/qmake
$ qmake -v
QMake version 2.01a
Using Qt version 4.8.0 in /home/chrisw/QtSDK/Desktop/Qt/4.8.0/gcc/lib
// The system qmake (which is incomplete on your system)
$ which qmake
/usr/bin/qmake
$ qmake -v
QMake version 2.01a
Using Qt version 4.7.4 in /usr/lib64/qt4
// Adjust the path to use the Qt SDK
$ export PATH=/home/chrisw/QtSDK/Desktop/Qt/4.8.0/gcc/bin:$PATH
$ which qmake
/home/chrisw/QtSDK/Desktop/Qt/4.8.0/gcc/bin/qmake
$ qmake -v
QMake version 2.01a
Using Qt version 4.8.0 in /home/chrisw/QtSDK/Desktop/Qt/4.8.0/gcc/lib
To copy to clipboard, switch view to plain text mode
Bookmarks