The libraries and tools for Qt Extended are in a separate package, available as a compressed tar file from http://developer.sdgsystems.com/sdk . The file will be named sdk-addon-qtex<version>-<release>.tgz. The <version> should match the version of Qt Extended you are compiling for. Extract the tar file as root after extracting the main SDK package:
# cd /
# tar xzvf /path/to/sdk-addon-qtex<version>-<release>.tgz
You may set up an environment for Qt Extended by sourcing /opt/sdg/angstrom2007.12/sdk/settings_qtex4.sh or/opt/sdg/angstrom2007.12/sdk/settings_qtex4.csh, as appropriate for your shell.
See http://doc.qtsoftware.com/qtextended4.4/application.html for information on creating Qt Extended applications. You can write a project file (qbuild.pro) by hand or run qbuild -project to create a project file based on the contents of the current directory. Once you have a project file, you can run qbuild with no arguments to build your application.
Testing Qt Extended applications
You can transfer your application to the Nomad or Recon using scp if you have USB or wireless networking set up, or on a removable storage device (CF, SD, USB drive). If you are using a serial console or SSH, you will need to source /opt/Qtopia/qpe.env to set up the environment before running a QtEx application from the command line. If you are running your program from the QtEx Terminal application, the environment is already set up.
Installing Qt Extended applications
Task switching works best if you install your application in /opt/Qtopia/bin. Install a .desktop file for your application to the appropriate category:
/opt/Qtopia/apps/Applications/
/opt/Qtopia/apps/Games/
/opt/Qtopia/apps/Settings/
You may need to create one or more of these directories. See http://doc.qtsoftware.com/qtextended4.4/desktopfiles.html for details of the .desktop format as used in Qt Extended. Once the .desktop file is installed, source /opt/Qtopia/qpe.env if necessary and run/opt/Qtopia/bin/qcontent install <new .desktop file>.




