Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt on Apple platforms

Qt on Apple platforms

Scheduled Pinned Locked Moved Solved Installation and Deployment
iostvoscmake
3 Posts 1 Posters 451 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.
  • K Offline
    K Offline
    Kentzo
    wrote on 6 Dec 2023, 04:44 last edited by
    #1

    I'm trying to cross-compile a CMake Qt project for tvOS and the compilation fails due to linking to Apple frameworks that are not available on this platform (AssetLibrary).

    In the generated Xcode project I see a bunch of Apple frameworks referred via the OTHER_CPLUSPLUSFLAGS Xcode variable. None of them come from my CMakeLists definitions.

    I trust this frameworks are not picked arbitrarily, but what controls it? Please direct me how can I find the culprit that caused -framework AssetsLibrary included there.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Kentzo
      wrote on 6 Dec 2023, 07:25 last edited by
      #2

      None of the *.prl files in Qt/6.6.1/ios/lib seems to refer to AssetsLibrary.

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Kentzo
        wrote on 6 Dec 2023, 07:47 last edited by
        #3

        I just realized that Qt6 is not tested against tvOS specifically and is built against iOS. The latter has wider selection of available frameworks.

        I guess I'll need to manually Qt for tvOS.

        1 Reply Last reply
        0
        • K Kentzo has marked this topic as solved on 6 Dec 2023, 07:47

        2/3

        6 Dec 2023, 07:25

        • Login

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