Unsolved How to load custom libraries in vlc-qt?
-
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?
-
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_TARGETDEPS
for 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.
docs: http://doc.qt.io/qt-5/qmake-variable-reference.html#libs