PDA

View Full Version : vlc-qt lib



postep
18th June 2013, 20:51
Hi, can anyone give me step by step solution of installing vlc-qt libary it can be staticly or dynamicly, i dont care. I tried google i will preciate any help. I found in this site: http://projects.tano.si/ libary and i added .h files but compiler gives me error: undefined reference to `_imp___ZN14VlcMediaPlayerC1EP11VlcInstance, so i think i dont have .dll files, but i dont know how to get them and where to put. i'm using windows and qt creator.

ChrisW67
19th June 2013, 01:19
I'd start by installing VLC and ensuring that the VLC core library can be found somewhere on the path specified in your LIBS variable along with the VLC-Qt stuff.


LIBS += -L$$quote{c:/Path to the/VLC-Qt} -lvlc-qt -lvlc-qt-widgets
LIBS += -L$$quote{C:/Program Files/VLC} -lvlccore

You will probably need to adjust the path and/or library name (I am guessing).

Beyond that, it is generally helpful if you post information on what you have done and what the entire error messages are.

postep
19th June 2013, 10:19
unfortunatly now program compile but get:
Starting C:\Qt\Qt5.0.1\Tools\QtCreator\bin\kamery2-build-Desktop_Qt_5_0_1_MinGW_32bit-Release\release\kamery2.exe...
The program has unexpectedly finished.
C:\Qt\Qt5.0.1\Tools\QtCreator\bin\kamery2-build-Desktop_Qt_5_0_1_MinGW_32bit-Release\release\kamery2.exe exited with code -1073741515