Skip to content

AUTORCC: allow relative paths in .qrc files

TJ requested to merge iam-TJ/cmake:issue23611-allow-qrc-relative-paths into master

Allow relative paths in .qrc files to be retained instead of being rewritten as absolute paths based in the source-code tree. This allows out-of-tree builds to correctly find generated .qrc files in the build tree. Controlled by {,CMAKE_}AUTORCC_CANONICAL_PATHS and defaults to ON|TRUE. Set to OFF|FALSE to allow relative paths on targets or specific source files to be retained.

Fixes: #23611 (closed)
Topic-rename: autorcc-relative-qrc

Edited by Brad King

Merge request reports