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

Adjust the name of TYPE option of qt6_add_plugin

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Done
    • P2: Important
    • 6.2.0
    • Build System: CMake
    • None

    Description

      Context
      https://git.qt.io/alcroito/qt6-cmake-api-review/-/commit/5313c017d09c51d9034dd62b33f968b9cd54363c#179fb5213a114272e340c63285f9fb35ba530ab8_202_219

      Rename `TYPE` to `QT_PLUGIN_TYPE` because it's a bit too generic.

      Ensure that we document that if neither STATIC nor SHARED is specified, the default type that is chosen does not conform to the CMake behavior of checking the value of BUILD_SHARED_LIBS, but rather to what Qt was configured as.
      So in a static libraries Qt build it will default to creating a STATIC plugin, and vice versa.

      Attachments

        Activity

          People

            alexandru.croitor Alexandru Croitor
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: