Install QT4.4.1 in Ubuntu8.04

Source: Internet
Author: User
1. download version 4.4.1 from the official QT website. Official website address: Release. 2: Find a directory with enough space, which requires about 2 GB of free space. Extract tar-xvfqt-x11-o

1: download version 4.4.1 from the official QT website.

Http://trolltech.com/,Qt Open Source Edition for C ++ Developers: X11 Download

The file is qt-x11-opensource-src-4.4.1.tar.gz.

Find an image and download it.

2: Find a directory with enough space, which requires about 2 GB of free space. Extract tar-xvf qt-x11-opensource-src-4.4.1.tar.gz;

3: If it is a newly installed Ubuntu8.0.4, You have to install gcc. Run sudo apt-get install build-essential, OK,

After installation, because this version is based on x11, You have to install the x11 library and continue to sudo apt-get install build-essential, OK

4: Enter the decompressed folder and run./configure,

5: make

6: First sudo su, switch to root, and then run make install

7: After installation, you also need to add the binfile of QT to the environment variable, my directory in/usr/local/Trolltech/Qt-4.4.1/bin,

# Sudo gedit. profile

PATH:/usr/local/Trolltech/Qt-4.4.1/bin: $ PATH
Export PATH

Add it to the end of the profile file, save it, and restart the machine;

8: After restarting, open the terminal and test the designer and assistant. For convenience, you can add these to the main menu. Choose system> preference> main menu to create the menu QT, add assistant to the project,

OK, enjoying it

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.