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 | f6a10dc2028f790c466ef154096cbc210ae77f07 (patch) | |
tree | 2eb65d54e314f96589187af9f8fea28bdd14192a | |
parent | 6542f7f11e59852020caece03e5cef5164205a78 (diff) | |
download | qttools-f6a10dc2028f790c466ef154096cbc210ae77f07.tar.gz |
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 8e7b1777f..32848c69e 100644 --- a/examples/designer/CMakeLists.txt +++ b/examples/designer/CMakeLists.txt @@ -11,7 +11,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) |