Add .desktop and icon file installation
[apps/hvac.git] / app / app.pro
index 00c9c55..8c4c5a4 100644 (file)
@@ -1,13 +1,26 @@
+TEMPLATE = app
 TARGET = hvac
-QT = quickcontrols2 qml
+QT = qml quick
+CONFIG += c++11 link_pkgconfig
 
-SOURCES = main.cpp
+PKGCONFIG += qtappfw-hvac
 
-CONFIG += link_pkgconfig
-PKGCONFIG += libhomescreen libwindowmanager qlibwindowmanager
+HEADERS += \
+    translator.h
+
+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