How to run a Qt application which is created in one PC to another PC
-
wrote on 24 Dec 2015, 07:33 last edited by
Hi,
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 -
Hi,
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 Vwrote on 24 Dec 2015, 07:45 last edited by@Ajith_P_V
Hi,
Did you mean Installer /Executable ? if yes you can refer Qt Installer Framework Manual -
Hi,
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 Vwrote on 24 Dec 2015, 08:10 last edited by Lorence@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:
https://wiki.qt.io/Build_Standalone_Qt_Application_for_Windows -
wrote on 24 Dec 2015, 08:59 last edited byThis post is deleted!
-
Hi
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
file.
http://www.tripleboot.org/?p=138Notices, 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. -
wrote on 24 Dec 2015, 10:32 last edited by
@danielmutch307
what help you want? -
@Ratzz spam, it's been removed.
1/7