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

When pressing F1 to access documentation for QmlSensors in Qt Creator it does not find it

XMLWordPrintable

    • d0e959844d60a547430cd7731d66452306561159 (qt/qtsensors/5.12)

      When pressing F1 to access documentation for a singleton QML type it does not find it. With the following code snippet as an example:

      import QtQuick 2.9
      import QtQuick.Window 2.2
      import QtSensors 5.9 as Sensors
      // ...
      Item {
          Component.onCompleted: {
              var types = Sensors.QmlSensors.sensorTypes();
              console.log(types.join(", "));
          }
      }
      

      and highlighting QmlSensors then pressing F1 will not show any documentation. Changing it to SensorGlobal does not work either. The code snippet is taken from the SensorGlobal QML types documentation (the namespace is a requirement).

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

            ulherman Ulf Hermann
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes