aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqml.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2023-11-08 09:14:48 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2023-11-09 19:12:37 +0100
commitf81945e1d79f69c27340cc2ba1a5919957eae514 (patch)
treec127314e0414e9adc400f2f04d2692525d0f56c2 /src/qml/qml/qqml.cpp
parentae3905531320a6603f3fe7065628853dac303cdb (diff)
CMake: Fix the all_qmllint* targets for Visual Studio generators
When using the VS generator, the foo_qmllint targets were run on every build, which is neither expected nor wanted. The reason for this is a pecularity in MSBuild and as a reaction to this, special behavior of CMake: add_dependencies(A B) will enable B in the default build of the solution - even if B is not triggered by the ALL target. See upstream CMake issue #16668 for details. We now work around this problem by building foo_qmllint externally as PRE_BUILD step of all_qmllint. Pick-to: 6.5 6.6 Fixes: QTBUG-115166 Change-Id: Ie9c187edf112fc37e8eb7d1c1040fc64479b3034 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src/qml/qml/qqml.cpp')
0 files changed, 0 insertions, 0 deletions