When you first install QT, the "No valid kits found" solution is created when you create the project __ software compile installation record

Source: Internet
Author: User

Use the Qt 5.8 online installer after installation on Ubantu Kylin.

Use QT Creator to create a default QT Widgets application.

Project Wizard run to Kit Selection can't go on. Error prompts the following figure:

No valid kits found.


Follow the prompts to click "Options" and see the Manual Settings/desktop (default) preceded by an exclamation mark. It means there's something wrong with this kit.

Look at its contents, the QT version parameter value is: QT 5.6.1 in PATH (QT5) (invalid)

The QT Creator is visible by default to find Qt 5.6.1, but cannot be found.




Click on the right side of the "Manage ...", to the following figure,

A line of Qt 5.6.1 in PATH (QT5) with an exclamation mark is automatically detected/usr/lib/x86_64-linux-gun/qt5/bin/qmak

It is further explained that no suitable qmake can be found.

Considering that when installing QT, the installation path is OPT/QT, only QT 5.8 is installed by default, so click "Add"




Add "/opt/qt/5.8/gcc_64/bin/qmake" to the Qt versions.




In this way, there is one more of the manual settings for Qt versions,

Qt 5.8.0 (gcc_64)/opt/qt/5.8/gcc_64/bin/qmake




Then go back to the Build Suite (Kit) page and set the qt Version parameter to QT 5.8.0 (gcc_64).

In this way, the exclamation mark in front of the manual setup/desktop (default) disappears.





Click "OK" to save, back to the Kit Selection interface, click on "Previous" and "Next", the kit Selection interface appears "desktop" this kits option. Select it,

can go on.




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.