Fixed application icon sizes and re-organized resource files to another location
[situare] / src / src.pro
index 5ae8c1b..97140ac 100644 (file)
@@ -5,7 +5,7 @@ TARGET = ../situare
 TEMPLATE = app
 INCLUDEPATH += "/usr/include/qjson"
 LIBS += "-lqjson"
-RESOURCES += images.qrc
+RESOURCES += ../images.qrc
 SOURCES += main.cpp \
     ui/mainwindow.cpp \
     ui/mapviewscreen.cpp \
@@ -53,9 +53,7 @@ QT += network \
     message(OpenGL built in)
     message(Make sure you have OpenGL development headers installed)
     message(install headers with: sudo apt-get install libgl-dev libglu-dev)
-}
 
-!maemo5 {
     message(QJson built in)
     message(Make sure you have QJson development headers installed)
     message(install headers with: sudo apt-get install libqjson-dev)
@@ -86,14 +84,11 @@ unix {
     desktop.path = $$DATADIR/applications/hildon
     desktop.files += situare.desktop
     INSTALLS += desktop
-    icon26.path = $$DATADIR/icons/hicolor/26x26/apps
-    icon26.files += situare.png
-    INSTALLS += icon26
-    icon40.path = $$DATADIR/icons/hicolor/40x40/apps
-    icon40.files += situare_40x40.png
-    INSTALLS += icon40
+    icon48.path = $$DATADIR/icons/hicolor/48x48/apps
+    icon48.files += ../res/icon/48x48/situare.png
+    INSTALLS += icon48
     icon64.path = $$DATADIR/icons/hicolor/64x64/apps
-    icon64.files += situare_64x64.png
+    icon64.files += ../res/icon/64x64/situare.png
     INSTALLS += icon64
     target.path = $$BINDIR
     INSTALLS += target