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

Add support to QMAKE for specifying default plugin for modules

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.3.0 RC1
    • Component/s: Build System
    • Labels:
      None
    • Technical Risk:
      Normal
    • Commits:
      4255ba40ab073afcf2a095b135883612859af4c2

      Description

      Some modules, like QtSensors, have a plugin based architecture. And for many platforms, e.g iOS and Android, there is only one plugin to choose from. Nevertheless, when the user writes his pro file, he would have to add this plugin to his QTPLUGINS variable, which will have different value/plugin for each platform. This is error prone, and typically leads to "debug pro file everywhere" scenarios.

      It would be really nice if QMAKE could do this automatically, that is, fill in QTPLUGINS with the default plugins for each module requested. The modules could e.g set QMAKE_DEFAULT_QTPLUGINS or similar.

      Extra problematic is the fact that Android does this already today through their ant files (working around qmake). This means that an app that builds and runs on Android (by only doing QT += sensors) will not work on iOS.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              buddenha Oswald Buddenhagen
              Reporter:
              richard Richard Moe Gustavsen
              Votes:
              1 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes