There are a lot of materials on the Internet, but most of them are old versions. I have not found the installation process of qt4.5.3 and qtQtEmbeded4.5.3 under Ubuntu9.10. I have installed other versions in conjunction with the online predecessors, today, I personally installed QT4.5.3 and QtEmbeded4.5.3. Here I will share with you the installation process and hope to help some people. Prerequisites: download the following installation package: 1. qt-embedded-linux-opensour
There are a lot of materials on the Internet, but most of them are old versions. I have not found any installation materials for qt 4.5.3 and qt QtEmbeded 4.5.3 In Ubuntu 9.10.
I have installed QT 4.5.3 and QtEmbeded 4.5.3 In conjunction with other online versions.
I would like to share with you the installation process to help some people.
I. conditions:
Download the following installation package:
1.qt-embedded-linux-opensource-src-4.5.3.tar.gz
Official Website: http://qt.nokia.com/downloads/embedded-linux-cpp
2 qt-x11-opensource-src-4.5.3.tar.gz
Official Website: http://qt.nokia.com/downloads/linux-x11-cpp
The default directory to be downloaded is/tmp (Note: The files downloaded under the/tmp directory will disappear after restart ).
So
Create a new qt directory under the/usr directory.
Upload the two packages downloaded above
Qt-embedded-linux-opensource-src-4.5.3.tar.gz
Qt-x11-opensource-src-4.5.3.tar.gz
In the/usr/qt directory.
2. Install qt-embedded
1. Set Environment Variables
Terminal input: vi ~ /. Bashrc
Add the following code at the end of the opened configuration file:
Export QTEDIR =/usr/local/Trolltech/QtEmbedded-4.5.3
Export PATH =/usr/local/Trolltech/QtEmbedded-4.5.3/bin: $ PATH
Export LD_LIBRARY_PATH =/usr/local/Trolltech/QtEmbedded-4.5.3/lib: $ LD_LIBRARY_PATH
Save the configuration and restart the system. (If you do not restart these variables, they do not take effect. The variables used here are invalid, for example, $ {QTEDIR })
2. Compile and install qt-embedded
Command entered in the terminal
# Cd/usr/qt
# Tar-zxvf qt-embedded-linux-opensource-src-4.5.3.tar.gz
# Cd qt-embedded-linux-opensource-src-4.5.3
#./Configure-embedded x86-qvfb
# Make
# Make install
Qt-embedded is installed in this directory/usr/local/Trolltech/QtEmbedded-4.5.3
So far, qt-embedded has been installed.
The make (Compilation) process takes about 1-2 hours (stuffy ......).