Skip to content
Snippets Groups Projects
Commit 0e9f4641 authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Hugo Beauzée-Luyssen
Browse files

doc: QtPlayer: update .pro file to use pkg-config


It allows to configure the example with, for instance, the following
command line:

    PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ qmake ..

PKG_CONFIG_PATH can be adapted to the path where libvlc has been
installed and/or where Qt is available.

This also remove the unused parts, and add QT += widgets which is needed
to compile.

Cherry-picked from commit d99c2801.

Signed-off-by: default avatarAlexandre Janniaux <alexandre.janniaux@gmail.com>
parent de4d6d51
No related branches found
No related tags found
2 merge requests!3533Backport MR 3236 to 3.0.x,!896QtPlayer example: backport patches from master
TEMPLATE = app
TARGET = qtvlc
DEPENDPATH += .
INCLUDEPATH += .
LIBS += -lvlc -lX11
# Input
CONFIG += link_pkgconfig force_debug_info
PKGCONFIG = libvlc
QT += widgets
HEADERS += player.h
SOURCES += main.cpp player.cpp
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment