plugins.qmlproject Example File | Qt QML 5.6

Qt 5.6 | Qt QML | QML Plugin Example | plugins.qmlproject Example File

Qt 5.6.2 Reference Documentation

# plugins.qmlproject Example File

qmlextensionplugins/plugins.qmlproject

      import QmlProject 1.1

      Project {
          mainFile: "plugins.qml"

          /* Include .qml, .js, and image files from current directory and subdirectories */
          QmlFiles {
              directory: "."
          }
          JavaScriptFiles {
              directory: "."
          }
          ImageFiles {
              directory: "."
          }
      }