How to Run it in Windows
-
Download Qt5
-
Download the vlc from http://www.videolan.org/vlc/download-sources.html and vlc-qt from http://projects.tano.si/vlc-qt
-
Change the *.pro file
add these codes:
LIBS += -L/*your vlc-qt lib*/ -lvlc-qt -lvlc-qt-widgets INCLUDEPATH += /*your qt include folder*/ CONFIG += release
-
Build the project, in case of build failure, I recommand the MSVC2012 C++ compiler.
-
Copy the vlc-qt-widgets.dll and vlc-qt.dll files from the directory of vlc-qt\bin into the build folder. Copy the libraries(all *.dll) and plugins directory from your vlc download into the build folder.
-
Run your project, good luck!
Reference: http://derekmolloy.ie/custom-video-streaming-player-using-libvlc-and-qt/