Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt 6++ Bluetooth Pairing
Forum Updated to NodeBB v4.3 + New Features

Qt 6++ Bluetooth Pairing

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 4 Posters 728 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    afalsa
    wrote on last edited by
    #1

    Info: bluetooth-changes-qt6

    The pairing agent related API was removed without replacement. This includes pairingConfirmation(bool), pairingDisplayPinCode(..) & pairingDisplayConfirmation(..).
    

    I would like to know:

    -Why it has disappeared
    -Even though it says there is no replacement. If there is any alternative way.

    Thanks :)

    1 Reply Last reply
    0
    • kkoehneK Offline
      kkoehneK Offline
      kkoehne
      Moderators
      wrote on last edited by
      #2

      Why it has disappeared

      The reasoning is given in the very same paragraph you cited :)

      Except for Android and BlueZ 4 there was never an implementation for it. Bluez 4 support was removed in Qt 6 and Android's implementation required unobtainable BLUETOOTH_PRIVILEGED for at least parts of the code.
      

      Even though it says there is no replacement. If there is any alternative way.

      Well, you can always use the API of the platform you are targetting.

      Director R&D, The Qt Company

      A 1 Reply Last reply
      2
      • M Offline
        M Offline
        mark12375
        Banned
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • kkoehneK kkoehne

          Why it has disappeared

          The reasoning is given in the very same paragraph you cited :)

          Except for Android and BlueZ 4 there was never an implementation for it. Bluez 4 support was removed in Qt 6 and Android's implementation required unobtainable BLUETOOTH_PRIVILEGED for at least parts of the code.
          

          Even though it says there is no replacement. If there is any alternative way.

          Well, you can always use the API of the platform you are targetting.

          A Offline
          A Offline
          afalsa
          wrote on last edited by
          #4

          @kkoehne Hello! Sorry for the late response.

          I've been thinking on that. Finally i was able to wrap a cppwinrt object into a qt object class to emit a signal when an async call finishes on windows.

          Do yo know if there is any plan to port this windows bluetooth features to native qt features? It will be a lot easier for sure jajajsj

          1 Reply Last reply
          0
          • M Offline
            M Offline
            macfanpl
            wrote on last edited by
            #5

            Bluetooth has always been treated as SHIT by Qt/kde
            Qt lacks ( and always has lacked ) proper implementation of BT.

            1 Reply Last reply
            1

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved