diff options
Diffstat (limited to 'recipes-qt/qt5/qttools_git.bb')
-rw-r--r-- | recipes-qt/qt5/qttools_git.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qttools_git.bb b/recipes-qt/qt5/qttools_git.bb index b766680a..e9352e5b 100644 --- a/recipes-qt/qt5/qttools_git.bb +++ b/recipes-qt/qt5/qttools_git.bb | |||
@@ -18,6 +18,7 @@ DEPENDS += "qtbase qtdeclarative qtxmlpatterns" | |||
18 | SRC_URI += " \ | 18 | SRC_URI += " \ |
19 | file://0001-add-noqtwebkit-configuration.patch \ | 19 | file://0001-add-noqtwebkit-configuration.patch \ |
20 | file://0002-linguist-tools-cmake-allow-overriding-the-location-f.patch \ | 20 | file://0002-linguist-tools-cmake-allow-overriding-the-location-f.patch \ |
21 | file://0003-src.pro-Add-option-noqdoc-to-disable-qdoc-builds.patch \ | ||
21 | " | 22 | " |
22 | 23 | ||
23 | FILES_${PN}-tools += "${datadir}${QT_DIR_NAME}/phrasebooks" | 24 | FILES_${PN}-tools += "${datadir}${QT_DIR_NAME}/phrasebooks" |
@@ -34,9 +35,14 @@ COMPATIBLE_HOST_toolchain-clang_riscv64 = "null" | |||
34 | 35 | ||
35 | export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_BINDIR}/llvm-config" | 36 | export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_BINDIR}/llvm-config" |
36 | 37 | ||
38 | TOOLSTOBUILD += "linguist/lconvert linguist/lrelease linguist/lupdate pixeltool qtdiag qtpaths qtplugininfo" | ||
39 | TOOLSTOBUILD += "${@bb.utils.contains('PACKAGECONFIG', 'clang', 'qdoc', '', d)}" | ||
40 | TOOLSFORTARGET = "pixeltool qtdiag qtpaths qtplugininfo" | ||
41 | TOOLSFORHOST = "linguist ${@bb.utils.contains('PACKAGECONFIG', 'clang', 'qdoc', '', d)}" | ||
42 | |||
37 | EXTRA_QMAKEVARS_PRE += " \ | 43 | EXTRA_QMAKEVARS_PRE += " \ |
38 | ${@bb.utils.contains('PACKAGECONFIG', 'qtwebkit', '', 'CONFIG+=noqtwebkit', d)} \ | 44 | ${@bb.utils.contains('PACKAGECONFIG', 'qtwebkit', '', 'CONFIG+=noqtwebkit', d)} \ |
39 | CONFIG+=disable_external_rpath \ | 45 | ${@bb.utils.contains('PACKAGECONFIG', 'clang', 'CONFIG+=disable_external_rpath', 'CONFIG+=noqdoc', d)} \ |
40 | " | 46 | " |
41 | EXTRA_QMAKEVARS_PRE_append_class-native = " CONFIG+=config_clang_done CONFIG-=config_clang" | 47 | EXTRA_QMAKEVARS_PRE_append_class-native = " CONFIG+=config_clang_done CONFIG-=config_clang" |
42 | EXTRA_QMAKEVARS_PRE_append_class-nativesdk = " CONFIG+=config_clang_done CONFIG-=config_clang" | 48 | EXTRA_QMAKEVARS_PRE_append_class-nativesdk = " CONFIG+=config_clang_done CONFIG-=config_clang" |