Next Previous Contents

8. Use of Qtopia contest SDK

Since "QTopia" is used as the new QPE-name, trolltech started an application contest together with Sharp, which promotes it new LinuxOnly base PDA Zaurus. Check http://www.trolltech.org for more information.

You can easily extend your kdevelop now to use the Qtopia development kit, that is downloaded from trolltech for the contest.

Extract the Qtopia download. The result is the directory /opt/Qtopia. There the include-dir contains also the qpe-inlcudes (else in qpe/library) as a subdir include/qpe. Above that, that sharp dir contains the libaries and binaries for the Sharp Zaurus (arm).

8.1 Create a X-embedded version

To create a Qtopia embedded version of your program, follow the steps below.

  1. Enter the menu project->options and choose compiler setup.
  2. Overwrite the Text (Standard) in the "Configuration" combo box and e.g. write qtopiaemb instead. Press the Add button right of that. This will enable the build-dir field. You can chage it or let as it is. Kdevelop chooses the dir ../qtopiaemb to store the result.
  3. Choose the tab page Flags and Warnings. Choose Wall as compiler warnings and enter -I/opt/Qtopia/include/qpe into the CPPFLAGS field.
  4. Choose the tab page Configure. Enter /opt/Qtopia into the --with-qt-dir field, --enable-embedded --enable-qtopia into the Additional Options field.
  5. Pressing the OK-button will start the configure script. If you go there from emb or arm, everthing should be OK, if not, you may have to distclean with standard settings.
  6. Change to qtopiaemb configuration and do a make autoconf;./configure.
  7. Compile your test program now for qtopia use.

8.2 Create a Sharp-arm version

To create a Qtopia sharp arm version of your program, follow the steps below.

  1. Enter the menu project->options and choose compiler setup.
  2. Overwrite the Text (Standard) in the "Configuration" combo box and e.g. write qtopiasharp instead. Press the Add button right of that. This will enable the build-dir field. You can chage it or let as it is. Kdevelop chooses the dir ../qtopiasharp to store the result.
  3. Choose arm as the architecture to work for by selecting from the CompilerSettings tab page.
  4. Choose the tab page Flags and Warnings. Choose Wall as compiler warnings and enter -I/opt/Qtopia/sharp/include/qpe into the CPPFLAGS field.
  5. Choose the tab page Configure. Enter /opt/Qtopia/sharp into the --with-qt-dir field, --enable-embedded --enable-qtopia into the Additional Options field.
  6. Pressing the OK-button will start the configure script. If you go there from emb or arm, everthing should be OK, if not, you may have to distclean with standard settings.
  7. Change to qtopiasharp configuration and do a make autoconf;./configure.
  8. Compile your test program now for sharp use.
  9. Transfer it to your sharp, if you are lucky to have one. It should run out of the box.


Next Previous Contents