Qt4.3.2 installation in linux

Source: Internet
Author: User
Tags gz file
Qt4.3.2 installation under linux-general Linux technology-Linux programming and kernel information. The following is a detailed description. Since QT4 is completely different from QT3 and earlier versions, check whether your machine has installed QT before installation, if QT has been installed on the machine, create a new user to log on and install QT4. If no, install gcc first. The version is better than gcc.3.2.2. After confirmation, you can perform the following installation steps.

1. Download The qt-x11-opensource-src-4.3.2.tar.gz file package from the main page of trolltech;

2, unzip: gunzip qt-x11-opensource-src-4.3.2.tar.gz;
Tar xvf qt-x11-opensource-src-4.3.2.tar.gz;

3. Run the configure script:
Enter the qt-x11-opensource-src-4.3.2 folder, enter./configure, and run the shell script program;

4. Compile: gmake;

5. install: gmake install;
(Steps 3rd, 4, and 5 run for a long time, depending on the machine configuration .)

6. Set environment variables:
Open the/etc/profile file and add the following statement at the end of the file:
PATH =/usr/local/Trolltech/Qt-4.3.2/bin: $ PATH
QTDIR =/usr/local/Trolltech/Qt-4.3.2
MANPATH = $ QTDIR/man: $ MANPATH
LD_LIBRARY_PATH = $ QTDIR/lib: $ LD_LIBRARY_PATH
Export path qtdir manpath LD_LIBRARY_PATH
Save and restart.

The solution is as follows:
Run:/usr/local/qt4.3.2/bin/qtconfig. Set the Font to Bitstream charter in Font.

Exit and save. Restart the instance.
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.