vlc | branch: master | Alexandre Janniaux <[email protected]> | Mon Nov  9 
14:33:07 2020 +0100| [d99c280178ef5c09923d101a0fa103f0aa0c1b3c] | committer: 
Alexandre Janniaux

doc: QtGL: use pkg-config to find libvlc

The sample can now be built using either directly `qmake` (using
pkg-config to find the library on the system) or with the longer
`PKG_CONFIG_PATH=/path/where/vlc/is/installed qmake`.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d99c280178ef5c09923d101a0fa103f0aa0c1b3c
---

 doc/libvlc/QtGL/QtGl.pro | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/doc/libvlc/QtGL/QtGl.pro b/doc/libvlc/QtGL/QtGl.pro
index 0d87c88727..acb867c197 100644
--- a/doc/libvlc/QtGL/QtGl.pro
+++ b/doc/libvlc/QtGL/QtGl.pro
@@ -1,9 +1,8 @@
 TEMPLATE = app
 TARGET = qtglvlc
-DEPENDPATH += .
-INCLUDEPATH += . ../../../include
-LIBS += -lvlc
-#-L../../../../build/git64/lib/.libs
+
+CONFIG += link_pkgconfig
+PKGCONFIG = libvlc
 QT += widgets
 
 SOURCES += main.cpp qtvlcwidget.cpp

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to