Problem deploying a simple qt windows App
-
wrote on 7 Dec 2022, 21:55 last edited by abhib 12 Aug 2022, 17:37
Hi,
I have a simple windows app compiled using the mingw730_64 provided with the Qt 5.14.1.
I can run the application from the creator but when trying to launch the application from the command line or double clicking does noting. I initially had errors that I fixed running windeployqt.exe. The target is to share the folder with executable to friends to run the application on their computer without Qt on them.
Any idea how I can address the issue?
Thanks
-
Hi,
I have a simple windows app compiled using the mingw730_64 provided with the Qt 5.14.1.
I can run the application from the creator but when trying to launch the application from the command line or double clicking does noting. I initially had errors that I fixed running windeployqt.exe. The target is to share the folder with executable to friends to run the application on their computer without Qt on them.
Any idea how I can address the issue?
Thanks
@abhib said in Problem deploying a simple qt windows App:
Qt Creator 5.14.1
This is Qt version, not QtCreator.
How exactly did you call windeployqt.exe?
You can use https://www.dependencywalker.com to check whether some libraries are missing. -
wrote on 8 Dec 2022, 17:42 last edited by
@jsulm Thanks for pointing to the application version error. I corrected it to reflect it correctly.
I called windeployqt.exe in two ways.
-
Launch command prompt as admin and changed directory to the folder containing windeployqt and ran windeployqt with the location of my qt apps exe.
-
Launch the qt's command prompt in the folder of the qt apps exe and ran windeployqt with the app exe as input.
I will try the dependencywalker.com. Thanks!
-
-
@jsulm Thanks for pointing to the application version error. I corrected it to reflect it correctly.
I called windeployqt.exe in two ways.
-
Launch command prompt as admin and changed directory to the folder containing windeployqt and ran windeployqt with the location of my qt apps exe.
-
Launch the qt's command prompt in the folder of the qt apps exe and ran windeployqt with the app exe as input.
I will try the dependencywalker.com. Thanks!
@abhib said in Problem deploying a simple qt windows App:
Launch command prompt as admin
There is no need to run it as admin.
-
-
@abhib said in Problem deploying a simple qt windows App:
Launch command prompt as admin
There is no need to run it as admin.
wrote on 13 Dec 2022, 23:30 last edited byThere is no need to run it as admin.
Thanks for the help. You were right, no need to run as admin. And your suggestion to use the dependdencywalker helped too.
1/5