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?
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
ie
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"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.