Skip to contentSkip to conversation

packagegroup-qt-toolchain-target.inc: add libQtUiTools static library

PATCH In review Diego Sueiro 3 participants 3 messages Feb 26, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 packagegroup-qt-toolchain-target.inc: add libQtUiTools static library

libQtUiTools is only built as a static library by upstream intentionally. So, libQtUiTools.a and libQtUiToolsE.a needs to be installed on meta-toolchain-qt and meta-toolchain-qte respectively.
Whitout this static library, building qt apps which needs uitools will fail.

qt4[-embedded]-staticdev is the package that contains this library and is the only file in it.

Since a static library is shipped, special attention regarding the lincese should be taken.

---
 meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.inc |    1 +
 1 file changed, 1 insertion(+)
meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.inc +1 -0
index fc1ccba..b040182 100644
@@ -33,4 +33,5 @@ RDEPENDS_${PN} += " \
         libqt${QTLIBPREFIX}xmlpatterns4-dev \
         libsqlite3-dev \
         expat-dev \
+        qt4${QTLIBPREFIX}-staticdev \
         "
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 7 lines · Diego Sueiro

libQtUiTools is only built as a static library by upstream intentionally. So, libQtUiTools.a and libQtUiToolsE.a needs to be installed on meta-toolchain-qt and meta-toolchain-qte respectively.
Whitout this static library, building qt apps which needs uitools will fail.

qt4[-embedded]-staticdev is the package that contains this library and is the only file in it.

If this library is intentionally static-only, shouldn't it go in qt4-dev rather than qt4-staticdev?

p.

#2 lore raw
Quoted 1 line · Phil Blundell

If this library is intentionally static-only, shouldn't it go in qt4-dev

yes I believe so