Unsolved How to makes the $$(QTDIR) autochange when I changed the kit?
-
I saw a .Pro file with "message($$(QTDIR)"\lib")" in it. so it have some messages like that:
Running Windows Runtime device detection.
E:/Qt/Qt5.12.0/5.12.0/winrt_armv7_msvc2015/bin/winrtrunner.exe --list-devices
Found 2 Windows Runtime devices.
Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\mingw73_64\lib
Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\mingw73_64\libWhen I changed the kit from mingw to MSVC2017, the message like:
Running Windows Runtime device detection.
E:/Qt/Qt5.12.0/5.12.0/winrt_armv7_msvc2015/bin/winrtrunner.exe --list-devices
Found 2 Windows Runtime devices.
Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\mingw73_64\lib
Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\mingw73_64\lib
Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\msvc2017_64\lib
Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\msvc2017_64\libIt seems the QTDIR changed automaticly.
But in my project QTDIR do not change. so what should I do?
-
@Jerry.Wilson said in How to makes the $(QTDIR) autochange when I changed the kit?:
winrt_armv7
This is the Windows Runtime, not windows. It lets you build apps for the "Universal Windows Platform" not for windows desktop
-
@VRonin Yeap,My project is on WinDesktop and Android and UWP... :P