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