GITs

From QtMoko

Jump to: navigation, search

Deutsch English Esperanto Français Italiano Nederlands Sardu Español


Here you can find all files you need to compile QtMoko:

Contents

[edit] Where are sources? (using git)

Url Owner
http://github.com/liedekef/qtmoko/tree liekedef (master)
http://github.com/Fale/qtmoko/tree Fale (Italian)
http://github.com/FilipBE/qtextended/tree FilipBE
http://github.com/lpotter/qtmoko/tree Lpotter
http://github.com/radekp/qtmoko/tree Radekp

[edit] How to obtain QtMoko sources with git

Install git-core as follows:

sudo apt-get install git-core

Here commands you need to use to have QtMoko sources on your computer: (example: using radekp git)

user [~] : mkdir ~/mysources
user [~] : cd ~/mysources
user [~/mysources] : git clone git://github.com/radekp/qtmoko.git

You could not only download one thing, you should download everything.

Here commands to get QtMoko submodules :

user [~/mysources] : cd qtmoko
user [~/mysources/qtmoko] : git submodule init 
user [~/mysources/qtmoko] : git submodule update

[edit] How to prepare your build host

[edit] Ubuntu 9.04 (x86 and x86_64)

Install required packages:

sudo apt-get install qt4-qmake libqt4-dev

[edit] Debian 5.0.4 (x86)

Install required packages:

sudo apt-get install qt4-qmake libqt4-dev libxext-dev

"Install" arm toolchain to the expected location:

cd /tmp
wget http://qtextended.org/downloads/toolchains/arm920t-eabi.tgz
tar -xzf arm920t-eabi.tgz
sudo mv ./opt/toolchains /opt
rm -rf ./opt

[edit] How to configure and create QtMoko from sources

This is how to obtain source code. If you wish just use QtMoko on your phone please read Installation page. If you wish to compile these sources you have to execute at least these commands:

Configuring QtMoko is not so difficult. You need to configure your sources and then compile them. Nothing special. If you're not friendly with your shell these are essential commands you need to type:

user [/mysources] : mkdir build
user [/mysources] : cd build
user [/mysources/build] : ../qtmoko/configure -device neo -D _FORTIFY_SOURCE=0 -confirm-license
user [/mysources/build] : make
user [/mysources/build] : make image

It is possible to customize your configuration.

# Configuration settings for Qt:
user [/mysources/build] : ../qtmoko/configure -help

# Configuration settings for Qt-Extended / Qt-Embedded:
user [/mysources/build] : ../qtopiacore/qt/configure -help]]

You can also read online pages of :

../qtmoko/configure -help Pages from Qt Extended Site (Version 4.4)
../qtmoko/qt/configure -help pages Pages from Qt Extended Site (Version 4.4)
../qtmoko/qt/configure -embedded -help pages Pages from Qt Extended Site (Version 4.4)


If you find some troubles compiling or configurating QtMoko sources you can easy connect to #qtmoko chat channel on freenode.

[edit] What now? (Run Qtopia)

Once your make image is ready you can run it. How to?

[edit] Running on your host

The command you did creates a new folder named image. Inside it there are all files needed to run qtopia system. If you choose to build for an x86 cpu you can easy play with Qtopia calling runqtopia script from bin dir:

user [/mysources/build] : ./bin/runqtopia

File:Screenshot0.png File:Screenshot0a.png

Nice job!


[edit] Running on Neo

If you choose to create an image for your Neo device, your image folder does not contain executable files for your host. This folder needs to be put on your Neo device. More informations can be found on Qt Extended Building pages. Keep in mind that the version you create by default runs only on your x86 host. To create an image that can work on your Neo, you must configure your QtMoko sources as described in this page.



[edit] Do not forget..

A bugbuster is always needed. But do not forget to ping us also if everything goes good, not just when things don't go as expected. I mean..

Anyway.. You can meet community and developpers on chat channel.. But also.. (TO BE COMPLETED...)

Retrieved from "http://qtmoko.org/wiki/GITs"
Personal tools
Navigation