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 crashes if user doesn't allow Camera on iOS
Forum Updated to NodeBB v4.3 + New Features

Qt crashes if user doesn't allow Camera on iOS

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 692 Views 2 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.
  • ekkescornerE Offline
    ekkescornerE Offline
    ekkescorner
    Qt Champions 2016
    wrote on last edited by
    #1

    see https://bugreports.qt.io/browse/QTBUG-65740

    if user disables Camera permission from Settings or answered No as he/she was asked,
    Qt App crashes if Camera and VideoOutput are used.
    Didn't found a way to detect that Permissions are not set.

    does someone know HowTo detect if Camera Permissions are set on iOS ?

    ekke ... Qt Champion 2016 | 2024 ... mobile business apps
    5.15 --> 6.9 https://t1p.de/ekkeChecklist
    QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

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

      Hi,

      AFAIK, there's nothing currently directly available through Qt.

      Something like described in this stack overflow answer would likely do the job.

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

      ekkescornerE 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        AFAIK, there's nothing currently directly available through Qt.

        Something like described in this stack overflow answer would likely do the job.

        ekkescornerE Offline
        ekkescornerE Offline
        ekkescorner
        Qt Champions 2016
        wrote on last edited by
        #3

        @SGaist thx
        also got feedback from QTBUG-65740
        will come back tomorrow or so and publish solution

        ekke ... Qt Champion 2016 | 2024 ... mobile business apps
        5.15 --> 6.9 https://t1p.de/ekkeChecklist
        QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

        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