Search found 5 matches

Go to advanced search

by ghalter
13 Aug 2019 09:14
Forum: Development around libVLC
Topic: libVLC and Qt DockWidgets on OSX
Replies: 4
Views: 1096

Re: libVLC and Qt DockWidgets on OSX

This is super old, but turns out I just found a solution today.

This behaviour can be solved by setting Qt::AA_DontCreateNativeWidgetSiblings.
right after creating the QApplication:

Code: Select all

app = QApplication(sys.argv) app.setAttribute(Qt.AA_DontCreateNativeWidgetSiblings)
by ghalter
20 Jan 2018 19:20
Forum: Development around libVLC
Topic: CTYPES error on OSX
Replies: 6
Views: 617

Re: CTYPES error on OSX

Ah, you have to cast the winID to int:

the line:

Code: Select all

self.mediaplayer.set_nsobject(self.videoframe.winId())
should be:

Code: Select all

self.mediaplayer.set_nsobject(int(self.videoframe.winId()))
your code works fine then on my machine.
by ghalter
20 Jan 2018 11:45
Forum: Development around libVLC
Topic: CTYPES error on OSX
Replies: 6
Views: 617

Re: CTYPES error on OSX

I happen to have embedded libVLC into a cross-platform PyQt Application, although PyQt5, could you show how you embed vlc player into pyqt?
by ghalter
18 Jan 2018 12:52
Forum: Development around libVLC
Topic: libVLC and Qt DockWidgets on OSX
Replies: 4
Views: 1096

Re: libVLC and Qt DockWidgets on OSX

Hey Jean-Baptiste, I'm essentially using an adaption of the PyQT4 tutorial I found somewhere. I have written a minimal example to reproduce this problem in python: I'm using python3 and anacondas pyqt 5.6.0. https://github.com/ghalter/CodeSnippets/tree/master/QTVLC/demo.py While I have not tested it...
by ghalter
12 Jan 2018 06:54
Forum: Development around libVLC
Topic: libVLC and Qt DockWidgets on OSX
Replies: 4
Views: 1096

libVLC and Qt DockWidgets on OSX

Hey everybody, First of all: Thank you so much for libVLC, it is truly awesome! I'm currently developing a movie-annotation application using libVLC and Qt. While everything works as expected on Windows and Ubuntu, I have the strange issue, that QDockWidgets get broken by the VLC-Instance on OSX. I'...

Go to advanced search