Deploy as portable (one exe file)
-
Hello guys,
after using windeployqt to deploy with qml, there is bunch of dlls and qml files after deploy.
Now I am wondering how to make a portable one exe file deployment version.
So to combine exe and dlls together so I can transfer only one file amoung PC when distributing the application.Thanks for help
-
Hello guys,
after using windeployqt to deploy with qml, there is bunch of dlls and qml files after deploy.
Now I am wondering how to make a portable one exe file deployment version.
So to combine exe and dlls together so I can transfer only one file amoung PC when distributing the application.Thanks for help
Hi @shokarta and welcome to Forum QT.
i suggest you to take a look at QT Installer Framework
-
Hello KillerSmath,
thanks for the quick reply, however, can I kindly ask you to be little more specific regarding my issue?
@shokarta
I think i have missunderstood your issue.Note: in my first post, i mentioned the Qt Installed Framework to create an installer to
implementinstall your Application in other systems.combine exe and dlls together
By default, the program is builded using dynamic linking with Qt Dlls. However, it is possible to build your application with static linking.
-
@KillerSmath
yes, this is exactly what I want :)
Can you be so kind and could you please guide me how? -
@KillerSmath
yes, this is exactly what I want :)
Can you be so kind and could you please guide me how?@shokarta
Unhapply, i'm not the right person to guide you because i have not used static deploy version of qt.However, as far I know, you will need to build the qt sources using static parameter.
-
Alright,
if there is anyone else who can help me with this process, please do so :).
Thank you
@shokarta what about creating a self-extract compressed file?
It will contain your Qt app executable (i.e. EXE) and supporting libraries (i.e. DLLs) and it will be just one file that you will share with the people you want. -
Hello guys,
after using windeployqt to deploy with qml, there is bunch of dlls and qml files after deploy.
Now I am wondering how to make a portable one exe file deployment version.
So to combine exe and dlls together so I can transfer only one file amoung PC when distributing the application.Thanks for help
-
Thank you all guys, basicaly what @raven-worx suggested, I have found visualized here, which was total help!
only one point for future googliers, DON'T FORTGET to fix the sqlite parameter, otherwise 7 hours long process will get stuck in the middle, and you will have to start over again as me :) -
Thank you all guys, basicaly what @raven-worx suggested, I have found visualized here, which was total help!
only one point for future googliers, DON'T FORTGET to fix the sqlite parameter, otherwise 7 hours long process will get stuck in the middle, and you will have to start over again as me :)