Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-94581 Review and Document new Qt 6.2 CMake API
  3. QTBUG-95142

Document that AUTOMOC is needed for qt_add_qml_module

    XMLWordPrintable

Details

    • 2a48b85b44be846b89d22490370d40aeae9a9614 (qt/qtdeclarative/dev) 68688510588162fbdf464f2ae82eed4152e2d248 (qt/qtdeclarative/6.2)

    Description

      Context
      https://git.qt.io/alcroito/qt6-cmake-api-review/-/commit/14b4999bc857f5402a3577fe334ebfb3602ad0c2#f3ff9c1b48af14adf093e2af0c5cf2849829bb6d_85_101

      Check that we don't cause a FATAL_ERROR if AUTOMOC for a backing target is disabled.
      Document that enabling AUTOMOC is highly recommended.
      If it's disabled, it's the user project's responsibility to ensure that everything works.

      This restriction might be relaxed in later Qt 6 minor versions.

      Attachments

        Issue Links

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

          Activity

            People

              crscott Craig Scott
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes