diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2014-01-12 14:55:37 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-01-12 15:03:21 +0100 |
commit | b8a236df79c25802c1f2eb2525e8a534e73e608e (patch) | |
tree | f558c77d3fe1d8957d2e73e183596ca666c4acf3 /recipes-qt/qt5/qt5.inc | |
parent | 0b4bdeb6c195b3e1abf32e96354e4401d596ec0a (diff) |
qt5: Fix cmake config files
* without syncqt cmake config files have empty PRIVATE_INCLUDE_DIRS
remove pregenerated header files and create .git dir to let qmake
call syncqt and generate headers like when building from git recipes
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qt5.inc')
-rw-r--r-- | recipes-qt/qt5/qt5.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc index 57ffe098..7e739c54 100644 --- a/recipes-qt/qt5/qt5.inc +++ b/recipes-qt/qt5/qt5.inc @@ -32,6 +32,14 @@ python __anonymous() { d.setVar("PACKAGE_ARCH", tarch) } + +# Regenerate header files when they are included in source tarball +# Otherwise cmake files don't set PRIVATE_HEADERS correctly +do_configure_prepend() { + rm -rf ${S}/include + mkdir -p ${S}/.git || true +} + PACKAGES =. "${PN}-qmlplugins-dbg ${PN}-tools-dbg ${PN}-plugins-dbg ${PN}-qmlplugins ${PN}-tools ${PN}-plugins ${PN}-mkspecs ${PN}-examples-dev ${PN}-examples-staticdev ${PN}-examples-dbg ${PN}-examples " # extra -dbg packages |