diff options
Diffstat (limited to 'recipes-qt/qt5/qtbase_git.bb')
-rw-r--r-- | recipes-qt/qt5/qtbase_git.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index e2784d82..7047f6c1 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
@@ -167,6 +167,11 @@ XPLATFORM_toolchain-clang = "linux-oe-clang" | |||
167 | XPLATFORM ?= "linux-oe-g++" | 167 | XPLATFORM ?= "linux-oe-g++" |
168 | 168 | ||
169 | do_configure() { | 169 | do_configure() { |
170 | # Regenerate header files when they are included in source tarball | ||
171 | # Otherwise cmake files don't set PRIVATE_HEADERS correctly | ||
172 | rm -rf ${S}/include | ||
173 | mkdir -p ${S}/.git || true | ||
174 | |||
170 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" during configuration | 175 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" during configuration |
171 | touch ${S}/mkspecs/oe-device-extra.pri | 176 | touch ${S}/mkspecs/oe-device-extra.pri |
172 | 177 | ||