Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt 6 custom permission string? requestPermission
Forum Updated to NodeBB v4.3 + New Features

Qt 6 custom permission string? requestPermission

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 60 Views 1 Watching
  • 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
    AnQuter
    wrote last edited by
    #1

    Hi all,

    so I'm a bit confused, or to say baffled on how the permission are working in Qt 6 when it comes to Android support.
    Yes, you can request support for most used predefined list of permission and I'm finding that great.
    But, I have a "custom" permission not on that list that has to be requested as well.
    I'm not sure why it wouldn't be possible to request a permission also by its string, as one has to do in Java / Kotlin?

    That should be quite simple to expose instead of having to write the same through JNI.

    I guess I'm missing something so would like to hear more,

    Best regards

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote last edited by
      #2

      Hi,

      From a quick search it's seems there's an android specific private API that you can leverage. Please note the warning that comes with it.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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