Added First version of MeeGo Harmattan port from pure QT to MTF.
[medard] / medard.pro
index a92596f..c2bc3e4 100644 (file)
@@ -1,50 +1,55 @@
-# Add files and directories to ship with the application 
-# by adapting the examples below.
-# file1.source = myfile
-# dir1.source = mydir
-translations.source = \
-    translations/medard_cs.qm \
-    translations/medard_en.qm \
-    translations/medard_sk.qm
-
-maemo5 {
-    DEPLOYMENTFOLDERS = translations
-}
+TARGET = medard
+TEMPLATE = app
+VERSION = 0.2.0
 
 QT += network
 
-# Avoid auto screen rotation
-DEFINES += ORIENTATIONLOCK
-
-# Needs to be defined for Symbian
-DEFINES += NETWORKACCESS
-
-symbian:TARGET.UID3 = 0xE49E7B8A
-
-# If your application uses the Qt Mobility libraries, uncomment
-# the following lines and add the respective components to the 
-# MOBILITY variable. 
-# CONFIG += mobility
-# MOBILITY +=
-
 SOURCES += \
     src/forecastwidget.cpp \
     src/medarddownloader.cpp \
     src/mainwindow.cpp \
     src/main.cpp \
     src/aboutdialog.cpp
+
 HEADERS += \
     src/forecastwidget.h \
     src/medarddownloader.h \
     src/mainwindow.h \
     src/aboutdialog.h
+
 FORMS +=
 
+OTHER_FILES += \
+    qtc_packaging/debian_fremantle/rules \
+    qtc_packaging/debian_fremantle/README \
+    qtc_packaging/debian_fremantle/copyright \
+    qtc_packaging/debian_fremantle/control \
+    qtc_packaging/debian_fremantle/compat \
+    qtc_packaging/debian_fremantle/changelog \
+    qtc_packaging/debian_harmattan/rules \
+    qtc_packaging/debian_harmattan/README \
+    qtc_packaging/debian_harmattan/copyright \
+    qtc_packaging/debian_harmattan/control \
+    qtc_packaging/debian_harmattan/compat \
+    qtc_packaging/debian_harmattan/changelog
+
 TRANSLATIONS += \
     translations/medard_cs.ts \
     translations/medard_en.ts \
     translations/medard_sk.ts
 
-# Please do not modify the following two lines. Required for deployment.
-include(deployment.pri)
-qtcAddDeployment()
+unix:!symbian {
+    DEPLOYMENTFOLDERS = translations
+    maemo 5 {
+        DEFINES += Q_WS_MAEMO_5
+    } else {
+        DEFINES += Q_WS_MAEMO_6
+        CONFIG += meegotouch
+    }
+}
+
+translations.source = \
+    translations/medard_cs.qm \
+    translations/medard_en.qm \
+    translations/medard_sk.qm
+