diff options
author | Amir Masoud Abdol <amirmasoudabdol@icloud.com> | 2022-10-13 13:01:56 +0200 |
---|---|---|
committer | Amir Masoud Abdol <amirmasoudabdol@icloud.com> | 2022-10-25 16:39:25 +0200 |
commit | 2625e5f050b2bedb4aa9ff9307e90c1e3ba85e8e (patch) | |
tree | fbebb3066a1ebdfaf1f828547575fc8737be005a /src/corelib/kernel | |
parent | 30eac4a4f9df0b7402fe70499be9385e7ee8737e (diff) |
Make the `PREFIX` Parameter of the `qt_add_resources` Optional
The `rcc_PREFIX` will be set to `/` if it is not passed to the
function and it is not defined in `QT_RESOURCE_PREFIX`.
I also removed an unnecessary check of the `rcc_PREFIX`.
[ChangeLog][QtCore][CMake] The `PREFIX` parameter of the
`qt_add_resources` is now optional. If not passed, and
`QT_RESOURCE_PREFIX` is not defined, `/` will be used as the path
prefix.
Fixes: QTBUG-104938
Change-Id: I6524ab5dc54f035272e4c2e3154eb67591efb650
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src/corelib/kernel')
0 files changed, 0 insertions, 0 deletions