Visual Studio 2017 QT: No default QT version found

4.6k views Asked by At

Working with Windows 7, installed VS 2017 community, Installed QT Visual Studio Tools, Downloaded QT: "qt-opensource-windows-x86-winrt-msvc2015-5.8.0" and added the path of winrt_x86_msvc2015 and winrt_x64_msvc2015.

When i start a new project "QT GUI Application" and click on the *.ui file, then the error message "No default QT version found. Check your Qt VS Tools settings." appears.

What did i do wrong? Is the QT Download the right one? If not can you link the right? which version is actually the right? x86 or x64? Do i have to change something in Qt default settings?

1

There are 1 answers

0
Jordan Stefanelli On

In VS2017, at the top menu I had to choose:

Qt VS Tools > Qt Options

The entry list may be empty.

Click "Add"
Give it a name
Give it a path

i.e.

 Name:  Qt5.8
 Path:  C:\Qt\5.8\msvc2015_64

Now, you can right-click the Solution

    Choose > "Change Qt Version" at the bottom of the right-click dialogue
    Select your new entry "Qt5.8"