Commit 5dc28924 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Doc: QtPlayer example: fix MacOS build with Qt4.8

Close #5835
parent 755c0cb3
......@@ -119,7 +119,7 @@ void Mwindow::openFile() {
/* Integrate the video in the interface */
#if defined(Q_OS_MAC)
libvlc_media_player_set_nsobject(vlcPlayer, videoWidget->winId());
libvlc_media_player_set_nsobject(vlcPlayer, (void *) videoWidget->winId());
#elif defined(Q_OS_UNIX)
libvlc_media_player_set_xwindow(vlcPlayer, videoWidget->winId());
#elif defined(Q_OS_WIN)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment