Qt 5.6 | Qt QML | QML Examples - Internationalization | qml-i18n.qmlproject Example File

Qt 5.6.3 Reference Documentation

# qml-i18n.qmlproject Example File

qml-i18n/qml-i18n.qmlproject

      import QmlProject 1.1

      Project {
          mainFile: "qml-i18n.qml"

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