diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-02-06 08:28:27 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-02-07 10:59:59 +0000 |
commit | 7daa1d14e7a2488f2504cada8655809f8ea0eb89 (patch) | |
tree | 7e5c6c82f38332c308ed2695c9fc5a0089315806 | |
parent | 9bc8eaaa44e9703720916c8e0c966a23f2e0618d (diff) |
Exclude Qt Designer plugin examples from cross-builds
For some reason, they cannot be installed into sysroot,
Complements 81fdb4dee5083a59dbdb2d01fcb6ab13285be26b.
Fixes: QTBUG-110930
Change-Id: Ia6f4d123f7435a1388bb3cfef38daa48120b4891
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 64001fc4c692f317032989c5bdda97527777a171)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | examples/designer/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/designer/CMakeLists.txt b/examples/designer/CMakeLists.txt index 0f4a7de51..d8d773d5f 100644 --- a/examples/designer/CMakeLists.txt +++ b/examples/designer/CMakeLists.txt @@ -8,7 +8,7 @@ if(QT_BUILD_SHARED_LIBS AND NOT solaris-cc_x_) qt_internal_add_example(calculatorbuilder) qt_internal_add_example(worldtimeclockbuilder) endif() -if(QT_BUILD_SHARED_LIBS) +if(QT_BUILD_SHARED_LIBS AND NOT CMAKE_CROSSCOMPILING) qt_internal_add_example(containerextension) qt_internal_add_example(customwidgetplugin) qt_internal_add_example(taskmenuextension) |