Add .desktop and icon file installation
[apps/hvac.git] / app / app.pro
index edd08aa..8c4c5a4 100644 (file)
@@ -1,17 +1,26 @@
+TEMPLATE = app
 TARGET = hvac
-QT = quick qml
+QT = qml quick
+CONFIG += c++11 link_pkgconfig
+
+PKGCONFIG += qtappfw-hvac
 
 HEADERS += \
     translator.h
 
-SOURCES = main.cpp \
+SOURCES = \
+    main.cpp \
     translator.cpp
 
 RESOURCES += \
     hvac.qrc \
     images/images.qrc
 
-include(app.pri)
-
 LANGUAGES = ja_JP fr_FR
 include(translations.pri)
+
+target.path = /usr/bin
+target.files += $${OUT_PWD}/$${TARGET}
+target.CONFIG = no_check_exist executable
+
+INSTALLS += target