How to install QT in ubuntu

Source: Internet
Author: User
Ubuntu QT installation method-general Linux technology-Linux programming and kernel information. The following is a detailed description. Installation Process:

1. First, extract qt-x11-opensource-src-4.3.2.tar.gz to the temporary directory.

2. Because Ubuntu is installed by default and the programming environment is not installed, you must install the compiling environment sudo apt-get install build-essential. After installation, g, g ++, and make will be installed. ---- Otherwise, an error will occur during the next step!

3. After the compiling environment is installed, go to the installation program directory and run "./configure" on the terminal. After "yes" is entered, Qt automatically configure. ------- This stage takes a long time!

4, Qt will be installed to the/usr/local/Trolltech/Qt-4.3.1 directory by default. After configure is complete, run make and wait for Qt to be compiled.

5. After make is complete, run sudo make install.

6, when these steps are complete, put "PATH =/usr/local/Trolltech/Qt-4.3.1/bin: $ PATH

The export PATH is added to. profile, and Qt is successfully installed.
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.