1
0
Fork 0
VideoPlayer/KittehPlayer.pro
2018-11-07 07:42:47 +00:00

37 lines
726 B
Prolog

TARGET = KittehPlayer
TEMPLATE = app
QT += qml quickcontrols2 widgets x11extras
SOURCES += src/main.cpp src/MpvPlayerBackend.cpp
CONFIG += release
#CONFIG+=qtquickcompiler
QT_CONFIG -= no-pkg-config
CONFIG += link_pkgconfig
PKGCONFIG += mpv x11 xext
RESOURCES += src/qml/qml.qrc
unix {
isEmpty {
PREFIX = /usr
}
target.path = $$PREFIX/bin
desktop.files = KittehPlayer.desktop
desktop.path = $$PREFIX/share/applications/
icon.files += KittehPlayer.png
icon.path = $$PREFIX/share/icons/hicolor/256x256/apps/
INSTALLS += desktop
INSTALLS += icon
}
INSTALLS += target
HEADERS += src/MpvPlayerBackend.h
DISTFILES += KittehPlayer.desktop KittehPlayer.png README.md LICENSE.txt