Hi,
I installed scratchbox and the maemo sdk as described on the maemo site.
I can compile the hello-gtk example and other apps without problems.
I tried to compile Qt 3.3.5 from source:
ftp://ftp.trolltech.com/qt/source/qt-x11-free-3.3.5.tar.bz2
I installed 2 toolchains:
http://www.scratchbox.org/download/files/sbox-releases/0.9.8/tarball/scratchbox-toolchain-arm-glibc-0.9.8.5.tar.gz
and
http://www.scratchbox.org/download/files/sbox-releases/0.9.8/tarball/scratchbox-toolchain-arm-gcc3.4.cs-glibc-0.9.8.5.tar.gz
With the first toolchain (gcc 3.3) I can
run Qt's
./configure and then when I issue make
the compilation starts and libqt-3.3.5.so seems to get built successfully.
Afterwards it tries to build Qt designer and at some point uic hangs
indefinitely ,
While the host box is relatively slow VIA Nehemiah 1GHz , i686
compatible I let the make process run
for over a day but it seems it gets in some kind of infinite loop.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13373 sbox 35 10 84164 9232 76 R 84.9 4.1 2008:30 qemu-arm
while compiling this file:
/home/sbox/qt-3.3.5/qt-x11-free-3.3.5/bin/uic -L
/home/sbox/qt-3.3.5/qt-x11-free-3.3.5/plugins pixmapfunction.ui -o
pixmapfunction.h
What could the cause be ?
A bug in gcc that generates erratic code which makes the uic code loop
forever or could it be a bug in qemu-arm which causes this loop ?
I tried with the gcc-3.4 toolchain but in that case I cannot even run
configure since it says missing libstdc++.
Any idea how I can compile Qt using the gcc-3.4 toolchain ?
Since Opera is a Qt app and is installed on the Nokia 770 I assume the
Opera guys found a way to compile Qt.
thanks in advance for your help,,
cheers,
Benno
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers