View Full Version : libVLC integration in Qt
Zygyzy
4th February 2014, 21:36
I'm using Qt 5.2 and want to integrate vlclib in my own project. So I downloaded the source of vlclib (for Qt) and also the VLC player itself. I'm stuck in the integration, because I don't have experience with integration of third party components into Qt Creator. So what are the next steps? I know that I have to edit the pro file with libs and headers but don't know exactly how.
Thank you.
ChrisW67
4th February 2014, 22:05
Build and install the library then adapt your PRO file using paths that match your installed library:
Declaring Other Libraries
QMake Variable Reference: LIBS
QMake Variable Reference: INCLUDEPATH
Zygyzy
6th February 2014, 21:09
Thank you for the hints. I don't how to build the library out of the source. Which tool do I have to use? 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).
Thanks in advance.
ChrisW67
6th February 2014, 22:21
Building the library has nothing to do with Qt Creator.
Assuming you are using MingW for compiling your projects.
You will need the full MSys/Mingw suite (I do not think the cut-down version in the Qt binary download is sufficient)
https://wiki.videolan.org/Win32CompileMSYS/
BTW: I see no CMakelists.txt in the source: http://git.videolan.org/?p=vlc.git;a=tree
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.