summary refs log tree commit diff
path: root/cmake
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2019-11-29 14:51:24 -0500
committerGitHub <noreply@github.com>2019-11-29 14:51:24 -0500
commit4047a90302b2b927725f0a210e0825a8c8073f30 (patch)
tree69f901b0b4f51eee918d4d7d1822325090cd9485 /cmake
parentUpdate travis to xcode9.2 for macos (diff)
parentShow encryption enabled and use a non zero size for zero size vide (diff)
downloadnheko-4047a90302b2b927725f0a210e0825a8c8073f30.tar.xz
Merge pull request #91 from Nheko-Reborn/qml-timeline
Qml timeline
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Translations.cmake7
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()