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

    • Windows
    • 2
    • ca0c8f9f4a (qt/tqtc-qtconnectivity/5.15)
    • 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

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

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes