Fix desktop default size
[qquiz] / src / src.pro
1 ######################################################################
2 # Automatically generated by qmake (2.01a) ven. janv. 29 19:13:59 2010
3 ######################################################################
4
5 TEMPLATE = app
6 TARGET = qquiz
7 DEPENDPATH += . src
8 INCLUDEPATH += .
9
10 CONFIG += qt
11 # CONFIG += debug
12 # Input
13 HEADERS += quiz.h
14 SOURCES += main.cpp quiz.cpp
15
16   unix {
17     #VARIABLES
18     isEmpty(PREFIX) {
19         PREFIX = /usr/local
20   }
21
22 DATADIR =$$PREFIX/share
23 PKGDATADIR = $$DATADIR/$${TARGET}
24
25 DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
26
27 BINDIR = $$PREFIX/bin
28
29 #MAKE INSTALL
30
31 INSTALLS += target desktop iconxpm icon26 icon48 icon64 beatles_albums \
32                         capitals constants radio_code
33
34   target.path =$$BINDIR
35
36   desktop.path = $$DATADIR/applications/hildon
37   desktop.files += ../data/$${TARGET}.desktop
38
39   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
40   icon26.files += ../data/icons/26x26/qquiz.png
41
42   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
43   icon48.files += ../data/icons/48x48/qquiz.png
44
45   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
46   icon64.files += ../data/icons/64x64/qquiz.png
47
48   beatles_albums.path = $$PKGDATADIR
49   beatles_albums.files += ../data/beatles_albums
50
51   capitals.path = $$PKGDATADIR
52   capitals.files += ../data/capitals
53
54   constants.path = $$PKGDATADIR
55   constants.files += ../data/constants
56
57   radio_code.path = $$PKGDATADIR
58   radio_code.files += ../data/radio_code
59
60   }