Unsolved qmake set correct windows sdk version
-
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.
-
@OlegK The content of your pro file is not visible
-
@jsulm I fixed post issue.
-
Hi,
I know this has been a while but did you ever figure out the solution. I'm running into the same problem.
Thank you!