Qt 4.8: plugins.qmlproject Example File (declarative/cppextensions/plugins/plugins.qmlproject)

Qt Reference Documentation

# plugins.qmlproject Example File

declarative/cppextensions/plugins/plugins.qmlproject

     import QmlProject 1.0

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