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

    Details

    • Platform/s:
      Windows
    • Story Points:
      2
    • Commits:
      ca0c8f9f4a (qt/tqtc-qtconnectivity/5.15)
    • Sprint:
      Team One Foundation Sprint 51

      Description

      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

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes