Moving from 5.6 to 5.10 - qmake yields "Project ERROR: Library 'vulkan' is not defined."
-
I don't use Vulcan for anything. No changes except moving to using the new mkspec since the old names are no longer valid...
C:\build>C:\Qt\5.10.0\msvc2015_64\bin\qmake -r -spec winrt-x64-msvc2015 "CONFIG+=release"
Info: creating stash file C:\build.qmake.stash
Project ERROR: Library 'vulkan' is not defined.This ring a bell with anyone?
-
Hi,
Winrt ?Are you sure ?
-
The mkspec is still there, however you have a 64bit version of Qt so it won't do you any good.
Either use the VS2017 pre-built which is 32bit or build Qt for 32bit with VS2015. Note that VS2017 is backward compatible with VS2015 so you can stay with VS2015 while using the VS2017 pre-built Qt.
-
Weird... Builds most of the projects involved, but one project now breaks during complication with a bizarre error:
"c:\qt\5.10.0\msvc2015_64\include\qtcore\qrandom.h(163): warning C4003: not enough actual parameters for macro 'min'"
I recently updated my Visual Studio 2015 to Update 3 with Cumulative Servicing Release (because you MUST use this version of 2015 when building QtWebEngine.)
I'm not using the build of Qt I made in any case, I'm using the 5.10 commercial download to migrate from 5.6 to 5.10. Later, after all the kinks are ironed out, I'll move to the 5.10 that I built from source.
-
Can you try to add
DEFINES += NOMINMAX
to your .pro file ?