mirror of
https://github.com/wang-bin/QtAV.git
synced 2026-10-29 11:36:51 +08:00
17 lines
368 B
Prolog
17 lines
368 B
Prolog
TEMPLATE = app
|
|
QT += opengl
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
CONFIG -= app_bundle
|
|
|
|
PROJECTROOT = $$PWD/../..
|
|
include($$PROJECTROOT/src/libQtAV.pri)
|
|
include($$PROJECTROOT/widgets/libQtAVWidgets.pri)
|
|
preparePaths($$OUT_PWD/../../out)
|
|
SOURCES += main.cpp
|
|
|
|
exists(test.mp4) {
|
|
RESOURCES += media.qrc
|
|
} else {
|
|
warning("put test.mp4 in this directory!")
|
|
}
|