Deploying Qt application with Qt dependencies
(Created page with '==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.…') |
hamishwillee
(Talk | contribs) m (Hamishwillee - Bot update - Add ArticleMetadata) |
||
| (2 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
| + | {{ArticleMetaData <!-- v1.2 --> | ||
| + | |sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] --> | ||
| + | |installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) --> | ||
| + | |devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') --> | ||
| + | |sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Qt SDK 1.1.4]) --> | ||
| + | |platform= <!-- Compatible platforms - e.g. Symbian^1 and later, Qt 4.6 and later --> | ||
| + | |devicecompatability= <!-- Compatible devices e.g.: All* (must have internal GPS) --> | ||
| + | |dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 --> | ||
| + | |signing= <!-- Signing requirements - empty or one of: Self-Signed, DevCert, Manufacturer --> | ||
| + | |capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. --> | ||
| + | |keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase --> | ||
| + | |language= <!-- Language category code for non-English topics - e.g. Lang-Chinese --> | ||
| + | |translated-by= <!-- [[User:XXXX]] --> | ||
| + | |translated-from-title= <!-- Title only --> | ||
| + | |translated-from-id= <!-- Id of translated revision --> | ||
| + | |review-by= <!-- After re-review: [[User:username]] --> | ||
| + | |review-timestamp= <!-- After re-review: YYYYMMDD --> | ||
| + | |update-by= <!-- After significant update: [[User:username]]--> | ||
| + | |update-timestamp= <!-- After significant update: YYYYMMDD --> | ||
| + | |creationdate= 20100525 | ||
| + | |author= [[User:Kratsan]] | ||
| + | }} | ||
==Overview== | ==Overview== | ||
| Line 32: | Line 54: | ||
*[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:Qt]][[Category:Deployment/Installation]][[Category:MeeGo Harmattan]] [[Category:Symbian]] |
Latest revision as of 10:13, 20 July 2012
Article Metadata
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

