diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-10-21 15:43:51 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-10-21 17:30:40 +0000 |
commit | 6315acaa5a5c0a77f66c1b88db1fd1e445f41acc (patch) | |
tree | d57ea7ad47bde814dc3658021268f38058c720ea | |
parent | 92513ee677f3f4576a875a9e3195b0007278dc5e (diff) |
Fix OPTIONS argument of qtquick_compiler_add_resources
The OPTIONS argument is stored in the variable rcc_options, not options.
Fixes: QTBUG-87721
Change-Id: Ibd04ada18461fa1c052be46f3c7aa9cb28f31e8f
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
(cherry picked from commit fc95c09b06ff6dcdf72511a06c3c64bfc59261f1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in b/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in index 75fbb0fcf3..5eb9c4442c 100644 --- a/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in +++ b/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in @@ -85,6 +85,6 @@ but not all the files it references. list(APPEND compiler_output ${loader_source}) endif() - qt5_add_resources(output_resources ${filtered_rcc_files} OPTIONS ${options}) + qt5_add_resources(output_resources ${filtered_rcc_files} OPTIONS ${rcc_options}) set(${outfiles} ${output_resources} ${compiler_output} PARENT_SCOPE) endfunction() |