![]() |
Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions |
See Qt for S60 Requirements to see what tools are required to use Qt for S60.
Follow the instructions found in Installing Qt on S60 using binary package to learn how to install Qt using binary package and how to build and run Qt demos.
Follow the instructions found in Installing Qt on S60 to learn how to install Qt using using source package and how to build and run the Qt demos.
If you are new to Qt development, have a look at How to Learn Qt. In general, the difference between developing a Qt application on S60 compared to any of the other platforms supported by Qt is not that big.
Once you have crated a .pro file for your project, generate the Carbide specific Bld.inf and .mmp files this way:
qmake
For more information on how to use qmake have a look at the qmake Tutorial.
Now you can build the Qt on S60 application with standard build tools. By default, running make will produce binaries for the emulator. However, S60 comes with several alternative build targets, as shown in the table below:
| debug-winscw | Build debug binaries for the emulator (default). It is currently not possible to build release binaries for the emulator. |
| debug-gcce | Build debug binaries for hardware using GCCE. |
| release-gcce | Build release binaries for hardware using GCCE. |
| debug-armv5 | Build debug binaries for hardware using RVCT. |
| release-armv5 | Build release binaries for hardware using RVCT. |
| run | Run the emulator binaries from the build directory. |
The following lines perform a debug build for the emulator and deploy all the needed files:
make debug-winscw
To work on your project in Carbide, simply import the .pro file by right clicking on the project explorer and executing "Import...".
To install your own applications on hardware, Qt comes with a tool called createpackage. When used on the .pkg files created by qmake, it will produce a signed .sis file that can be installed to the device. For example:
createpackage wiggly_gcce_udeb.pkg
If you want to install the program immediately, make sure that the device is connected to the computer in "PC Suite" mode, and run createpackage with the -i switch, like this:
createpackage -i wiggly_gcce_udeb.pkg
| Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.5.2-tower |