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>
-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: "."
-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: "."
-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: "."
/* 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: "."
ImageFiles {
directory: "."
}
+ Files {
+ paths: ["TODO"]
+ }
+
/* List of plugin directories passed to QML runtime */
// importPaths: [ "../exampleplugin" ]
}
-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: "."
ImageFiles {
directory: "."
}
+ Files {
+ filter: "*.ts"
+ directory: "i18n"
+ }
+
/* List of plugin directories passed to QML runtime */
// importPaths: [ " ../exampleplugin " ]
}
-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: "."
import QmlProject 1.0
Project {
+ mainFile: "states.qml"
+ //mainFile: "transitions.qml"
+
/* Include .qml, .js, and image files from current directory and subdirectories */
QmlFiles {
directory: "."
-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: "."
ImageFiles {
directory: "."
}
+ Files {
+ filter: "*.ts"
+ directory: "i18n"
+ }
+
/* List of plugin directories passed to QML runtime */
// importPaths: [ " ../exampleplugin " ]
}
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
/* 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: "."
/* 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: "."
/* 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: "."
-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: "."
-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: "."
-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: "."
**
****************************************************************************/
-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: "."
-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: "."
-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: "."
-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: "."
/* 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: "."
-import QmlProject 1.0
+import QmlProject 1.1
Project {
/* Include .qml, .js, and image files from current directory and subdirectories */
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
ImageFiles {
directory: "."
}
+ Files {
+ paths: ["data.xml"]
+ }
+
/* List of plugin directories passed to QML runtime */
// importPaths: [ " ../exampleplugin " ]
}
/* 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: "."
/* 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: "."
/* 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: "."
-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: "."
-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: "."
-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: "."
**
****************************************************************************/
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
-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: "."
/* Include .qml, .js, and image files from current directory and subdirectories */
QmlFiles {
directory: "."
- directory: "core"
- directory: "filedialog"
}
JavaScriptFiles {
directory: "."