MichaelXanadu
MichaelXanadu

Reputation: 505

libVLC integration in Qt

I'm using Qt Creator 5.2 and want to integrate libVLC in my own project. So I downloaded the source of libVLC (for Qt) and also the VLC player itself. I think that I have to build the libVLC source to transform into a libary. But I don't know how to do this. I see that there's a CMakeLists.txt, but as far as I know I can not use CMake to build pro file for QT Creator, but only a sln file for Microsoft VS (which I don't use). Can anybody tell me how to build libVLC?

Thank you

Upvotes: 1

Views: 3555

Answers (1)

user3159253
user3159253

Reputation: 17455

  1. Qt Creator has support for CMake projects

  2. You may build the library using CMake itself

  3. If you're on Linux, then your distribution likely has libvlc and its development headers built and packaged, just search for it in a software center or command-line meta-package manager like apt or yum. If you're on Windows, bad luck :) , you have to build it yourself from sources :)

Upvotes: 1

Related Questions