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

Handle PLUGIN_EXTENDS = - in qmake plugin projects and in pro2cmake

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 6.0 (Next Major Release)
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:

      Description

      We have a bunch of generic plugins like src/plugins/generic/evdevmouse/evdevmouse.pro which specify

      PLUGIN_EXTENDS = -
      

      This means the plugin should not automatically be loaded (or linked in static Qt builds). We don't port this information to the CMake projects. We should to that by augmenting pro2cmake.

      Most likely by leveraging the DEFAULT_IF option of qt_internal_add_plugin, but it could be the case that the mechanism needs to be modified, because it doesn't quite match qmake's behavior.

      Note that currently we hardcode platform and generic plugins needing to be opt-in, when generating qt_plugin .pri files in
      https://codereview.qt-project.org/c/qt/qtbase/+/300007 which might need to be revised when we have proper information in the converted CMake projects.

        Attachments

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

          Activity

            People

            Assignee:
            semlanik Alexey Edelev
            Reporter:
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes