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

QML applications fail to detect default module plugins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.3.0 RC1
    • Build System
    • None

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes