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

Investigate automatic calling of qt6_import_qml_plugins for examples using a static Qt build

    XMLWordPrintable

Details

    • c71c48f5125c116f01f615f51f10e4f2877b2b1d (qt/qtdeclarative/dev) ae68d95b8c1c56ae907cbe88122dd79bafd20b72 (qt/qtdeclarative/6.1)

    Description

      Currently users building a qml app using a static Qt build need to call qt_import_qml_plugins. The same is true for all our Qt examples.

      Investigate adding additional behaviour to qt_add_executable() which would use CMake's cmake_language(DEFER CALL) when CMake version is at least 3.19.

      Important discussion was held as part of the CMake Public API review meeting
      https://git.qt.io/alcroito/qt6-cmake-api-review/-/blob/master/finalizers0.cmake

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: