Examples: Hard-code the 'main' file in .qmlproject
authorKai Koehne <kai.koehne@nokia.com>
Mon, 2 Jan 2012 14:20:24 +0000 (15:20 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 3 Jan 2012 09:33:01 +0000 (10:33 +0100)
Set the 'mainFile:' property in .qmlproject files where it makes sense (i.e.
there's one natural candidate). This makes sure Qt Creator doesn't fall back
to 'current file in editor' as main file, which is unexpected to a lot of people.

(This requires Qt Creator version 2.2 and newer).

Change-Id: Ia5d20b0d982038520d7892bca155267c5f13644b
Reviewed-by: Martin Jones <martin.jones@nokia.com>
65 files changed:
examples/declarative/cppextensions/plugins/plugins.qmlproject
examples/declarative/flickr/flickr.qmlproject
examples/declarative/minehunt/minehunt.qmlproject
examples/declarative/particles/plasmapatrol/PlasmaPatrol.qmlproject
examples/declarative/photoviewer/photoviewer.qmlproject
examples/declarative/qtquick1/animation/easing/easing.qmlproject
examples/declarative/qtquick1/animation/states/states.qmlproject
examples/declarative/qtquick1/i18n/i18n.qmlproject
examples/declarative/qtquick1/imageelements/image/image.qmlproject
examples/declarative/qtquick1/keyinteraction/focus/focus.qmlproject
examples/declarative/qtquick1/keyinteraction/keyinteraction.qmlproject
examples/declarative/qtquick1/modelviews/gridview/gridview.qmlproject
examples/declarative/qtquick1/modelviews/package/package.qmlproject
examples/declarative/qtquick1/modelviews/parallax/parallax.qmlproject
examples/declarative/qtquick1/modelviews/pathview/pathview.qmlproject
examples/declarative/qtquick1/modelviews/visualitemmodel/visualitemmodel.qmlproject
examples/declarative/qtquick1/righttoleft/layoutdirection/layoutdirection.qmlproject
examples/declarative/qtquick1/righttoleft/layoutmirroring/layoutmirroring.qmlproject
examples/declarative/qtquick1/righttoleft/textalignment/textalignment.qmlproject
examples/declarative/qtquick1/screenorientation/screenorientation.qmlproject
examples/declarative/qtquick1/sqllocalstorage/sqllocalstorage.qmlproject
examples/declarative/qtquick1/text/textselection/textselection.qmlproject
examples/declarative/qtquick1/threading/threadedlistmodel/threadedlistmodel.qmlproject
examples/declarative/qtquick1/threading/workerscript/workerscript.qmlproject
examples/declarative/qtquick1/touchinteraction/gestures/gestures.qmlproject
examples/declarative/qtquick1/touchinteraction/mousearea/mousearea.qmlproject
examples/declarative/qtquick1/touchinteraction/pincharea/pincharea.qmlproject
examples/declarative/qtquick1/touchinteraction/touchinteraction.qmlproject
examples/declarative/qtquick1/toys/clocks/clocks.qmlproject
examples/declarative/qtquick1/toys/corkboards/corkboards.qmlproject
examples/declarative/qtquick1/toys/dynamicscene/dynamicscene.qmlproject
examples/declarative/qtquick1/toys/tic-tac-toe/tic-tac-toe.qmlproject
examples/declarative/qtquick1/toys/tvtennis/tvtennis.qmlproject
examples/declarative/qtquick1/tutorials/samegame/samegame1/samegame1.qmlproject
examples/declarative/qtquick1/tutorials/samegame/samegame2/samegame2.qmlproject
examples/declarative/qtquick1/tutorials/samegame/samegame3/samegame3.qmlproject
examples/declarative/qtquick1/tutorials/samegame/samegame4/samegame4.qmlproject
examples/declarative/qtquick1/ui-components/dialcontrol/dialcontrol.qmlproject
examples/declarative/qtquick1/ui-components/flipable/flipable.qmlproject
examples/declarative/qtquick1/ui-components/progressbar/progressbar.qmlproject
examples/declarative/qtquick1/ui-components/scrollbar/scrollbar.qmlproject
examples/declarative/qtquick1/ui-components/searchbox/searchbox.qmlproject
examples/declarative/qtquick1/ui-components/slideswitch/slideswitch.qmlproject
examples/declarative/qtquick1/ui-components/spinner/spinner.qmlproject
examples/declarative/qtquick1/ui-components/tabwidget/tabwidget.qmlproject
examples/declarative/qtquick1/xml/xml.qmlproject
examples/declarative/qtquick1/xml/xmlhttprequest/xmlhttprequest.qmlproject
examples/declarative/righttoleft/layoutdirection/layoutdirection.qmlproject
examples/declarative/righttoleft/layoutmirroring/layoutmirroring.qmlproject
examples/declarative/righttoleft/textalignment/textalignment.qmlproject
examples/declarative/rssnews/rssnews.qmlproject
examples/declarative/samegame/samegame.qmlproject
examples/declarative/snake/snake.qmlproject
examples/declarative/threading/threadedlistmodel/threadedlistmodel.qmlproject
examples/declarative/threading/workerscript/workerscript.qmlproject
examples/declarative/tutorials/samegame/samegame1/samegame1.qmlproject
examples/declarative/tutorials/samegame/samegame2/samegame2.qmlproject
examples/declarative/tutorials/samegame/samegame3/samegame3.qmlproject
examples/declarative/tutorials/samegame/samegame4/samegame4.qmlproject
examples/declarative/twitter/twitter.qmlproject
examples/declarative/ui-components/scrollbar/scrollbar.qmlproject
examples/declarative/ui-components/searchbox/searchbox.qmlproject
examples/declarative/ui-components/spinner/spinner.qmlproject
examples/declarative/ui-components/tabwidget/tabwidget.qmlproject
examples/tutorials/gettingStartedQml/parts/part5/qml-texteditor5.qmlproject

index d4909f8..c051b4a 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "plugins.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..08e6b30 100644 (file)
@@ -1,6 +1,9 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "flickr.qml"
+    //mainFile: "flickr-90.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..49fddde 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "minehunt.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index 53f5ecb..abb13c2 100644 (file)
@@ -1,8 +1,10 @@
 /* File generated by QtCreator */
 
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "plasmapatrol.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
@@ -13,6 +15,10 @@ Project {
     ImageFiles {
         directory: "."
     }
+    Files {
+        paths: ["TODO"]
+    }
+
     /* List of plugin directories passed to QML runtime */
     // importPaths: [ "../exampleplugin" ]
 }
index d4909f8..62af71a 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "photoviewer.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
@@ -11,6 +13,11 @@ Project {
     ImageFiles {
         directory: "."
     }
+    Files {
+        filter: "*.ts"
+        directory: "i18n"
+    }
+
     /* List of plugin directories passed to QML runtime */
     // importPaths: [ " ../exampleplugin " ]
 }
index d4909f8..f93e66c 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "easing.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..cefb00e 100644 (file)
@@ -1,6 +1,9 @@
 import QmlProject 1.0
 
 Project {
+    mainFile: "states.qml"
+    //mainFile: "transitions.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..b3525b4 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "i18n.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
@@ -11,6 +13,11 @@ Project {
     ImageFiles {
         directory: "."
     }
+    Files {
+        filter: "*.ts"
+        directory: "i18n"
+    }
+
     /* List of plugin directories passed to QML runtime */
     // importPaths: [ " ../exampleplugin " ]
 }
index d4909f8..8d0daa8 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "image.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..073c73b 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "focus.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..6f58c9d 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "focus/focus.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..5377153 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "gridview-example.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..b2a1e3a 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "view.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..426f4d9 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "parallax.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..13d17c7 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "pathview-example.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..e226ff1 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "visualitemmodel.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index e526217..6ec3a3d 100644 (file)
@@ -1,8 +1,10 @@
 /* File generated by QtCreator */
 
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "layoutdirection.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index e526217..7facd64 100644 (file)
@@ -1,8 +1,10 @@
 /* File generated by QtCreator */
 
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "layoutmirroring.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index e526217..8bf2a58 100644 (file)
@@ -1,8 +1,10 @@
 /* File generated by QtCreator */
 
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "textalignment.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..2ad87d8 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "screenorientation.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..e572423 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "hello.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..d4795f6 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "textselection.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index fe2dc29..a87b9b1 100644 (file)
 **
 ****************************************************************************/
 
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "timedisplay.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..334ab5a 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "workerscript.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..728404f 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "experimental-gestures.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..10a0cd6 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "mousearea-example.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index e526217..0d4b987 100644 (file)
@@ -1,8 +1,10 @@
 /* File generated by QtCreator */
 
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "flickresize.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..a7cf377 100644 (file)
@@ -1,4 +1,4 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
     /* Include .qml, .js, and image files from current directory and subdirectories */
index d4909f8..c8a00f7 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "clocks.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..82b0cd1 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "corkboards.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..3bf9d5b 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "dynamicscene.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..b64f633 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "tic-tac-toe.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..7e3296a 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "tvtennis.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..2a3d928 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "samegame.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..2a3d928 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "samegame.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..2a3d928 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "samegame.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..2a3d928 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "samegame.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..84c64fc 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "dialcontrol.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..7587e95 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "flipable.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..c4a510c 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "main.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..c4a510c 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "main.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..c4a510c 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "main.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..09ec4aa 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "slideswitch.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..c4a510c 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "main.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..c4a510c 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "main.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..e1d43b7 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "xmlhttprequest/xmlhttprequest-example.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..c4fa87e 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "xmlhttprequest-example.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
@@ -11,6 +13,10 @@ Project {
     ImageFiles {
         directory: "."
     }
+    Files {
+        paths: ["data.xml"]
+    }
+
     /* List of plugin directories passed to QML runtime */
     // importPaths: [ " ../exampleplugin " ]
 }
index e526217..6ec3a3d 100644 (file)
@@ -1,8 +1,10 @@
 /* File generated by QtCreator */
 
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "layoutdirection.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index e526217..7facd64 100644 (file)
@@ -1,8 +1,10 @@
 /* File generated by QtCreator */
 
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "layoutmirroring.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index e526217..8bf2a58 100644 (file)
@@ -1,8 +1,10 @@
 /* File generated by QtCreator */
 
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "textalignment.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..6b12778 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "rssnews.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..2a3d928 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "samegame.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..d8fb3da 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "snake.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index fe2dc29..a87b9b1 100644 (file)
 **
 ****************************************************************************/
 
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "timedisplay.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..334ab5a 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "workerscript.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..2a3d928 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "samegame.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..2a3d928 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "samegame.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..2a3d928 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "samegame.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..2a3d928 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "samegame.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..349b973 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "twitter.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..c4a510c 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "main.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..c4a510c 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "main.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..c4a510c 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "main.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index d4909f8..c4a510c 100644 (file)
@@ -1,6 +1,8 @@
-import QmlProject 1.0
+import QmlProject 1.1
 
 Project {
+    mainFile: "main.qml"
+
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
index ed034df..8d9517e 100644 (file)
@@ -4,8 +4,6 @@ Project {
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "."
-       directory: "core"
-       directory: "filedialog"
     }
     JavaScriptFiles {
         directory: "."