Fixing application crash if images directory empty
[impuzzle] / src / src.pro
index 14d00c1..2b2b969 100644 (file)
@@ -3,22 +3,33 @@ TARGET = impuzzle
 DEPENDPATH += .
 INCLUDEPATH += .
 DESTDIR = ../bin
+maemo5:QT += maemo5
 
 # Input
 HEADERS += gameview.h \
     mainwindow.h \
     imageimporter.h \
     puzzleitem.h \
-    newgamedialog.h \
     defines.h \
-    introitem.h
-
+    introitem.h \
+    settings.h \
+    settingsdialog.h \
+    aboutdialog.h
 SOURCES += gameview.cpp \
     main.cpp \
     mainwindow.cpp \
     imageimporter.cpp \
     puzzleitem.cpp \
-    newgamedialog.cpp \
-    introitem.cpp
-
+    introitem.cpp \
+    settings.cpp \
+    settingsdialog.cpp \
+    aboutdialog.cpp
 RESOURCES += resources.qrc
+desktop.files += impuzzle.desktop
+desktop.path = /usr/share/applications/hildon/
+icon.files += images/impuzzle.png
+icon.path = /usr/share/pixmaps/
+target.path = /opt/impuzzle/
+INSTALLS += target \
+    desktop \
+    icon