Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Bluetooth permission from Mac OS 11.0
Forum Updated to NodeBB v4.3 + New Features

Bluetooth permission from Mac OS 11.0

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 2 Posters 1.2k 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.
  • Pham HoangP Offline
    Pham HoangP Offline
    Pham Hoang
    wrote on last edited by
    #1

    Hi everyone,
    My bluetooth application is running as a service on Mac OS. everything work fine until Mac OS 11.0 (beta version) requires permission access for it. seem, normal application work fine. but i have no idea to do it with a service.
    Do you have any idea for that? or does QT have a plan to support us on this issue?

    1 Reply Last reply
    0
    • Pham HoangP Offline
      Pham HoangP Offline
      Pham Hoang
      wrote on last edited by
      #2

      do anyone has some suggestions on this?

      1 Reply Last reply
      0
      • J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        IIRC you have to add to the Info.plist an entry to NSBluetoothPeripheralUsageDescription
        and/or
        NSBluetoothAlwaysUsageDescription

        that should do the trick


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        0
        • Pham HoangP Offline
          Pham HoangP Offline
          Pham Hoang
          wrote on last edited by
          #4

          thank @J-Hilk . we checked that way, but seem, it doesn't work.

          J.HilkJ 1 Reply Last reply
          0
          • Pham HoangP Pham Hoang

            thank @J-Hilk . we checked that way, but seem, it doesn't work.

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by
            #5

            @Pham-Hoang well, it works for me.

            Show us your info.plist file and the pro file, and also make sure to delete the build folder after modifying and of those two


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            1 Reply Last reply
            0
            • Pham HoangP Offline
              Pham HoangP Offline
              Pham Hoang
              wrote on last edited by
              #6

              so, sorry @J-Hilk . i missed notify on this issue.
              uhm. our application is running as a service. is the issue from that? seem it haven't happened with normal applications.

              J.HilkJ 1 Reply Last reply
              0
              • Pham HoangP Pham Hoang

                so, sorry @J-Hilk . i missed notify on this issue.
                uhm. our application is running as a service. is the issue from that? seem it haven't happened with normal applications.

                J.HilkJ Offline
                J.HilkJ Offline
                J.Hilk
                Moderators
                wrote on last edited by
                #7

                @Pham-Hoang No problem :D

                our application is running as a service. is the issue from that

                possibly, sadly I do not have experience with services on macOS, so I can't really say for sure


                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                Q: What's that?
                A: It's blue light.
                Q: What does it do?
                A: It turns blue.

                1 Reply Last reply
                0

                • Login

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