pro2cmake: Ignore generated .qrc files
...instead of complaining about non-existing files.
qtscxml/tests/auto/scion/scion.pro has
RESOURCES = $$OUT_PWD/scion.qrc
Change-Id: I5737fe5078c87689152fc7fa0d8d25ddc2b1a00f
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
bb10
parent
80d86fed13
commit
6ff123be87
|
|
@ -2273,6 +2273,9 @@ def write_resources(cm_fh: IO[str], target: str, scope: Scope, indent: int = 0,
|
|||
skip_qtquick_compiler = r in qtquickcompiler_skipped
|
||||
retain_qtquick_compiler = r in qtquickcompiler_retained
|
||||
if r.endswith(".qrc"):
|
||||
if "${CMAKE_CURRENT_BINARY_DIR}" in r:
|
||||
cm_fh.write(f"#### Ignored generated resource: {r}")
|
||||
continue
|
||||
qrc_output += process_qrc_file(
|
||||
target,
|
||||
r,
|
||||
|
|
|
|||
Loading…
Reference in New Issue