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

qtsystems/examples/systeminfo/qml-battery example needs updating for qt5-compatible release

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • 5.0.1
    • 5.0.0
    • None
    • Linux
    • 97971e8feefc9da56799553430cc5cd22cdf4e2f

    Description

      The particles import was changed to QtQuick.Particles 2.0 but it's really Qt.labs.particles 1.0 compatible. After trying some workarounds I end up with these errors too:

      qml-battery.qml:121:9: Cannot assign to non-existent property "onRemainingCapacityPercentChanged"
      onRemainingCapacityPercentChanged: doBatteryLevelChange(level)
      qml-battery.qml:72:9: Cannot assign to non-existent property "monitorCurrentFlowChanges"
      monitorCurrentFlowChanges: true

      and probably more.

      Attachments

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

        Activity

          People

            lpotter Lorn Potter
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes