Update for app framework removal
[apps/mediaplayer.git] / app / app.pro
index 23ecfea..d14bdb6 100644 (file)
@@ -1,14 +1,18 @@
+TEMPLATE = app
 TARGET = mediaplayer
-QT = quickcontrols2 multimedia
+QT = qml quickcontrols2
+CONFIG += c++11 link_pkgconfig
 
-HEADERS += \
-    playlistwithmetadata.h
+PKGCONFIG += qtappfw-mediaplayer
 
-SOURCES = main.cpp \
-    playlistwithmetadata.cpp
+SOURCES = main.cpp
 
 RESOURCES += \
     mediaplayer.qrc \
     images/images.qrc
 
-include(app.pri)
+target.path = /usr/bin
+target.files += $${OUT_PWD}/$${TARGET}
+target.CONFIG = no_check_exist executable
+
+INSTALLS += target