diff options
author | Craig Scott <craig.scott@qt.io> | 2021-09-07 14:31:05 +1000 |
---|---|---|
committer | Craig Scott <craig.scott@qt.io> | 2021-09-07 17:16:45 +1000 |
commit | 215dea1bfc113b792cb167e0359d36f9250e3d21 (patch) | |
tree | a81f9ffc6a300cb44ed761a8cceb014238014d1c /examples | |
parent | 56b93e77edf50a2b6e4b357d48c35250512ebe22 (diff) |
Fix top level builds failing with AUTOMOC-related missing moc exe
In top level builds, qt_autogen_tools() needs to be called on any
target that enables AUTOMOC. A previous commit fixed that problem for
the qt_target_qml_sources_example target, but missed also fixing it for
the associated plugin target. Add that missed call here.
More examples that use the common "shared" quick directory have also
since been added, but the step that ensures qt_autogen_tools() was
missed. Add them to the missing step. One of the existing steps also
had a typo, which meant it wasn't handled either, so correct that as
well.
Amends 067253fb2f1aec3e03c577dd53ed2e6d903c28da
Task-number: QTBUG-96118
Task-number: QTBUG-96159
Pick-to: dev
Change-Id: I2fae5d9a1fd474b22e01ec51d5b1030237f3e08f
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quick/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/quick/CMakeLists.txt b/examples/quick/CMakeLists.txt index d39bf5a830..19591ade12 100644 --- a/examples/quick/CMakeLists.txt +++ b/examples/quick/CMakeLists.txt @@ -41,7 +41,13 @@ endif() # qt_examples_build_end() misses at least some of these due to some # source subdirectories being added multiple times. See QTBUG-96159. set(reused_dir_targets - view_shared + animation_shared + canvas_shared + views_shared + positioners_shared + righttoleft_shared + text_shared + threading_shared touchinteraction_shared window_shared shapes_shared |