diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-04-19 17:16:21 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-04-20 09:37:26 +0000 |
commit | a914b3475225e44addbf1bd5fbf38e7e363a67ce (patch) | |
tree | 2aeec1307beeb956bfd8ce9d3cfe50b604b534d0 /tests/auto/qml | |
parent | 96328d5651b2b94e941ca01f856571b991483e21 (diff) |
CMake: Work around moc issue in static builds when building snippets
Static builds create additional targets for each resource, which are
not covered by calls to qt_autogen_tools, and listing all of them
manually is brittle.
This ends up in an error at generate time:
CMake Error: AUTOMOC for target
qt_target_qml_sources_example_resources_3: The "moc" executable
"~/build/qtbase/libexec/moc" does not exist
Work around the issue by not building the doc snippets in a
static build.
Fixes: QTBUG-99063
Change-Id: I313515a83d82f17a6930f7beeb7bb8acd7f8ce5b
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit af93406a7d5ff8531d5849936408abcc75d30c74)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/qml')
0 files changed, 0 insertions, 0 deletions