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.9.3 and 6.10.0: Compile for iOS-Simulator doesn't work because of unused plugin
Forum Updated to NodeBB v4.3 + New Features

QT 6.9.3 and 6.10.0: Compile for iOS-Simulator doesn't work because of unused plugin

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6.9.36.9.10plugincamera
1 Posts 1 Posters 69 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.
  • T Offline
    T Offline
    TheoSys
    wrote last edited by TheoSys
    #1

    Hi,

    I try to compile my app for the iOS-Simulator, but that doesn't work. I get this error:

    ld: building for 'iOS-simulator', but linking in object file (/opt/Qt/6.10.0/ios/plugins/permissions/objects-Debug/QDarwinCameraPermissionPlugin_init/QDarwinCameraPermissionPlugin_init.cpp.o) built for 'iOS'
    

    With Qt 6.9.3 I get the same error.

    I don't need the camera in my app. Is there a way to avoid linking against this object file?
    I tried already in the cmake file the following:

    qt_import_plugins(tpanel EXCLUDE Qt6::QDarwinCameraPermissionPlugin Qt6::QDarwinCameraPermissionPlugin_init)
    

    But this doesn't work.

    I'm working on a Mac Mini M1 with latest OS v26.

    A.T.

    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