views.qmlproject Example File | Qt Quick 5.9

Qt 5.9 | Qt Quick | Qt Quick Examples - Views | views.qmlproject Example File

Qt 5.9.3 Reference Documentation

# views.qmlproject Example File

views/views.qmlproject

      import QmlProject 1.1

      Project {
          mainFile: "views.qml"

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