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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              qtbuildsystem Qt Build System Team
              Reporter:
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes