Install QT4.5.3 and QtEmbeded4.5.3 in Ubuntu9.10

Source: Internet
Author: User
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 ......).

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.