Want to include vlc in your Qt application?

Qt and VLC

Well, we have a very easy howto for you: libVLC in Qt .

This will output the video inside the widget that you want using QWidget::winId() method.

This has been tested on Linux and Windows, using libVLC 0.9.9.

Need

If you can’t build your application easily, remember to install libvlc-dev or to use the SDK for windows from the .zip files of the releases!

Participate

Don’t hesitate to complete this!

Comments

  1. roxen ·

    Hello,
    I followed the VLC guide in order to open vlc source code in Qtcreator, but when I try to build the project it return:

    Running build steps for project VLC…
    Starting: make all
    make: *** No rule to make target `all’. Stop.
    Exited with code 2.
    Error while building project VLC
    When executing build step ‘Make’

    Do I explicitly have to indicate the path of Makefile maybe?? Any clue ?

    Thank you very much!

  2. JBK ·

    What OS?

  3. CC ·

    can not find libvlc-dev or the windows zip file, can you provide a link?

  4. Pierre ·

    That’s a really nice sample code. Pretty cool it’s a few lines even in QT.

  5. JBK ·

    Qt is a very nice framework, but I miss a few coreanimation stuffs.

  6. jay ·

    Is it possible to use vlc in MAC?

  7. qt123 ·

    How about sample for 1.1.4? This is outdated! Thanks.