mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
Use queued signals instead of QEvent for the wakeup notification. This is slightly nicer, and reduces the chance that the event (QEvent::User) could clash with other code using the same event. Also switch to modern connect() syntax.
13 lines
203 B
Prolog
13 lines
203 B
Prolog
QT += core gui
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
TARGET = qtexample
|
|
TEMPLATE = app
|
|
|
|
CONFIG += link_pkgconfig debug
|
|
PKGCONFIG += mpv
|
|
|
|
SOURCES += qtexample.cpp
|
|
HEADERS += qtexample.h
|