Problem deploying a simple qt windows App
-
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. -
@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.