Namespaces
Variants
Actions
Revision as of 04:16, 11 October 2012 by hamishwillee (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Exporting files into the emulator environment in Qt for Symbian

Jump to: navigation, search
Article Metadata

Tested with
Devices(s): Nokia 5800 XpressMusic

Compatibility
Platform(s): S60 3rd Edition FP1, FP2
S60 5th Edition

Article
Keywords: BLD_INF_RULES, pro, project
Created: tepaa (12 May 2009)
Last edited: hamishwillee (11 Oct 2012)

Overview

This code snippet demonstrates how to use the BLD_INF_RULES keyword in a Qt project (.pro) file to export files into the Symbian Emulator.

Note that with the Qt SDK the Emulator is not usually used for debugging. There is a lot more information on deployment to Symbian in Deploying a Qt Application on Symbian.

In the BLD_INF_RULES.prj_exports section, list any files to be copied from the source directories to the directories of the releasables during the building of a component (for more details, see the topic prj_exports in the Symbian Developer's Library).


Qt app project file (.pro)

Using the keyword BLD_INF_RULES you can export files from your development folder into the Qt emulator environment. The following command copies data from the images folder to the C:\S60\devices\S60_5th_Edition_SDK_v0.9\epoc32\winscw\c\Data\images folder. The images folder is the folder in this project file.

symbian: {
BLD_INF_RULES.prj_exports += \
"images\picture1.jpg ..\winscw\c\Data\images\picture1.jpg" \
"images\picture2.jpg ..\winscw\c\Data\images\picture2.jpg" \
"images\picture3.jpg ..\winscw\c\Data\images\picture3.jpg" \
"images\picture4.jpg ..\winscw\c\Data\images\picture4.jpg" \
"images\picture5.jpg ..\winscw\c\Data\images\picture5.jpg"
}


Postconditions

The files are exported into the emulator environment.

183 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved