Linux install QT Creator as C + + Ide__linux

Source: Internet
Author: User

After downloading the Qt-opensource-linux-x64-5.3.0.run, install the steps:

1. Enabling it to have executive authority

sudo chmod +x qt-opensource-linux-x64-5.3.0.run

2. Installation

sudo./qt-opensource-linux-x64-5.3.0.run

Next is the graphical interface installation, all by default. The reference screenshot is as follows:

Installation complete.

3. Configure the system path

Add in/ETC/BASH.BASHRC:

Export qtdir=/opt/qt5.3.0/5.3/gcc_64
Export path= $QTDIR/bin: $PATH
Export ld_library_path= $QTDIR/lib: $LD _library_path


Save, execute:

Source/etc/bash.bashrc

You can see if you added success:

Echo $PATH

The Qmake path after installation is:/opt/qt5.3.0/5.3/gcc_64/bin

Note: Although the QT SDK is installed, QT Creator does not automatically find the location of the QT SDK as it does under Windows. You need to manually configure this path. Method:

Start qt Creator→tools→options→build & Run, right click on the QT Versions tab. Then click on the "Add ..." button in the upper-right corner to add the QT SDK and a "Select a qmake executable" window to browse to the Qmake location (/opt/qt5.3.0/5.3/gcc_64/bin) where the QT SDK was previously installed. Similar to the following:


"Open".

Reference: http://blog.csdn.net/arackethis/article/details/42837675


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.