How to run a Qt application which is created in one PC to another PC
I have created a small Qt5 application in a Linux (Ubuntu 14.04) 64 bit PC using Qt Creator. The application is working fine and I can able to see the output.
Now, I want to distribute the same application executable to my friends. I would like to know how I can achieve this without installing the Qt creator and full source in their PC.
PS: I have googled and found that, static compiling of Qt application will bind all required library to the application so that, I can use the same in another PCs. But I have no idea how to do it.
Any help would be appreciated!
Thank you in advance,
Ajith P V
it says that you need to link the Qt library statically so that when you run it, the dlls for your app will be embedded to the .exe file
follow this instruction:
This post is deleted!
If you use static linking, you must buy licence or open source you project.
Alternatively (as most use) is to put some DLLS in same folder as the .exe
Notices, that there are 2 DLLS with almost same name. one has D in it and is for debug release.
the non D version is for release builds. You should use release builds, and don't mix the dlls.
Then u just zip whole folder and give to friends.
what help you want?
@Ratzz spam, it's been removed.