Want to include vlc in your Qt application?

23 May 2009

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!

Jean-Baptiste Kempf

Comments

  1. On 27 May 27270, 5:11 by qt123

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

  2. On 9 May 9090, 2:33 by jay

    Is it possible to use vlc in MAC?

  3. On 7 May 7070, 12:49 by JBK

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

  4. On 1 May 1010, 5:55 by Pierre

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

  5. On 6 May 6060, 8:57 by CC

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

  6. On 28 May 28280, 2:08 by JBK

    What OS?

  7. On 28 May 28280, 11:13 by 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!