diff options
Diffstat (limited to 'recipes-qt/qt5/qtbase-native_git.bb')
| -rw-r--r-- | recipes-qt/qt5/qtbase-native_git.bb | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index b0435ba9..f4e143f8 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
| @@ -39,14 +39,21 @@ SRC_URI += "\ | |||
| 39 | SRC_URI += " \ | 39 | SRC_URI += " \ |
| 40 | file://0001-Disable-unnamed-tmp-files.patch \ | 40 | file://0001-Disable-unnamed-tmp-files.patch \ |
| 41 | file://0009-Always-build-uic.patch \ | 41 | file://0009-Always-build-uic.patch \ |
| 42 | file://0010-Add-OE-specific-specs-for-clang-compiler.patch \ | ||
| 43 | file://0011-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch \ | ||
| 44 | file://0012-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch \ | ||
| 42 | " | 45 | " |
| 43 | 46 | ||
| 44 | CLEANBROKEN = "1" | 47 | CLEANBROKEN = "1" |
| 45 | 48 | ||
| 49 | XPLATFORM_toolchain-clang = "linux-oe-clang" | ||
| 50 | XPLATFORM ?= "linux-oe-g++" | ||
| 51 | |||
| 46 | PACKAGECONFIG_CONFARGS = " \ | 52 | PACKAGECONFIG_CONFARGS = " \ |
| 47 | -sysroot ${STAGING_DIR_NATIVE} \ | 53 | -sysroot ${STAGING_DIR_NATIVE} \ |
| 48 | -no-gcc-sysroot \ | 54 | -no-gcc-sysroot \ |
| 49 | -system-zlib \ | 55 | -system-zlib \ |
| 56 | -qt-pcre \ | ||
| 50 | -no-libjpeg \ | 57 | -no-libjpeg \ |
| 51 | -no-libpng \ | 58 | -no-libpng \ |
| 52 | -no-gif \ | 59 | -no-gif \ |
| @@ -80,7 +87,7 @@ PACKAGECONFIG_CONFARGS = " \ | |||
| 80 | -nomake examples \ | 87 | -nomake examples \ |
| 81 | -nomake tests \ | 88 | -nomake tests \ |
| 82 | -no-rpath \ | 89 | -no-rpath \ |
| 83 | -platform linux-oe-g++ \ | 90 | -platform ${XPLATFORM} \ |
| 84 | " | 91 | " |
| 85 | 92 | ||
| 86 | # for qtbase configuration we need default settings | 93 | # for qtbase configuration we need default settings |
| @@ -113,6 +120,10 @@ do_install() { | |||
| 113 | fi | 120 | fi |
| 114 | 121 | ||
| 115 | install -m 755 ${B}/bin/qfloat16-tables ${D}${OE_QMAKE_PATH_BINS} | 122 | install -m 755 ${B}/bin/qfloat16-tables ${D}${OE_QMAKE_PATH_BINS} |
| 123 | |||
| 124 | # since 5.9.2 something sets a very strange path to mkspec ("${_qt5Core_install_prefix}/../../../../../../../../../../usr/lib/qt5//mkspecs/linux-oe-g++") | ||
| 125 | # override this until somebody finds a better way | ||
| 126 | echo 'set(_qt5_corelib_extra_includes "${_qt5Core_install_prefix}/lib${QT_DIR_NAME}/mkspecs/linux-oe-g++")' > ${D}${libdir}/cmake/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake | ||
| 116 | } | 127 | } |
| 117 | 128 | ||
| 118 | SRCREV = "f27e029ef2e8400b803cec1b17ffd4e244d8610a" | 129 | SRCREV = "f27e029ef2e8400b803cec1b17ffd4e244d8610a" |
