Deploying Qt application with Qt dependencies
hamishwillee
(Talk | contribs) m (Hamishwillee - Addition to article of: Category:MeeGo Category:Symbian. (Add platform categories)) |
hamishwillee
(Talk | contribs) m (Text replace - "Category:MeeGo" to "Category:MeeGo Harmattan") |
||
| Line 32: | Line 32: | ||
*[http://doc.qt.nokia.com/4.6/qt-conf.html Using qt.conf] | *[http://doc.qt.nokia.com/4.6/qt-conf.html Using qt.conf] | ||
| − | [[Category:Qt]][[Category:Deployment/Installation]][[Category:MeeGo]] [[Category:Symbian]] | + | [[Category:Qt]][[Category:Deployment/Installation]][[Category:MeeGo Harmattan]] [[Category:Symbian]] |
Revision as of 13:52, 13 June 2012
Contents |
Overview
This article shows a way to deploy Qt application to target platform with needed Qt library dependencies. The installation machine does not need Qt to be installed.
Qt application folder hierarchy
Place all required Qt run-time libraries and plugins to a directory hierarchy in a deployment machine. Say we have basic Qt application with simple GUI to show JPEG image, we might want to use this kind of hierarchy:
qt.conf
QtApp.exe
QtCore4.dll
QtGui4.dll
plugins/imageformats/qjpeg4.dll
Note that the Qt run-time libraries must be at the same folder with Qt application.
Defining Qt plugins locations with qt.conf
The Qt plugins location can be defined into qt.conf file so that the Qt application will find them:
[Paths]
Plugins = plugins
External links
See more information on Qt's help pages

