diff options
author | 2011-12-08 19:44:27 +0000 | |
---|---|---|
committer | 2011-12-08 19:53:51 +0000 | |
commit | 016ed1af2a0986cd90bdd073091537d954588813 (patch) | |
tree | 62732ca2b3c501c22ad45418d1261e290f5789a0 /recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb | |
parent | 1d56dbbd7cd308454f24fc54463e0f0cd536ea07 (diff) | |
download | meta-qt3-016ed1af2a0986cd90bdd073091537d954588813.tar.gz meta-qt3-016ed1af2a0986cd90bdd073091537d954588813.tar.bz2 meta-qt3-016ed1af2a0986cd90bdd073091537d954588813.zip |
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 'recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb')
-rw-r--r-- | recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb b/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb index 48fc3a0..d70c373 100644 --- a/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb +++ b/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb @@ -3,7 +3,7 @@ SECTION = "libs" LICENSE = "GPL | QPL" DEPENDS = "xmu-native" HOMEPAGE = "http://www.trolltech.com" -PR = "r2" +PR = "r3" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/qt-x11-free" @@ -48,9 +48,9 @@ do_compile() { do_install() { install -d ${D}${bindir}/ - install -m 0755 bin/qmake ${D}${bindir}/qmake3 + install -m 0755 bin/qmake ${D}${bindir}/qmake-qt3 for i in moc uic lrelease lupdate; do - install -m 0755 bin/${i} ${D}${bindir}/${i}3 + install -m 0755 bin/${i} ${D}${bindir}/${i}-qt3 done install -d ${D}${datadir}/qt3/ @@ -58,11 +58,7 @@ do_install() { ln -sf linux-g++ ${D}${datadir}/qt3/mkspecs/${TARGET_OS}-oe-g++ ln -sf qt3/mkspecs ${D}${datadir}/qmake install -d ${D}${libdir}/ - oe_soinstall lib/libqt-mt.so.${PV} ${D}${libdir}/ - cd ${D}${bindir} - for i in qmake moc uic lrelease lupdate;do - ln -s ${i}3 ${i} - done + oe_libinstall -so -C lib libqt-mt ${D}${libdir} } |