17bfeb597f3b9e344e0064ff873d553d680c0b4d
[qquiz] / 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
32
33   target.path =$$BINDIR
34
35   desktop.path = $$DATADIR/applications/hildon
36   desktop.files += $${TARGET}.desktop
37
38   iconxpm.path = $$DATADIR/pixmap
39   iconxpm.files += ../data/maemo/$${TARGET}.xpm
40
41   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
42   icon26.files += ../data/26x26/$${TARGET}.png
43
44   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
45   icon48.files += ../data/48x48/$${TARGET}.png
46
47   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
48   icon64.files += ../data/64x64/$${TARGET}.png
49
50   }