This repository has been archived on 2022-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
modern-linbo-gui/build_qt

55 lines
1 KiB
Text
Raw Normal View History

#!/bin/bash
# Build QT embedded. This can be painful...
( QT_ARCHIVE=`grep qt- ../debian/md5sums.src | awk '{ print $2 }'`
export QTDIR=`pwd`/`echo "$QT_ARCHIVE" | sed -e 's/.tar.gz//'`
cd $QTDIR
make clean
echo -e "yes\n" | ./configure \
-xplatform linux-g++-32 \
-device-option CROSS_COMPILE=i386-linux-gnu- \
-embedded x86 \
-prefix $QTDIR \
-opensource \
-release \
-static \
-fontconfig \
-freetype \
-no-accessibility \
-no-xmlpatterns \
-no-phonon \
-no-phonon-backend \
-no-webkit \
-no-exceptions \
-no-script \
-no-scripttools \
-no-nis \
-no-cups \
-no-stl \
-verbose \
-qt-zlib \
-qt-libpng \
-no-gif \
-no-libjpeg \
-no-openssl \
-no-iconv \
-no-dbus \
-depths 4,8,16,32 \
-no-largefile \
-no-xinerama \
-no-xrender \
-no-opengl \
-no-glib \
-nomake examples \
-nomake demos \
-no-libmng \
-no-glib \
-nomake examples \
-nomake demos \
)
( QT_ARCHIVE=`grep qt- ../debian/md5sums.src | awk '{ print $2 }'`
export QTDIR=`pwd`/`echo "$QT_ARCHIVE" | sed -e 's/.tar.gz//'`
cd $QTDIR
make -j 2 )