Difference between revisions of "Qt4 Maemo Binding"
From Free Pascal wiki
Jump to navigationJump to search (New page: = Qt4 Maemo Binding = This page describes the Free Pascal Qt4 Binding for Maemo. Currently Maemo5 on N900 PR1.2 is supported. == Introduction == To develop with Qt for the N900, the scra...) |
|||
Line 8: | Line 8: | ||
The Free Pascal binding is technically a Qt C++ library, so to compile this binding library, the Qt Maemo Scratchbox instructions by Nokia should suffice. | The Free Pascal binding is technically a Qt C++ library, so to compile this binding library, the Qt Maemo Scratchbox instructions by Nokia should suffice. | ||
However if you use the provided binary of the FreePascal Binding for Maemo, you do not need to install the scratchbox environment. | However if you use the provided binary of the FreePascal Binding for Maemo, you do not need to install the scratchbox environment. | ||
+ | |||
== Compilation of the binding == | == Compilation of the binding == | ||
− | + | These instructions explain how to compile the Free Pascal Qt4 Binding for Maemo sources. | |
− | + | ||
− | + | ||
− | + | * Install the scratchbox based Maemo5 SDK: [http://wiki.maemo.org/Documentation/Maemo_5_Final_SDK_Installation Maemo5 SDK Installation] | |
− | + | * After installation, start as root scratchbox: /scratchbox/sbin/sbox_ctl start | |
− | + | * As normal user login: /scratchbox/login | |
− | + | * select using sb-menu the arm environment | |
− | + | * install the Qt4 devel package | |
− | + | ** fakeroot apt-get update | |
− | + | ** fakeroot apt-get install libqt4-dev | |
− | + | * download (e.g. using wget) and unpack the sources | |
− | + | * cd into the sources directory | |
− | + | * qmake (creates Makefile) | |
+ | * make (compiles) | ||
+ | * strip LibraryFileName (reduce filesize) | ||
+ | * fakeroot make install (installs in scratchbox) | ||
+ | |||
+ | == Installation on the N900 device == |
Revision as of 11:05, 28 July 2010
Qt4 Maemo Binding
This page describes the Free Pascal Qt4 Binding for Maemo. Currently Maemo5 on N900 PR1.2 is supported.
Introduction
To develop with Qt for the N900, the scratchbox based Maemo SDK is used. The Free Pascal binding is technically a Qt C++ library, so to compile this binding library, the Qt Maemo Scratchbox instructions by Nokia should suffice. However if you use the provided binary of the FreePascal Binding for Maemo, you do not need to install the scratchbox environment.
Compilation of the binding
These instructions explain how to compile the Free Pascal Qt4 Binding for Maemo sources.
- Install the scratchbox based Maemo5 SDK: Maemo5 SDK Installation
- After installation, start as root scratchbox: /scratchbox/sbin/sbox_ctl start
- As normal user login: /scratchbox/login
- select using sb-menu the arm environment
- install the Qt4 devel package
- fakeroot apt-get update
- fakeroot apt-get install libqt4-dev
- download (e.g. using wget) and unpack the sources
- cd into the sources directory
- qmake (creates Makefile)
- make (compiles)
- strip LibraryFileName (reduce filesize)
- fakeroot make install (installs in scratchbox)