How to use [windeployqt.exe] ?
-
Hi.
I want to Deployment for Windows.
I use windeployqt.exe, but I get error.Error String is:
[the procedure entry point ?cacheKey@QPixmap@@QEBA_JXZ could not be located in the dynamic link library C:\Qt\5.14.2\msvc2017_64\bin\Qt5WinExtras.dll ]I use MinGW and Qt 5.15.2.
Why I get this error? -
Then maybe you have path to MSVC Qt in your
$PATH
? -
HOW do you use
windeployqt
? Please post full command line.It's quite clear from the output that it is trying to deploy MSVC but you say you are using MinGW - these two are not compatible. Make sure you use
windeployqt
from correct Qt installation. -
@Knj-Tkm said in How to use [windeployqt.exe] ?:
windeployqt.exe
Then make sure you take
windeployqt.exe
from your MinGW Qt installation, and not from MSVC. -
Also, make sure to clean the directory before attempting it anew, IIRC the tool will not overwrite existing files
-
Then maybe you have path to MSVC Qt in your
$PATH
?