Эх сурвалжийг харах

Update Qt Quick Compiler usage

Donald Carr 7 жил өмнө
parent
commit
c50fc47d4b
1 өөрчлөгдсөн 4 нэмэгдсэн , 6 устгасан
  1. 4 6
      src/src.pro

+ 4 - 6
src/src.pro

@@ -94,15 +94,13 @@ QMLFILES += \
 
 DISTFILES += $${QMLFILES}
 
-for(qml_file, QMLFILES) {
-    QMLCFILES+=$${qml_file}c
-    system(qmlcachegen --target-architecture $$QT_ARCH --target-abi $${QT_BUILDABI} $${qml_file})
-}
-
 compiledResources {
-    RESOURCES += $${DISTFILES} $${QMLCFILES}
+    message(Compiled in resources)
+    CONFIG += qtquickcompiler
+    RESOURCES += $${DISTFILES}
     DEFINES += COMPILED_RESOURCES
 } else {
+    message(External resources)
     qml.path = /usr/share/artriculate/qml
     qml.files = ../qml/*