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

qt_internal_add_qml_module() calls through to qt6_add_plugin() but qt6_add_qml_module() doesn't

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.1.0 Beta 1
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:
      None
    • Platform/s:
      All

      Description

      This difference means the internal function will do the following things, whereas the non-internal one won't:

      • Add the arch suffix to the library file name on Android.
      • Add the compiler defines QT_PLUGIN, QT_DEPRECATED_WARNINGS and QT_STATICPLUGIN (this last one only for static builds).

      I'm assuming we want these things for qt6_add_qml_module() too. If so, then we should probably be calling qt6_add_plugin() internally inside qt6_add_qml_module(). If someone can confirm that, I can include the necessary change as part of my work on QTBUG-88763.

        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:
              crscott Craig Scott
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes