Can't seem to use qmake, stops at .qmake.stash.
-
I am trying to get a project over to Visual Studio as this is a Windows 10 UWP app anyhow and I am a master at VS.
When I run qmake -tp vc it just stops at the .qmake.stash. Say something about a license possibly not sure.
How can I get this working? Thanks. -
Hi,
You should post the exact error you get otherwise it's going pretty hard help you.
-
Hmmm it doesn't give one.
Maybe I should ask a different question. How can I get QT, VTK, ITK into a Windows 10 app in visual studio?
I have a QT project and the proper cmake commands to get it all into a regular Windows Desktop app properly. Is there something I can add to the cmake command line to tell qmake to make a winrt project instead of a desktop app?I tried using DCMAKE_SYSTEM_NAME & DCMAKE_SYSTEM_VERSION but they did not work.
Thanks
-
Do you have the WinRT Qt package installed ?
-
Did you also build VTK and ITK with that version of Qt ?
Are you telling cmake to use that one when configuring your project ?
-
@SGaist Basically I need to just turn this desktop QT app into winrt. Not sure if I have to create a new one or just modify the CMakeLists.txt or add/change some params for the cmake of the desktop QT app source to get qmake to use winrt. I have tried many methods.
-
AFAIK, pointing cmake to use the WinRT build of Qt should be enough provided that all dependencies using Qt are also built with it.
-
@SGaist So if I cmake VTK & ITK with VS_WINRT_COMPONENT set to true and then cmake my QT project using those & the WINRT version of QT, would it all work together possibly?
Thinking I might not need VS_WINRT_COMPONENT unless the final project is a UWP/WINRT Component.
Thanks so much ahead of time!!!
-
Sounds like a working setup.