-qtc_packaging/debian_fremantle
\ No newline at end of file
+qtc_packaging/debian_harmattan
\ No newline at end of file
Type=Application
Terminal=false
Name=Medard
-Exec=/opt/usr/bin/medard
-Icon=medard
+Exec=/opt/medard/bin/medard
+Icon=/usr/share/icons/hicolor/64x64/apps/medard.png
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
translations/medard_sk.ts
unix:!symbian {
- DEPLOYMENTFOLDERS = translations
+ target.path = /opt/medard/bin
+
+ desktop.files = medard.desktop
+
+ icon.files = medard.png
+ icon.path = /usr/share/icons/hicolor/64x64/apps
+
+ translations.files = translations/*.qm
+ translations.path = /opt/medard/share/l10n
+
maemo 5 {
DEFINES += Q_WS_MAEMO_5
+ desktop.path = /usr/share/applications/hildon
} else {
DEFINES += Q_WS_MAEMO_6
CONFIG += meegotouch
+ desktop.path = /usr/share/applications
}
}
-translations.source = \
- translations/medard_cs.qm \
- translations/medard_en.qm \
- translations/medard_sk.qm
-
+INSTALLS += target desktop icon translations
\ No newline at end of file
-medard (0.2-1) harmattan; urgency=low
+medard (0.2.0) harmattan; urgency=low
* Initial Harmattan Release.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-
-
-
-
configure: configure-stamp
configure-stamp:
dh_testdir
- qmake PREFIX=/usr# Uncomment this line for use without Qt Creator
+ qmake PREFIX=/opt/medard # Uncomment this line for use without Qt Creator
touch configure-stamp
dh_installexamples
# dh_install
# dh_installmenu
-# dh_installdebconf
+# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
setObjectName("messageBox");
- setTitle("Medard 0.2\n");
+ setTitle("Medard 0.2.0\n");
setText(tr("Copyright(c) 2011 Roman Moravcik") +
tr("\n"
"Weather data:\n"
QString translatorFileName = "medard_" + QLocale::system().name();
QTranslator translator;
- if (translator.load(translatorFileName, "/opt/usr/share/medard/"))
+ if (translator.load(translatorFileName, "/opt/medard/share/l10n/"))
app.installTranslator(&translator);
#ifdef Q_WS_MAEMO_6