qt-creator+sdk+ Compiler + Custom configuration

Source: Internet
Author: User
Tags microsoft website

QT4.8 software used to be a huge effort to build, not willing to throw away. Reinstall Qt4.8 Version

1. Install Qt-creator

Install Qt-creator-win-opensource-2.4.0.exe version, not recommended to use the latest version 4.0


2. Install QTSDK

# Install Qt-creator-opensource-windows-x86-4.0.0.exe version to use PCL library

Install Qt-opensource-windows-x86-vs2010-4.8.6.exe version to use PCL library


3. Association-Configuration Building Tools

Creator is not able to build the 4.8 version of the project for the time being, requiring compiler affinity. Find the build and run in the tools-options:

QT Version Select the Qmake under the installation directory, the directory is C:\qt\qt4.8.6x86vs10\bin\qmake.exe, do not select the wrong location

Tool chains can be automatically detected


4. Build QT Project

.../snip ....... ........ ................


Common errors:

For users who do not have VS2010 installed, you may need to install the VC + + 2008 Redistributable-x86 installation package, you need to download the Microsoft website.


Reason:

Unable to open include file: "Qmainwindow" is because QT5 can not compile QT4.8 project at this moment;

Unable to compile QWT6.0, also the second reason.

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.