From 016ed1af2a0986cd90bdd073091537d954588813 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Thu, 8 Dec 2011 19:44:27 +0000 Subject: qt3: fix interaction between qt3 and qt4 in the sysroot * Add a -qt3 suffix to all installed utilities so that they do not clash with their qt4 counterparts. This fixes errors mentioning QtCore/QVariant, Q3Support etc. which occur due to the Qt4 version of uic/moc being used that output source files containing references to Qt4 headers. qt3x11.bbclass has been updated to point to these renamed executables so any recipes using this class should be unaffected by this renaming. * Install libraries using the standard oe_libinstall method Fixes [YOCTO #1810]. Signed-off-by: Paul Eggleton --- classes/qt3x11.bbclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'classes') diff --git a/classes/qt3x11.bbclass b/classes/qt3x11.bbclass index 5408b7f..79664f2 100644 --- a/classes/qt3x11.bbclass +++ b/classes/qt3x11.bbclass @@ -4,8 +4,9 @@ EXTRA_QMAKEVARS_POST += "CONFIG+=thread" # override variables set by qmake_base to compile Qt/X11 apps # export QTDIR = "${STAGING_DIR_HOST}/qt3" -export OE_QMAKE_UIC = "${STAGING_BINDIR_NATIVE}/uic3" -export OE_QMAKE_MOC = "${STAGING_BINDIR_NATIVE}/moc3" +export OE_QMAKE_QMAKE = "${STAGING_BINDIR_NATIVE}/qmake-qt3" +export OE_QMAKE_UIC = "${STAGING_BINDIR_NATIVE}/uic-qt3" +export OE_QMAKE_MOC = "${STAGING_BINDIR_NATIVE}/moc-qt3" export OE_QMAKE_CXXFLAGS = "${CXXFLAGS} -DQT_NO_XIM" export OE_QMAKE_INCDIR_QT = "${QTDIR}/include" export OE_QMAKE_LIBDIR_QT = "${QTDIR}/lib" -- cgit v1.2.3-54-g00ecf