qmake set correct windows sdk version
Unsolved
General and Desktop
-
I am trying to generate visual studio solution with qmake
That is my qt_button.pro fileTEMPLATE = 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
I am invoking qmake in this way:
qmake -tp vc qt_button.pro
It generates vc project well but when I try to build it I have compile time error:
As far as I understood I need to set correct windows sdk version here:
Is there a way to do it programmatically via cmake or specify some variable in *.pro file?
Thanks.