QtVLC with Qt 4.8.4
-
Hello all,
I want to use QtVLC with Qt 4.8.4, please help me with the procedure to configure.
-
Hi
Do you mean this one ?
https://github.com/Orochimarufan/QtVlc
Its for Qt5 only. ( Says so on site)Or have you found another one with same name ?
or do you mean
https://vlc-qt.tano.si/ ? -
@mrjj thanks for the reply
I mean to say that, i want to use vlc mediaplayer in Qt4.8.4. will it possible to use or not?
-
@mrjj thanks for the reply
I mean to say that, i want to use vlc mediaplayer in Qt4.8.4. will it possible to use or not?
hi
vlc mediaplayer
The actual application ??
https://www.videolan.org/vlc/index.htmlIm not sure it supports embedding.
-
@mrjj said in QtVLC with Qt 4.8.4:
Im not sure it supports embedding.
It does and it works very easy - it just needs a winId.
-
@mrjj said in QtVLC with Qt 4.8.4:
Im not sure it supports embedding.
It does and it works very easy - it just needs a winId.
@Christian-Ehrlicher
Hi,
Can you please share the steps to configure? -
I more or less using the same stuff as here: https://wiki.videolan.org/LibVLC_SampleCode_Qt/
It's a little bit outdated, the init can be done easier nowadaysif (ui->outputWidget) { #if defined(Q_OS_WIN) libvlc_media_player_set_hwnd(m_mPlayer, (HWND)ui->outputWidget->winId()); #elif defined(Q_OS_MAC) libvlc_media_player_set_agl(m_mPlayer, ui->outputWidget->winId()) ; #else //Linux libvlc_media_player_set_xwindow(m_mPlayer, ui->outputWidget->winId()); #endif }
ui->outputWidget is a simple QWidget, the rest is not different then using plain libvlc.