mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
Remove tests PACKAGECONFIG
Installing Qt auto tests as part of the module build is not properly supported. Instead, tests can be built as ptest packages. Change-Id: Ie119df95bd7540176bac68b2cee6aff4cbbcc6b9 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
parent
fbaed93d8b
commit
85bd8ec9bc
|
|
@ -1,10 +1,5 @@
|
|||
include recipes-qt/qt6/qt6-ptest.inc
|
||||
|
||||
PACKAGECONFIG[tests] = "-DQT_BUILD_TESTS=ON,-DQT_BUILD_TESTS=OFF,"
|
||||
|
||||
# For qmake projects
|
||||
EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'tests', 'QT_BUILD_PARTS+=tests', 'QT_BUILD_PARTS-=tests', d)}"
|
||||
|
||||
# If Qt6 (qtbase) is machine specific, then everything will be,
|
||||
# because the (initial) qtbase configuration becomes part of Qt5/qmake
|
||||
python __anonymous() {
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ QT_QPA_DEFAULT_PLATFORM ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb'
|
|||
PACKAGECONFIG[ltcg] = "-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON,-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF"
|
||||
PACKAGECONFIG[optimize-size] = "-DFEATURE_optimize_size=ON,-DFEATURE_optimize_size=OFF"
|
||||
PACKAGECONFIG[static] = "-DBUILD_SHARED_LIBS=OFF,-DBUILD_SHARED_LIBS=ON"
|
||||
PACKAGECONFIG[developer-build] = "-DFEATURE_developer_build=ON,-DFEATURE_developer_build=OFF"
|
||||
PACKAGECONFIG[developer-build] = "-DFEATURE_developer_build=ON -DQT_BUILD_TESTS=OFF,-DFEATURE_developer_build=OFF"
|
||||
PACKAGECONFIG[use-gold-linker] = "-DFEATURE_use_gold_linker=ON"
|
||||
PACKAGECONFIG[use-bfd-linker] = "-DFEATURE_use_bfd_linker=ON"
|
||||
PACKAGECONFIG[use-lld-linker] = "-DFEATURE_use_lld_linker=ON"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user