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
In home/username VI. bashrc, enter a few lines at the end of the file.
Export qtdir =/home/xinghao/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
/Home/username is the user folder
Compared with SQLite, it is relatively simple to directly decompress the compressed package file and compile make. Because it is a memory-type database, SQLite does not need a database driver and is very convenient to use.