Hi. I have the following problem.
I started an empty Qt Quick 100.14 Runtime project to test the full cycle deployment in windows. I follow the guide from here.
C:\Qt\5.15.8\msvc2019_64\bin\windeployqt --no-translations --qmldir C:\Proyectos\MiProyectoFinal\qml .
The executable doesn't run. No window, no cursor loading, nothing.
The application ran fine in Release mode when I started from the QtCreatror. The Sample Viewer from ArcGIS runs fine too.
Using:
Qt. 5.15.8
MSVC2019 64Bits
Windows 10
Any ideas about what's happening?
Solved! Go to Solution.
Hello @HomeroOriaAguilera,
Thank you for reaching out to us. Can you please try the command below for the deployment and see if it helps? I am not sure which dependencies you're missing. You can try dependency walker to see that and then add those pieces to pass to windeployqt.
There's another way to figure out the missing modules from qt creator. You can attach the app from qtcreator and then run it. Once it starts up (or doesn't start), pause the debugger and look at the modules to check the modules paths. You should be able to figure out the missing module by looking through each module. I know it's a bit tedious but once you've figured it out, it should be easier from that point on.
windeployqt.exe --dir <the directory for deployent eg c:\temp> <app path>.exe --qmldir <qml path>\qml -multimedia -sensors -positioning
Hello @HomeroOriaAguilera,
Thank you for reaching out to us. Can you please try the command below for the deployment and see if it helps? I am not sure which dependencies you're missing. You can try dependency walker to see that and then add those pieces to pass to windeployqt.
There's another way to figure out the missing modules from qt creator. You can attach the app from qtcreator and then run it. Once it starts up (or doesn't start), pause the debugger and look at the modules to check the modules paths. You should be able to figure out the missing module by looking through each module. I know it's a bit tedious but once you've figured it out, it should be easier from that point on.
windeployqt.exe --dir <the directory for deployent eg c:\temp> <app path>.exe --qmldir <qml path>\qml -multimedia -sensors -positioning
Yes, it works adding the last modules to the command chain:
-multimedia -sensors -positioning