Specifications

SHARP CORPORATION
Sharp SL-series Zaurus “Qtopia” Development Start-up Guide
Ver 1.11, February 28, 2003, 15/63
1.2. Testing the cross compiler
To test the compiler, you will want to build the example application in the/opt/Qtopia/example/ directory. The
following are brief instructions to test the cross compiler.
1.2.1. Check compiler setup for x86
First, run the x86 environment script in your home directory from a shell session to configure the variety of
environment variables:
$ cd /home/[user_home_directory]
$ ./dev-x86-qpe.sh
Next, within the same session and in the /opt/Qtopia/example/ directory, run tmake -o Makefile example.pro. This
creates the Makefile.
$ cd /opt/Qtopia/example
$ tmake –0 Makefile example.pro
To actually build the application, run make within that same directory.
$ make
Start qvfb (Qtopia Virtual Frame Buffer) and then start the example application to see if you have successfully
compiled the example for x86. The command “qvfb &” will launch the simulated SL-series Zaurus display on your
PC. Any Qtopia applications compiled for x86 you launch will now display in this window. If you see the following
screen displayed on your development machine, you have successfully complied the example.
$ qvfb &
$ ./example –qws example
Note that you could alternatively run the qpe application from /opt/Qtopia/bin to simulate an actual Qtopia
environment and then run the example app in non-server mode.