Exporting files into the emulator environment in Qt for Symbian
S60 5th Edition
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.
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.
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" \
The files are exported into the emulator environment.