diff options
| author | David Faure <david.faure@kdab.com> | 2023-12-21 11:46:28 +0100 |
|---|---|---|
| committer | David Faure <david.faure@kdab.com> | 2024-01-13 12:02:41 +0100 |
| commit | b5374fdc603b263a02ec1885d81cf1d56b3579a9 (patch) | |
| tree | a49cde8232237cdd77a27b3d126f89abda98c64b /src/qml/jsruntime/qv4executablecompilationunit.cpp | |
| parent | 644ee4d23464cb04b5162051ffa1524f006b544d (diff) | |
Don't run automoc on *_qmlcache_loader.cpp generated files
Without this, CMake would warn:
Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files.
Run "cmake --help-policy CMP0071" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
For compatibility, CMake is excluding the GENERATED source file(s):
"<builddir>/.rcc/qmlcache/myfile_qmlcache_loader.cpp"
from processing by AUTOMOC. If any of the files should be processed, set
CMP0071 to NEW. If any of the files should not be processed, explicitly
exclude them by setting the source file property SKIP_AUTOMOC:
set_property(SOURCE file.h PROPERTY SKIP_AUTOMOC ON)
Pick-to: 6.7
Change-Id: Ifd1bad613ab21f5e2de2c42281e8c3261e2cfb03
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4executablecompilationunit.cpp')
0 files changed, 0 insertions, 0 deletions
