qmake to generate visual studio solution
Solved
General and Desktop
-
wrote on 16 Apr 2018, 11:40 last edited by
Hi all,
I am going to generate visual studio solution for simple project, this is qt_button.pro file:TEMPLATE = vcapp TARGET = qt_button LANGUAGE = C++ QT += widgets CONFIG += stl warn_on c++11 precompile_header PRECOMPILED_HEADER = src/pch.h RESOURCES += img.qrc SOURCES += src/main.cpp
That is how I do it from command line:
qmake -tp vc qt_button.pro
It works without errors.
But When I open qt_button.vcxproj file visual studio gives me error:
Could you tell me please what am I doing wrong and where is my mistake. Thanks a lot.
My environment:
Visual Studio 2017
Qt 5.10.1
QMake version 3.1 -
wrote on 16 Apr 2018, 12:08 last edited by
Path to qmake.exe was set incorrectly.
-
@OlegK Then please mark this topic as SOLVED (button Topic Tools). Thanks.
1/3