cleanup
[lichviet] / LichViet.pro
index 406941b..06f3e1b 100644 (file)
@@ -1,20 +1,22 @@
-VERSION = 1.0.1
+VERSION = 1.0.2
 DEFINES += APP_VERSION=\\\"$$VERSION\\\"
 # Add more folders to ship with the application, here
 #folder_01.source = qml/LichViet
 #folder_01.target = qml
 #DEPLOYMENTFOLDERS = folder_01
-themes.source = themes
-themes.target = /
-DEPLOYMENTFOLDERS = themes
+themes_qml.source = qml/themes
+themes_qml.target = /
+DEPLOYMENTFOLDERS = themes_qml
+
+QT += dbus
 
 # Additional import path used to resolve QML modules in Creator's code model
-QML_IMPORT_PATH =
+#QML_IMPORT_PATH =
 
-symbian:TARGET.UID3 = 0xE3016781
+#symbian:TARGET.UID3 = 0xE3016781
 
 # Allow network access on Symbian
-symbian:TARGET.CAPABILITY += NetworkServices
+#symbian:TARGET.CAPABILITY += NetworkServices
 
 # Define QMLJSDEBUGGER to allow debugging of QML in debug builds
 # (This might significantly increase build time)
@@ -28,7 +30,7 @@ symbian:TARGET.CAPABILITY += NetworkServices
 
 # The .cpp file which was generated for your project. Feel free to hack it.
 SOURCES += main.cpp \
-    lunarcalendar.cpp
+    controller.cpp
 
 # Please do not modify the following two lines. Required for deployment.
 include(qmlapplicationviewer/qmlapplicationviewer.pri)
@@ -38,7 +40,7 @@ RESOURCES += \
     lichviet.qrc
 
 HEADERS += \
-    lunarcalendar.h
+    controller.h
 
 OTHER_FILES += \
     debian/changelog \
@@ -57,7 +59,6 @@ OTHER_FILES += \
     qml/LichViet/TitleBar.qml \
     qml/LichViet/Switch.qml \
     qml/LichViet/OptionsScreen.qml \
-    qml/LichViet/NoFeatureDialog.qml \
     qml/LichViet/MultiTitleBar.qml \
     qml/LichViet/MenuScreen.qml \
     qml/LichViet/main.qml \
@@ -67,4 +68,30 @@ OTHER_FILES += \
     qml/LichViet/About.qml \
     qml/LichViet/amlich-aa98.js \
     qml/LichViet/AmDateTimeDialog.qml \
-    qml/LichViet/xemngaytotxau.js
+    qml/LichViet/xemngaytotxau.js \
+    qml/LichViet/CacNgayLeTrongNam.js \
+    qml/LichViet/ChangeTheme.qml \
+    qml/LichViet/MenuButton.qml \
+    qml/LichViet/ScrollBar.qml \
+    qml/LichViet/FileBrowser.qml \
+    qml/LichViet/main.js
+
+unix:!symbian:!maemo5 {
+    target.path = /opt/LichViet/bin
+    INSTALLS += target
+}
+
+unix:!symbian:!maemo5 {
+    target.path = /opt/LichViet/bin
+    INSTALLS += target
+}
+
+unix:!symbian:!maemo5 {
+    target.path = /opt/LichViet/bin
+    INSTALLS += target
+}
+
+maemo5 {
+    target.path = /opt/LichViet/bin
+    INSTALLS += target
+}