Updated club file
[scorecard] / scorecard.pro
index 830f8a3..f3dd8da 100644 (file)
@@ -10,37 +10,31 @@ CONFIG  += qt debug
 TEMPLATE = app
 QT      += xml
 
+RESOURCES = scorecard.qrc
+
 HEADERS  = \
 src/main-window.h \
 src/score-dialog.h \
 src/course-dialog.h \
-src/cell-delegate.h \
 src/table-model.h \
 src/xml-dom-parser.h \
-src/data.h \
-src/tree-model.h \
-src/tree-item.h \
-src/tree-widget.h
+src/data.h
 
 SOURCES  = \
 src/main.cpp \
 src/main-window.cpp \
 src/score-dialog.cpp \
 src/course-dialog.cpp \
-src/cell-delegate.cpp \
 src/table-model.cpp \
 src/xml-dom-parser.cpp \
-src/data.cpp \
-src/tree-model.cpp \
-src/tree-item.cpp \
-src/tree-widget.cpp
+src/data.cpp
 
 unix {
     #VARIABLES
     PREFIX = /opt/scorecard
     BINDIR = $$PREFIX/bin
     DATADIR = $$PREFIX/data
-    IMGDIR = $$PREFIX/images
+    IMGDIR = /usr/share/icons/hicolor
     MAEMODIR = /usr/share/applications/hildon
 
     DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
@@ -52,21 +46,20 @@ unix {
 
     data.path = $$DATADIR
     data.files += data/club.xml
-    data.files += data/score.xml
 
     desktop.path = $$MAEMODIR
     desktop.files += maemo/scorecard.desktop
 
-    iconxpm.path = $$IMGDIR/pixmap
+    iconxpm.path = /usr/share/pixmap
     iconxpm.files += images/scorecard.xpm 
 
-    icon26.path = $$IMGDIR/icons/hicolor/26x26/apps
+    icon26.path = $$IMGDIR/26x26/apps
     icon26.files += images/scorecard_icon_26x26.png 
 
-    icon40.path = $$IMGADIR/icons/hicolor/40x40/apps
+    icon40.path = $$IMGADIR/40x40/apps
     icon40.files += images/scorecard_icon_40x40.png 
 
-    icon64.path = $$IMGDIR/icons/hicolor/64x64/apps
+    icon64.path = $$IMGDIR/64x64/apps
     icon64.files += images/scorecard_icon_64x64.png 
     
 }