Qt and Gstreamer on Mac Os.

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Fri May 17 02:32:04 PDT 2013


On Wed, May 15, 2013 at 4:00 PM, Sasha1987 <topilski at mail.ru> wrote:

> Hello, i am created application where i use Gstreamer library. I am started
> develop on linux, but now needed ported this solution on Mac. When i
> builded
> new version i got many crashes, some warning messages start printed in my
> output window for example:QPixmap: It is not safe to use pixmaps outside
> the
> GUI thread, Cocoa exception: _createMenuRef called with existing principal
>

The Qt error ("QPixmap: It is not safe to use pixmaps outside the
GUI thread") indicates you're using some GUI component in your (Qt?)
application without using a QApplication instance (I think you might be
using only QCoreApplication in your app). This won't work as the GUI
subsystem needs initialization which is done when you use a QApplication.
Try using it and see if the crashes disappear.

HTH,
-mandeep



> MenuRef already associated with menu, and creshes my app, in some cases all
> worked normally but very slowly and crashes after 5 - 10 seconds playing.
> May be somebody work with Gstreamer on Mac and may help me to resolve this
> problems?
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Qt-and-Gstreamer-on-Mac-Os-tp4659940.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130517/62eff63b/attachment.html>


More information about the gstreamer-devel mailing list