[oe] [meta-qt5][jethro][PATCH] qtbase: fix regression for missing libqt*.a libs

Max Krummenacher max.oss.09 at gmail.com
Sat Aug 27 13:32:24 UTC 2016

Deploy the following statically linked libraries:
../build/lib/libqtfreetype.a  ../build/lib/libqtfreetype.prl
../build/lib/libqtpcre.a  ../build/lib/libqtpcre.prl

Fixes build of qtwayland (which is required for meta-toolchain-qt5):
| .../arm-angstrom-linux-gnueabi-ld.gold: error: cannot find -lqtfreetype
regression introduced with d6aeedb7f27b8dd02fa7e6fa193ce9e2e969ecf6 which
reverted the fix by Khem c44912563c4eadc288050f0b5e25981bc432d3f7

Signed-off-by: Max Krummenacher <max.krummenacher at toradex.com>

Note that the qtbase version used in krogoth does deploy libqtfreetype.a
in its regular 'make install'.

 recipes-qt/qt5/qtbase_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
index 62c0ab5..7d1ab5e 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -232,7 +232,7 @@ do_install_append() {
         cp -d ${S}/lib/fonts/* ${D}/${OE_QMAKE_PATH_QT_FONTS}
         chown -R root:root ${D}/${OE_QMAKE_PATH_QT_FONTS}
-    cp -d ${B}/lib/libQt* ${D}${libdir}
+    cp -d ${B}/lib/libqt* ${D}${libdir}
     # Remove example.pro file as it is useless
     rm -f ${D}${OE_QMAKE_PATH_EXAMPLES}/examples.pro

More information about the Openembedded-devel mailing list