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. Qt6::Multimedia. It fails to build for iOS SImulator target

Qt6::Multimedia. It fails to build for iOS SImulator target

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 4 Posters 262 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.
  • C Offline
    C Offline
    chka
    wrote on 25 Feb 2025, 17:44 last edited by
    #1

    in Qt 6.8 when adding "Quick Qt6::Multimedia" to target_link_libraries(appexample7
    PRIVATE Qt6::Quick Qt6::Multimedia) it fails to build for iOS SImulator target. How to fix ?

    other targets working fine

    J 1 Reply Last reply 26 Feb 2025, 06:16
    0
    • C chka
      25 Feb 2025, 17:44

      in Qt 6.8 when adding "Quick Qt6::Multimedia" to target_link_libraries(appexample7
      PRIVATE Qt6::Quick Qt6::Multimedia) it fails to build for iOS SImulator target. How to fix ?

      other targets working fine

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 26 Feb 2025, 06:16 last edited by
      #2

      @chka What error do you get?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • R Offline
        R Offline
        RogueWarrior
        wrote on 12 Mar 2025, 22:40 last edited by
        #3

        I have the same problem. I forget the specifics but it usually craps out trying to compile things related to ffmpeg. This problem exists with Qt Example code, not just my own. I wonder if the iOS simulator can't handle certain aspects of multimedia e.g. the camera. I also wonder if a big monolithic multimedia library is a poor design choice. I don't need camera capabilities but I would like audio output.

        J 1 Reply Last reply 13 Mar 2025, 16:48
        0
        • R RogueWarrior
          12 Mar 2025, 22:40

          I have the same problem. I forget the specifics but it usually craps out trying to compile things related to ffmpeg. This problem exists with Qt Example code, not just my own. I wonder if the iOS simulator can't handle certain aspects of multimedia e.g. the camera. I also wonder if a big monolithic multimedia library is a poor design choice. I don't need camera capabilities but I would like audio output.

          J Offline
          J Offline
          JoeCFD
          wrote on 13 Mar 2025, 16:48 last edited by JoeCFD
          #4

          @RogueWarrior Multimedia module uses ffmpeg as default backend. I guess you may need to install ffmpeg. If you prefer gstreamer, install gstreamer.

          1 Reply Last reply
          0
          • R Offline
            R Offline
            RogueWarrior
            wrote on 13 Mar 2025, 18:57 last edited by
            #5

            Okay, but how would you do that on the iPhone Simulator?

            1 Reply Last reply
            0
            • R Offline
              R Offline
              RogueWarrior
              wrote on 14 Mar 2025, 22:53 last edited by
              #6

              Okay, so the linker error is essentially saying that it's looking for x86_64 functions but only arm64 versions exist.

              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