PDA

View Full Version : How to run qt application without installing qt



praveen_g
26th November 2009, 11:28
Hi,

Is there any way, where I could run the Qt application (which is build in Linux X11) in the embedded device without installing QT in it.

thanks

nish
26th November 2009, 12:30
no. you have to install the qt libraries provided that the device also runs X11. You have to cross-compile qt and your application for the embedded processor as well

rainspider
26th November 2009, 15:15
you must have dll fies which your application used.
You can try to launch your application in PC which not installing the qt ,it will post some errors.
the errors eg:
can't find *.dll.
so,copy this dll files and package it with your application.
this way can copy Least dll files for your application.:D

praveen_g
27th November 2009, 06:32
Thanks a lot, it worked.

axeljaeger
27th November 2009, 07:03
You can do static linking if you...

Only use one application that uses Qt on your device
Do not use plugins


Otherwise static linking works as well but you do not get the size benefit of static linking.

Gokulnathvc
25th April 2011, 06:40
How to perform the static linking of the dll's?

ChrisW67
25th April 2011, 07:25
How to perform the static linking of the dll's?


Open your copy of Qt Assistant.
Search for "Deploying".
Select the page relevant to your operating system
Read it

Also, if you are not using Qt under a commercial (paid) licence then:

Search for "License"
Open the page for the GPL or LGPL depending on which you have chosen to use Qt under.
Read it: because they impose obligations on you relevant to static linking.

Also re-read the other places you have asked the same question, e.g. http://www.qtcentre.org/threads/40030-How-to-add-the-Dll-to-the-application?highlight=static