Results 1 to 2 of 2

Thread: GStreamer on Qt for iOS

  1. #1
    Join Date
    May 2021
    Qt products
    Qt5 Qt/Embedded
    MacOS X Unix/X11 Windows

    Default GStreamer on Qt for iOS


    I'm trying to develop an iOS application (iPad should be the main target) for controlling a device (Linux embedded) connected to the same network.

    Basically it is a remote desktop application.

    The application should play a stream video stream transmitted over the network from the Linux device. I use GStreamer for that. I already downloaded and succesfully installed the iOS package from the official site (

    Now, I have some trouble linking the GStreamer framework in the .pro file.

    In desktop environments (Windows, Linux and macOS) all I need to do is to use pkg-config

    Qt Code:
    1. mac {
    2. QT_CONFIG -= no-pkg-config
    3. PKG_CONFIG = /usr/local/bin/pkg-config
    4. }
    6. CONFIG += link_pkgconfig
    7. PKGCONFIG += gstreamer-1.0
    8. PKGCONFIG += gstreamer-pbutils-1.0
    To copy to clipboard, switch view to plain text mode 

    and it works just fine. In iOS I don't have pkg-config (afik), so I manually added the framework:

    Qt Code:
    1. LIBS += -F$$PWD/../../Library/Developer/GStreamer/iPhone.sdk/ -framework GStreamer
    3. INCLUDEPATH += $$PWD/../../Library/Developer/GStreamer/iPhone.sdk/GStreamer.framework/Versions/1.0/Headers
    4. DEPENDPATH += $$PWD/../../Library/Developer/GStreamer/iPhone.sdk/GStreamer.framework/Versions/1.0/Headers
    6. macx: LIBS += -L$$PWD/../../../../Applications/ -liconv
    To copy to clipboard, switch view to plain text mode 

    When I try to build, it gives me this error:

    Qt Code:
    1. GStreamer(libglib-2_0_a-gconvert.c.o):-1: error: Undefined symbols for architecture x86_64:
    2. "___darwin_check_fd_set_overflow", referenced from:
    3. _gst_poll_wait in GStreamer(libgstreamer-1_0_a-gstpoll.c.o)
    To copy to clipboard, switch view to plain text mode 

    I'm aware of the existence of a similar question on ( but I still couldn't figure out the problem.

    Any thoughts? Thanks

    Additional info

    The application must be multi-platform, so it must be built in Qt Creator. It already works on Windows, Linux and macOS.
    developing machine macOS 11.3.1
    Xcode version 11.2.1
    Qt version 5.15.2

  2. #2
    Join Date
    Jan 2008
    Alameda, CA, USA
    Thanked 864 Times in 851 Posts
    Qt products

    Default Re: GStreamer on Qt for iOS

    Your original post was placed in the "moderation" queue for some reason, so it was not visible on the forum. I will close this thread and direct replies to your duplicate post (which was also moderated but is now visible).

    Bots do strange things sometimes. Sorry for the inconvenience.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. GStreamer on Qt for iOS
    By FM in forum Qt Programming
    Replies: 0
    Last Post: 13th May 2021, 13:24
  2. How to incorporate qt-gstreamer into Qt?
    By embdev in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 22nd November 2016, 12:55
  3. Qt 4.8.5 & gstreamer overlay
    By woutervh in forum Qt Programming
    Replies: 1
    Last Post: 5th August 2015, 09:37
  4. GStreamer, Qt4, QDevelop and C++
    By midiangr in forum Qt Programming
    Replies: 5
    Last Post: 28th April 2009, 19:46
  5. how to use gstreamer with Qt
    By qwakaw in forum Qt Programming
    Replies: 9
    Last Post: 27th August 2008, 14:41

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.