Configuration installation under QT Linux

Source: Internet
Author: User

Linux version:

QT Uninstall:

1. Locate the installation location of QT First:

2. Then execute its following file Maintenancetool:

3. The graphical interface will then appear:

Uninstall complete.

Installing QT

: https://www.qt.io/download-open-source/

Download file: Qt-unified-linux-x64-2.0.3-1-online.run

Modify permissions and then execute

Graphical Interface boot installation appears

Installation Complete

If you have already installed the OpenGL library, you do not need the following command, otherwise run the following command to install the OpenGL library: sudo apt-get install freeglut3-dev;

But to run Qt, you only have to go to the installation directory:/media/hao/3b6b3418-c087-4836-a75d-6d7a6023e495/software/qt/tools/qtcreator/bin

And then./qtcreator. Very troublesome

So add qtcreator to the system environment variable

Vim/etc/profile

Add code

 qtdir=/media/hao/3b6b3418-c087-4836-a75d-6d7a6023e495/software/qt/tools/48 path= $QTDIR/ manpath= $QTDIR/ ld_library_path= $QTDIR/51 export Qtdir MANPATH PATH Ld_library_path

Update environment variables

Source/etc/profile

This allows you to run QT directly from the command line:

[Email protected]:~$ qtcreator

Reference documentation: Linux under Install QT5.4.0 UBuntu14.04 Install and uninstall Qt5.3.1

Configuration installation under QT Linux

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.