Getting Started with Qtopia
So, now that we have a reasonably working program, we need to cross-compile this for the Archos device. We have to change the project settings to find the proper libraries.
We are now ready to cross-compile, so clean the project by selecting Build→Clean Project from the menu.
You need to change the Make Options, using the Project Options→Make Options dialog:
Name: QTDIR Value: /opt/Qtopia/arm Name: QPEDIR Value: /opt/Qtopia/arm Name PATH Value: /usr/local/arm/bin:/opt/Qtopia/tmake/bin:$PATH Name TMAKEPATH Value:/opt/Qtopia/tmake/lib/qws/linux-arm-g++
Delete the Makefile, and run the following command from the command line to create the Makefile for compiling using the arm-linux compiler:
# export TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-arm-g++ # tmake -o Makefile skizzy.pro
Press F8 to build the project. You can now take the resulting binary, transfer it to the Archos device using USB, and run it from there!
If you want to create an installable package, Qtopia uses the Itsy Package Management (ipkg) available from handhelds.org, to install things using the Software Packages application. More information about ipkg and Qtopia development are available from Trolltech's Qtopia.net Web site.
Lorn Potter works for Trolltech as the Qtopia Community Manager. He is an American who lives in sunny Brisbane, Australia, with his Australian wife and son. He is a self-taught open-source programmer who is a core developer for the Opie (Open Palmtop Integrated Environment) Project. He also has worked as a musician, sound engineer and snow ski bum.
- The Ubuntu Conspiracy
- Science on Android
- A First Look at IBM's New Linux Servers
- Vigilante Malware
- Disney's Linux Light Bulbs (Not a "Luxo Jr." Reboot)
- Vagrant Simplified
- Bluetooth Hacks
- System Status as SMS Text Messages
- Libreboot on an X60, Part I: the Setup
- October 2015 Issue of Linux Journal: Raspberry Pi