K
K
kristian3072019-11-03 11:06:03
JavaScript
kristian307, 2019-11-03 11:06:03

How to run a Qt application from under Visual Studio 2017?

Hello. I downloaded Qt 5.12.1 via Installer, installed the Qt VS Tools extension (or whatever it's called there) on Visual Studio 2017, set the path D:/lib/Qt/5.12.1/msvc2017_64/ there.
I create an empty Qt graphical application, build errors appear:

1>------ Build started: Project: QtGuiApplication11, Configuration: Debug x64 ------
1>Reading Qt configuration (D:\lib\Qt\5.12.5\msvc2017_64\bin\qmake.exe)
1>QtGuiApplication11.vcxproj : error : Cannot read D:/lib/Qt/5.12.1/msvc2017_64/mkspecs/winrt-x64-msvc2017/qmake.conf: No such file or directory
1>QtGuiApplication11.vcxproj : error : Could not read qmake configuration file D:/lib/Qt/5.12.1/msvc2017_64/mkspecs/winrt-x64-msvc2017/qmake.conf.
1>QtGuiApplication11.vcxproj : error : Error processing project file: C:\Users\Kristian\AppData\Local\Temp\z2j15lim.zau\qtvars.pro
1>Done building project "QtGuiApplication11.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

What am I doing wrong? The file D:/lib/Qt/5.12.1/msvc2017_64/mkspecs/winrt-x64-msvc2017/qmake.conf is present on the system

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question