Qt Reference Documentation

fonts.qmlproject Example File

declarative/text/fonts/fonts/fonts.qmlproject
 import QmlProject 1.0

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