Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-89274

Make public, documented API for compile time QML type registration with CMake

    XMLWordPrintable

    Details

      Description

      For example, with Qbs, you'd do:

      Qt.qml.importName: "App"
      Qt.qml.importVersion: "1.0"
      

      With qmake:

      CONFIG += qmltypes
      QML_IMPORT_NAME = App
      QML_IMPORT_MAJOR_VERSION = 1
      

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-89274
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              crscott Craig Scott
              Reporter:
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes