Installing QT and creator on Linux and Windows

Source: Internet
Author: User

QT is a cross-platform good thing.

Because of the future needs, the new software needs to be able to cross-platform, because it is done with QT, so the beginning of the environment to consider the cross-platform migration.

One, Windows platform

Qt5.5+mingw+qtcreator 3.5 is used on Windows

Actually, there's nothing to say about Windows.

1. Download the latest QT5.5+MINGW environment from Qt64ng and install the package.

2, download the latest qtcreator, then install

3, open qtcreator, Tools---options, build and run

Add a kit


Then select the QT version



Then select the compiler and debugger


Set the same method as the QT version.

Compiler selection Mingw64\bin\x86_64-w64-mingw32-g++.exe

Debugger Selection Mingw64\bin\gdb.exe


All selected, compile to pass.

Second, the Linux platform

With Ubuntu Kylin 15.04

Linux platform Download the official release of the integration pack, qt5.5+qtcreator3.4.2

Download down is a. Run file

Execute the following command

chmod +x Qt-opensource-linux-x64-5.5.0-2.run

Add executable properties to run

Then execute the. Run file to


Then open the Qtcreator, the settings have been automatically done, no longer set up.

But I found that I couldn't compile

Then you need to run the sudo apt-get install Libqt4-dev

Run out, compile can pass.


Projects built with Qtcreator can be run on both systems, and the initial cross-platform is complete.


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Installing QT and creator on Linux and Windows

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.