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

QML applications fail to detect default module plugins

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.3.0 RC1
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:
      None

      Description

      You don't need to add modules to Qt in the pro file for modules that are only imported through QML. If you e.g do "import QtSensors 1.0", then you don't need to add QT += sensors to the pro file.

      The problem is that a module might be backed by a set of default plugins. E.g for sensors on iOS, you will need both qtsensors_generic and qtsensors_ios. Those plugins would be automatically picked up if you added QT += sensors, but since this is not needed, the same logic will not apply.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qtbuildsystem Qt Build System Team
              Reporter:
              richard Richard Moe Gustavsen
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes