WinDeployQt and VCINSTALLDIR PROBLEM
-
Hi everyone,
I have some problem about deploing by applications.
I am using Qt 5.9.7 and Qt5.12.2. And as a compiler I have msvc15_64bit, msvc17_32bit, msvc17_64bit.
When I try to deploy my application in command prompt via windeployqt.exe, It cannot find the Visual Studio Installation Library VCINSTALLDIR. How can I set it or solve this?
-
@DzCode said in WinDeployQt and VCINSTALLDIR PROBLEM:
Which command should I write to set?
To set what?
-
@DzCode said in WinDeployQt and VCINSTALLDIR PROBLEM:
Which command should I write to set?
To set what?
For windeployqt I am going to the path of the program I want to deploy and in command prompt I am writing windeployqt.exe myApp.exe.
Then it gives some warnings like below.
Direct dependencies: Qt5Core Qt5Gui Qt5Widgets
All dependencies : Qt5Core Qt5Gui Qt5Widgets
To be deployed : Qt5Core Qt5Gui Qt5Svg Qt5Widgets
Warning: Cannot find Visual Studio installation directory, VCINSTALLDIR is not set.I puts basic Qt5 dlls, but it does not put any other like Network dll and OpenGl
-
@DzCode
I'm not sure with the exact name since mine are not all in English.
Just something like, "x86 Native Tools Command Prompt for VS 2017" for msvc17_32bit. -
@DzCode
I'm not sure with the exact name since mine are not all in English.
Just something like, "x86 Native Tools Command Prompt for VS 2017" for msvc17_32bit.