Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to load custom libraries in vlc-qt?
abhay last edited by
Hello!I want to load the custom vlc which is installed by building the source code and I don't want to use the system version(installed if any) for my mediaplayer using vlc-qt.Can anyone tell me how to deal with this?
LuGRU last edited by
Specify path to the lib, instead of leaving it empty, like this:
LIBS += -L$$OUT_PWD/../../../projects/mylib/ -lmylib
You may also consider using
PRE_TARGETDEPSfor static libraries, but I doub that You did compiled libVlc statically.
Also if You do work with custom libraries sometimes You will need to copy them to debug / release directories, bo work around this use -L with basically specify path for library.