mirror of https://github.com/mpv-player/mpv
DOCS/client_api_examples: Qt: force qmake to use pkg-config.
(cherry picked from commit 5d2a2c7fc2
)
This commit is contained in:
parent
679de2b295
commit
d5b6419eec
|
@ -3,6 +3,7 @@ QT += qml quick
|
|||
HEADERS += main.h
|
||||
SOURCES += main.cpp
|
||||
|
||||
QT_CONFIG -= no-pkg-config
|
||||
CONFIG += link_pkgconfig debug
|
||||
PKGCONFIG += mpv
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ QT += qml quick
|
|||
HEADERS += main.h
|
||||
SOURCES += main.cpp
|
||||
|
||||
QT_CONFIG -= no-pkg-config
|
||||
CONFIG += link_pkgconfig debug
|
||||
PKGCONFIG += mpv
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|||
TARGET = qtexample
|
||||
TEMPLATE = app
|
||||
|
||||
QT_CONFIG -= no-pkg-config
|
||||
CONFIG += link_pkgconfig debug
|
||||
PKGCONFIG += mpv
|
||||
|
||||
|
|
Loading…
Reference in New Issue