diff -r 044383f39525 -r be27ed110b50 buildframework/helium/doc/src/tutorials/qt_build.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/buildframework/helium/doc/src/tutorials/qt_build.rst Wed Oct 28 14:39:48 2009 +0000 @@ -0,0 +1,64 @@ +.. index:: + module: How to create a ROM Image + +################################ +Configure Helium for Qt building +################################ + +.. contents:: + +This tutorial explains how to update your configuration to enable Qt building. + +Configuring Qt +============== + +Helium has a ready to use target which allows you to configure Qt. You just need to make sure the qt.dir +property is configured with the correct location of your Qt source. +Then you can run the target as follow:: + + > hlm -Dbuild.drive=Q: -Dbuild.number=1 configure-qt + ... + +This target has now been depreciated in Helium 6.0, please consider building Qt using Symbian toolchain (SBS or SBSv2). + +Building Qt components +====================== + +Qt component can be configured using system definition files version 1.5.1, its definition could be +found under HELIUM_HOME/tools/common/dtd/sysdef_1_5_1.dtd. You also need to define this schema as the +main one for the system definition file merging operations, this can be done by adding the following +line to your build configuration:: + + + + +Then qmake building needs to be activated by defining the ``qmake.enabled`` property. + +Then you can configure your Qt components by using the proFile attribute under the system definition files. +The proFile attribute defines the name of the pro file relatively to the path defined by the bldFile attribute. +Default qMake command line parameters can be overridden by using the optional qmakeArgs attribute. +Example:: + + + + + + + + + + + + + + + +The system definition files can now be merged and filtered(similarly to Raptor). Helium will use the filtered information +during the build to run qMake and generate the bld.inf required to make Symbian builds. +This will follow this algorithm:: + + foreach unit from the filtered system definition file: + cd + qmake + +The file qmake.generated.txt is created with the list of files generated.