Compiling QT Engineering with Visual Studio 2015

Source: Internet
Author: User

Just a few simple steps.

1, download the source code qt-everywhere-opensource-src-5.6.0-alpha.7z, extract to the D:\TOOLKITS\5.6.0\SRC directory
2, website https://www.python.org/download Python-3.5.0-embed-amd64.zip, and unzip D:\Utility\Python directory
3. Start "VS2015 x64 Native tool command Prompt" and SET path=d:\utility\python;%path%; To ensure access to Python programs
4. Enter D:\ToolKits\5.6.0\src\qtbase directory to execute Configure-prefix D:\ToolKits\5.6.0\msvc2015-opensource-debug-and-release
5. Start NMAKE to compile and install with NMAKE installation after compilation is complete

Attention:

1, source code directory, installation directory, Python directory can be adjusted according to the actual situation

2, in the fourth step, multi-core CPU can try the parameter-MP using multi-processor to compile, I began to pay no attention to this parameter, the result uses a core compilation, the CPU has been under 25%, compiled for 50 minutes, using CTRL + C to stop compiling, using Configure-prefix D : \TOOLKITS\5.6.0\MSVC2015-OPENSOURCE-DEBUG-AND-RELEASE-MP after the configuration to start compiling, see a project has 4 CPP, while there are 4 CL processes in the compilation;

Compiling QT Engineering with Visual Studio 2015

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.