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

CMake warns about linking to plugins

    XMLWordPrintable

Details

    • 32b32ece92 (qt/qtwayland/dev) e01b618b5e (qt/qtwayland/6.3) e01b618b5e (qt/tqtc-qtwayland/6.3) 32b32ece92 (qt/tqtc-qtwayland/dev)

    Description

      CMake Warning (dev) at qtbase/cmake/QtPluginHelpers.cmake:57 (message):
        Plugins are not intended to be linked to.  They should not have any public
        properties, but QWaylandQtShellIntegrationPlugin sets PUBLIC_LIBRARIES to
        the following value:
      
            Qt::Core;Qt::Gui;Qt::GuiPrivate;Qt::WaylandClientPrivate;Wayland::Client
      
        Update your project to use LIBRARIES instead.
      
      Call Stack (most recent call first):
        qtwayland/src/plugins/shellintegration/qt-shell/CMakeLists.txt:5 (qt_internal_add_plugin)
      

      I don't understand what it's complaining about. The list of libraries does not contain a plugin.

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes