changelog date format fix
[scorecard] / scorecard.pro
index 830f8a3..e8504b1 100644 (file)
@@ -8,39 +8,40 @@ QMAKE_CXXFLAGS += -Wno-return-type
 
 CONFIG  += qt debug
 TEMPLATE = app
-QT      += xml
+QT      += xml maemo5
+
+RESOURCES = scorecard.qrc
 
 HEADERS  = \
+src/score-common.h \
 src/main-window.h \
 src/score-dialog.h \
 src/course-dialog.h \
-src/cell-delegate.h \
+src/settings-dialog.h \
 src/table-model.h \
+src/list-model.h \
+src/stat-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/settings-dialog.cpp \
 src/table-model.cpp \
+src/list-model.cpp \
+src/stat-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\\\"
@@ -51,22 +52,21 @@ unix {
     target.path =$$BINDIR
 
     data.path = $$DATADIR
-    data.files += data/club.xml
-    data.files += data/score.xml
-
+    data.files += data/club-master.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 
     
 }