summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-12-08 19:44:27 +0000
committerPaul Eggleton <paul.eggleton@linux.intel.com>2011-12-08 19:53:51 +0000
commit016ed1af2a0986cd90bdd073091537d954588813 (patch)
tree62732ca2b3c501c22ad45418d1261e290f5789a0 /classes
parent1d56dbbd7cd308454f24fc54463e0f0cd536ea07 (diff)
downloadmeta-qt3-016ed1af2a0986cd90bdd073091537d954588813.tar.gz
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 <paul.eggleton@linux.intel.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/qt3x11.bbclass5
1 files changed, 3 insertions, 2 deletions
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"
4# override variables set by qmake_base to compile Qt/X11 apps 4# override variables set by qmake_base to compile Qt/X11 apps
5# 5#
6export QTDIR = "${STAGING_DIR_HOST}/qt3" 6export QTDIR = "${STAGING_DIR_HOST}/qt3"
7export OE_QMAKE_UIC = "${STAGING_BINDIR_NATIVE}/uic3" 7export OE_QMAKE_QMAKE = "${STAGING_BINDIR_NATIVE}/qmake-qt3"
8export OE_QMAKE_MOC = "${STAGING_BINDIR_NATIVE}/moc3" 8export OE_QMAKE_UIC = "${STAGING_BINDIR_NATIVE}/uic-qt3"
9export OE_QMAKE_MOC = "${STAGING_BINDIR_NATIVE}/moc-qt3"
9export OE_QMAKE_CXXFLAGS = "${CXXFLAGS} -DQT_NO_XIM" 10export OE_QMAKE_CXXFLAGS = "${CXXFLAGS} -DQT_NO_XIM"
10export OE_QMAKE_INCDIR_QT = "${QTDIR}/include" 11export OE_QMAKE_INCDIR_QT = "${QTDIR}/include"
11export OE_QMAKE_LIBDIR_QT = "${QTDIR}/lib" 12export OE_QMAKE_LIBDIR_QT = "${QTDIR}/lib"