Qt Reference Documentation

snake.qmlproject Example File

demos/declarative/snake/snake.qmlproject
 import QmlProject 1.0

 Project {
     /* Include .qml, .js, and image files from current directory and subdirectories */
     QmlFiles {
         directory: "qml/snake"
     }
     JavaScriptFiles {
         directory: "qml/snake"
     }
     ImageFiles {
         directory: "qml/snake"
     }
     /* List of plugin directories passed to QML runtime */
     // importPaths: [ " ../exampleplugin " ]
 }