Examples: quick/scenegraph - add needed main.qml file to pro file
authorCaroline Chao <caroline.chao@digia.com>
Wed, 28 Nov 2012 08:53:40 +0000 (09:53 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 28 Nov 2012 09:37:36 +0000 (10:37 +0100)
To fix the installation for customgeometry and simplematerial examples.

Task-number: QTBUG-28243

Change-Id: Iafe62e30e7a0deeaeb0b6755fa2fd25a31f18ce5
Reviewed-by: Holger Ihrig <holger.ihrig@digia.com>
examples/quick/scenegraph/customgeometry/customgeometry.pro
examples/quick/scenegraph/simplematerial/simplematerial.pro

index d1271e1..5198a3c 100644 (file)
@@ -8,7 +8,9 @@ SOURCES += \
 HEADERS += \
     beziercurve.h
 
-sources.files = $$SOURCES $$HEADERS customgeometry.pro
+OTHER_FILES += main.qml
+
+sources.files = $$SOURCES $$HEADERS $$OTHER_FILES customgeometry.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/scenegraph/customgeometry
 target.path = $$sources.path
 INSTALLS += sources target
index d8a638c..f8be761 100644 (file)
@@ -5,7 +5,7 @@ SOURCES += \
     simplematerial.cpp
 
 OTHER_FILES += \
-    test.qml
+    main.qml
 
 sources.files = $$SOURCES $$OTHER_FILES simplematerial.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/scenegraph/simplematerial