1TEMPLATE = app 2greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 3CONFIG -= app_bundle 4 5PROJECTROOT = $$PWD/../.. 6include($$PROJECTROOT/src/libQtAV.pri) 7include($$PROJECTROOT/widgets/libQtAVWidgets.pri) 8preparePaths($$OUT_PWD/../../out) 9SOURCES += main.cpp 10 11exists(test.mp4) { 12 RESOURCES += media.qrc 13} else { 14 warning("put test.mp4 in this directory!") 15} 16