Files
meta-openembedded/meta-oe/recipes-qt/qt4/qmake2/qmake-hack.diff
Paul Eggleton 608afbe828 qt4: replace recipes with bbappends
The only functional difference between these recipes and the ones in
oe-core is the addition of PostgreSQL, MySQL and SQLite 2 drivers. Now
that we have QT_SQL_DRIVER_FLAGS in the oe-core Qt4 recipes we can
replace the overlayed recipes with bbappends which enable the drivers
using this variable.

(Note: there is no bbappend for qt4-tools-native as this does not build
the SQL drivers.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-19 19:25:25 +02:00

16 lines
653 B
Diff

--- /tmp/configure 2010-02-10 15:41:58.000000000 +0100
+++ qt-embedded-linux-opensource-src-4.4.3/configure 2010-02-10 15:42:01.000000000 +0100
@@ -3946,6 +3946,12 @@
[ '!' -z "$QCONFIG_H" ] && mv -f "$QCONFIG_H" "$QMAKE_QCONFIG_H" #move qmake's qconfig.h to qconfig.h.qmake
[ '!' -z "$OLD_QCONFIG_H" ] && mv -f "${OLD_QCONFIG_H}.old" "$OLD_QCONFIG_H" #put back qconfig.h
[ "$QMAKE_BUILD_ERROR" = "yes" ] && exit 2
+
+# OE
+if [ x$CROSSHACK = xtrue ] ; then
+ echo "Exiting now, since we have what we want: a qmake binary"
+ exit 0
+fi
fi # Build qmake
#-------------------------------------------------------------------------------