How to load custom libraries in vlc-qt?
-
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