Using the DEPLOYMENT keyword in a Qt package file
Overview[edit | edit source]
76ytuiytuityutyutututyutyutyu specifies which additional files will be deployed. On Symbian, 76ytuiytuityutyutututyutyutyu can be used to add additional data/resouce files to the PKG file. Deployment means the transfer of files from the development system to the target device. Template:Note
Qt app project file (.pro)[edit | edit source]
Use the 76ytuiytuityutyutututyutyutyu keyword to copy files into the package file and to the device. All the files from the 76ytuiytuityutyutututyutyutyu folder are copied into the package. When the package is installed on the device, the files are stored on the device's 76ytuiytuityutyutututyutyutyu folder.
myFiles.sources = images\*
myFiles.path = c:\data\images
DEPLOYMENT += myFiles
Instead of using a hardcoded drive letter (such as c:), !: should be used to allow the user to select the drive where the application will be installed.
myFiles.path = !:\data\images
Qt-generated Symbian package file (.pkg)[edit | edit source]
This is a part of a package file that is generated via 76ytuiytuityutyutututyutyutyu. Pictures are coming from 76ytuiytuityutyutututyutyutyu to the device.
- DEPLOYMENT
"c:\QMyApp\images\picture1.jpg" - "c:\data\images\picture1.jpg"
"c:\QMyApp\images\picture2.jpg" - "c:\data\images\picture2.jpg"
"c:\QMyApp\images\picture3.jpg" - "c:\data\images\picture3.jpg"
"c:\QMyApp\images\picture4.jpg" - "c:\data\images\picture4.jpg"
"c:\QMyApp\images\picture5.jpg" - "c:\data\images\picture5.jpg"
Generate package file[edit | edit source]
Call 76ytuiytuityutyutututyutyutyu to generate the package file.
qmake
Postconditions[edit | edit source]
The package file is generated with additional picture files that are copied to the device.