Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Exporting files into the emulator environment in Qt for Symbian

From Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): Nokia 5800 XpressMusic
Platform(s): S60 3rd Edition FP1, FP2
S60 5th Edition
Keywords: BLD_INF_RULES, pro, project
Created: tepaa (12 May 2009)
Last edited: hamishwillee (11 Oct 2012)


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"


The files are exported into the emulator environment.

This page was last modified on 11 October 2012, at 01:16.
49 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.