2010-07-09

Slitaz -- Qtopia-2.2.0

240x320

apps

480x640

Env: slitaz-3.0
root@slitaz-3:~# gcc -v
Using built-in specs.
Target: i486-pc-linux-gnu
Configured with: ../gcc-4.4.1/configure --prefix=/usr --libexecdir=/usr/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls --enable-languages=c,c++,java --enable-shared --with-system-zlib --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit --enable-threads=posix --with-tune=i486 --enable-java-home --with-arch-directory=i386 --with-jvm-root-dir=/usr/lib/jvm/java-gcj --with-jvm-jar-dir=/usr/lib/jvm-exports/java-gcj --with-python-dir=/lib/python2.5/site-packages --with-x --enable-java-awt=gtk --enable-gtk-cairo --build=i486-pc-linux-gnu --host=i486-pc-linux-gnu i486-pc-linux-gnu
Thread model: posix
gcc version 4.4.1 (GCC)
root@slitaz-3:~#

1. x86-qtopia-2.2.0_20100108.tgz
[http://www.friendlyarm.net/dl.php?file=x86-qtopia-2.2.0_20100108.tgz]

2. # tazpkg get-install jpeg-dev
# tazpkg get-install zlib-dev
# tazpkg get-install xorg-libX11-dev
# tazpkg get-install xorg-xextproto

3. edit x86-qtopia-2.2.0/qtopia/src/libraries/qtopia/backend/vobject.cpp
line #419

change
char *dot = strrchr(g,'.');
TO
char *dot = (char*)strrchr(g,'.');

4. edit x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/plugins/codecs/wavplugin/wavplugin.cpp
line #435

change
char *ext = strrchr( path.latin1(), '.' );
TO
char *ext = (char*)strrchr( path.latin1(), '.' );

5. REF x86-qtopia/build

6. Doc

file:///home/slitaz/wok/qtopia/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/doc/html/index.html

http://doc.qt.nokia.com/qtopia2.2/html/index.html


root@slitaz-3:/home/slitaz/wok/qtopia/x86-qtopia# ./run &
[1] 1404
root@slitaz-3:/home/slitaz/wok/qtopia/x86-qtopia# Using display 0
Warning: QSocket::writeBlock: Socket is not open
Warning: Unable to open /usr/share/zoneinfo/zone.tab
Warning: Timezone data must be installed at /usr/share/zoneinfo/
Warning: could not register server
Warning: Unable to open /usr/share/zoneinfo/zone.tab
Warning: Timezone data must be installed at /usr/share/zoneinfo/

root@slitaz-3:/home/slitaz/wok/qtopia/x86-qtopia# pwd
/home/slitaz/wok/qtopia/x86-qtopia
root@slitaz-3:/home/slitaz/wok/qtopia/x86-qtopia# ps ax | tail -7
1404 root /bin/sh ./run
1405 root qtopia-2.2.0-FriendlyARM/qt2/bin/qvfb -width 240 -height 320 -depth 16
1408 root qpe
1413 root /home/slitaz/wok/qtopia/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/bin/qss -systemvolume 50
1414 root /home/slitaz/wok/qtopia/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/bin/quicklauncher
1426 root ps ax
1427 root tail -7
root@slitaz-3:/home/slitaz/wok/qtopia/x86-qtopia# ls -l /usr/share/zoneinfo
drwxr-xr-x 2 root root 4096 Apr 23 11:15 America
-rw-r--r-- 1 root root 2102 Sep 19 2009 CET
drwxr-xr-x 2 root root 4096 Apr 23 11:15 Europe
-rw-r--r-- 1 root root 118 Sep 19 2009 UTC
root@slitaz-3:/home/slitaz/wok/qtopia/x86-qtopia#
.