View Single Post
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#170
Here's the bug fix for FREMANTLE_ARMEL:

Code:
--- qt4-x11-4.6.2~git20100401.orig/configure    2010-04-08 02:48:34.000000000 -0700
+++ qt4-x11-4.6.2~git20100401/configure    2010-10-24 21:52:36.000000000 -0700
@@ -2297,7 +2297,8 @@
     # if we're within scratchbox, build qmake and friends with the host compiler
     if [ -z "$PLATFORM" ] && [ -z "$XPLATFORM" ] && [ "$SBOX_UNAME_MACHINE" = "arm" ] ; then
         XPLATFORM="linux-g++-maemo5"
-        PLATFORM="linux-host-g++"
+        #PLATFORM="linux-host-g++"
+        PLATFORM="linux-g++-maemo5"
         QT_FORCE_PKGCONFIG=yes
     fi
     if [ -z "$CFG_ARCH" ] && [ "$SBOX_UNAME_MACHINE" = "arm" ] ; then
I've successfully built armel binaries of

qmake
moc
rc
uic

with the above patch on an x86 machine in the FREMANTLE_ARMEL target with the following command:

Code:
dpkg-buildpackage -b -d -nc -rfakeroot
The build hasn't reached the other binaries yet, but their Makefiles have been created.
__________________
N9: Go white or go home
 

The Following User Says Thank You to daperl For This Useful Post: