Go to http://qt.nokia.com/downloads/downloadsdownload qtsdkforlinux/x1132-bit** (422 MB) download file for qt-sdk-linux-x86-opensource-2010.05.1.bin download complete then execute chmodu + xqt-sdk-linux-x86-opensource-2010.05.1. B In the download directory
Go to http://qt.nokia.com/downloads/downloads download
Qt SDK for Linux/X11 32-bit ** (422 MB)
Download file as qt-sdk-linux-x86-opensource-2010.05.1.bin
After the download is complete, execute
Chmod u + x qt-sdk-linux-x86-opensource-2010.05.1.bin
Then execute the installation./qt-sdk-linux-x86-opensource-2010.05.1.bin
Fill in lines at the end of the file in vi. bashrc under/root.
Export QTDIR =/home/tm/qt
Export PATH = $ QTDIR/bin: $ PATH
Export MANPATH = $ QTDIR/doc/man: $ MANPATH
Export LD_LIBRARY_PATH = $ QTDIR/lib: $ LD_LIBRARY_PATH
Export QMAKESPEC =/home/tm/qt/mkspecs/linux-g ++ (if an error occurs during qmake Compilation: QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: XXXXX. pro add this line)
Where the value of QTDIR is the directory where the qt-sdk-linux-x86-opensource-2010.05.1.bin is installed
You can write hello world! Test.