diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-10-27 22:01:40 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-11-23 20:06:15 +0100 |
commit | 2055c75f8ba710e8950a55aa3c41a9cec9f26ad7 (patch) | |
tree | 173665c5059b4c878b8c4dd451fd632275d96f36 /cmake | |
parent | Remove unused Qt Module (diff) | |
download | nheko-2055c75f8ba710e8950a55aa3c41a9cec9f26ad7.tar.xz |
Organize qml files a bit
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Translations.cmake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cmake/Translations.cmake b/cmake/Translations.cmake index 8ca91883..bdd8ecbc 100644 --- a/cmake/Translations.cmake +++ b/cmake/Translations.cmake @@ -21,4 +21,9 @@ if(NOT EXISTS ${_qrc}) endif() qt5_add_resources(LANG_QRC ${_qrc}) -qt5_add_resources(QRC resources/res.qrc) +#qt5_add_resources(QRC resources/res.qrc) +if(Qt5QuickCompiler_FOUND) + qtquick_compiler_add_resources(QRC resources/res.qrc) +else() + qt5_add_resources(QRC resources/res.qrc) +endif() |