Uses splashsreen
authorHeli Hyvättinen <heli.hyvattinen@kymp.net>
Wed, 26 Oct 2011 15:17:34 +0000 (18:17 +0300)
committerHeli Hyvättinen <heli.hyvattinen@kymp.net>
Wed, 26 Oct 2011 15:17:34 +0000 (18:17 +0300)
...to make slow start tolerable...

chessclock.desktop
chessclock.pro
chessclock_splashscreen.png [new file with mode: 0644]

index fe3e48c..3573b22 100644 (file)
@@ -4,7 +4,7 @@ Version=1.0
 Type=Application
 Terminal=false
 Name=Chess Clock
-Exec=invoker --single-instance --type=d /opt/chessclock/bin/chessclock
+Exec=invoker --single-instance --type=d --splash=/opt/chessclock/images/chessclock_splashscreen.png /opt/chessclock/bin/chessclock
 Icon=/usr/share/icons/hicolor/64x64/apps/chessclock.png
 X-Window-Icon=
 X-HildonDesk-ShowInToolbar=true
index 7fd1f0a..1afab8a 100644 (file)
@@ -66,13 +66,19 @@ OTHER_FILES += \
     qtc_packaging/debian_harmattan/changelog \
     qml/ClocksPage.qml \
     qml/AboutPage.qml \
-    qml/NewGameDialogPage.qml
+    qml/NewGameDialogPage.qml \
+    chessclock_splashscreen.png
 
 
 RESOURCES += \
     res.qrc \
     chessclock.qrc
 
+splash.files = chessclock_splashscreen.png
+splash.path = /opt/chessclock/images
+INSTALLS += splash
+
+
 # Please do not modify the following two lines. Required for deployment.
 include(deployment.pri)
 qtcAddDeployment()
@@ -85,7 +91,14 @@ QMAKE_LFLAGS += -pie -rdynamic
 unix:!symbian:!maemo5 {
     target.path = /opt/chessclock/bin
     INSTALLS += target
+
+
 }
 
 
 
+
+
+
+
+
diff --git a/chessclock_splashscreen.png b/chessclock_splashscreen.png
new file mode 100644 (file)
index 0000000..4a2339c
Binary files /dev/null and b/chessclock_splashscreen.png differ