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

[5.15.7 -> 5.15.8] Bluetooth error: Make sure 'QHash<QLowEnergyHandle,QLowEnergyServicePrivate::CharData>' is registered using qRegisterMetaType()

XMLWordPrintable

    • Windows
    • 2
    • ca0c8f9f4a (qt/tqtc-qtconnectivity/5.15)
    • Team One Foundation Sprint 51

      Starting from 5.15.8 bluetooth reports an issue with connect when trying to access device characteristics e.g. in the lowenergyscanner example:

      QObject::connect: Cannot queue arguments of type 'QHash<QLowEnergyHandle,QLowEnergyServicePrivate::CharData>'
      (Make sure 'QHash<QLowEnergyHandle,QLowEnergyServicePrivate::CharData>' is registered using qRegisterMetaType().)
      

      and no characteristics are found. The same problem does not occur in 5.15.7.

      Steps to reproduce the problem:

      1. build & start lowenergyscanner
      2. click search
      3. click on any device
      4. click on any service

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

            ivan.solovev Ivan Solovev
            miikapernu Miika Pernu
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes