summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2021-09-17 16:13:54 +0200
committerMichal Klocek <michal.klocek@qt.io>2021-09-28 06:15:14 +0000
commit405007644edc3473bb1eec4cf2c3d15e9431da21 (patch)
tree101faf51d76b38612038cdb698b30c84c896f450 /tests/auto/quick/qmltests
parent9f7c426568bf01bd8ab3dbe29233240c8bfd0850 (diff)
Fix gn moc path pointing to debug moc for super build
In 53e99bd we used genex to get moc path, this works well, but not for mulitconifg build where genex will output path to debug moc in case of superbuild. To fix issues like that cmake 3.20 introduces $<OUTPUT_CONFIG:...> and $<COMMAND_CONFIG:...> generator-expressions, however it will not help much since they do not work with file(GENERATE), moreover minimal current version is 3.19 Use target property to query moc location or recreate path in case of superbuild. Fixes: QTBUG-96375 Pick-to: 6.2 Change-Id: Ief0fc32d57a36191694102ed010314b5d3395334 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/quick/qmltests')
0 files changed, 0 insertions, 0 deletions