Qt Reference Documentation

package.qmlproject Example File

declarative/modelviews/package/package.qmlproject
 import QmlProject 1.0

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