Merge branch 'package'
[speedfreak] / Client / speedfreak.pro
1 # -------------------------------------------------
2 # Project created by QtCreator 2010-03-29T09:21:42
3 # @author     Speed Freak team
4 # @copyright  (c) 2010 Speed Freak team
5 # @license    http://opensource.org/licenses/gpl-license.php GNU Public License
6 # -------------------------------------------------
7 QT += dbus \
8     network \
9     xml
10 TARGET = speedfreak
11 TEMPLATE = app
12 SOURCES += main.cpp \
13     mainwindow.cpp \
14     creditsdialog.cpp \
15     routedialog.cpp \
16     routesavedialog.cpp \
17     welcomedialog.cpp \
18     usersettings.cpp \
19     resultdialog.cpp \
20     instructionsdialog.cpp \
21     settingsdialog.cpp \
22     accelerationstart.cpp \
23     accrealtimedialog.cpp \
24     accelerometer.cpp \
25     movingaverage.cpp \
26     calculate.cpp \
27     calibratedialog.cpp \
28     topresultdialog.cpp \
29     categorylist.cpp \
30     httpclient.cpp \
31     xmlreader.cpp \
32     xmlwriter.cpp \
33     gpsdata.cpp \
34     maemo5locationprivate.cpp \
35     maemo5location.cpp \
36     helpdialog.cpp \
37     helpresultsdialog.cpp \
38     helpaccelerationdialog.cpp \
39     helproutingdialog.cpp \
40     helpsettingsdialog.cpp \
41     custombutton.cpp \
42     profiledialog.cpp \
43         filereader.cpp \
44     usersdialog.cpp \
45     registerdialog.cpp \
46     helpusersdialog.cpp
47 HEADERS += mainwindow.h \
48     creditsdialog.h \
49     routedialog.h \
50     routesavedialog.h \
51     welcomedialog.h \
52     usersettings.h \
53     resultdialog.h \
54     instructionsdialog.h \
55     settingsdialog.h \
56     accelerationstart.h \
57     accrealtimedialog.h \
58     accelerometer.h \
59     movingaverage.h \
60     calculate.h \
61     calibratedialog.h \
62     topresultdialog.h \
63     categorylist.h \
64     httpclient.h \
65     xmlreader.h \
66     xmlwriter.h \
67     maemo5locationprivate.h \
68     maemo5location.h \
69     gpsdata.h \
70     helpdialog.h \
71     helpresultsdialog.h \
72     helpaccelerationdialog.h \
73     helproutingdialog.h \
74     helpsettingsdialog.h \
75     custombutton.h \
76     profiledialog.h \
77         filereader.h \
78     usersdialog.h \
79     registerdialog.h \
80     helpusersdialog.h
81 FORMS += mainwindow.ui \
82     creditsdialog.ui \
83     routedialog.ui \
84     routesavedialog.ui \
85     welcomedialog.ui \
86     resultdialog.ui \
87     instructionsdialog.ui \
88     settingsdialog.ui \
89     accelerationstartdialog.ui \
90     accrealtimedialog.ui \
91     calibratedialog.ui \
92     topresultdialog.ui \
93     helpdialog.ui \
94     helpresultsdialog.ui \
95     helpaccelerationdialog.ui \
96     helproutingdialog.ui \
97     helpsettingsdialog.ui \
98     profiledialog.ui \
99     usersdialog.ui \
100     registerdialog.ui \
101     helpusersdialog.ui
102 RESOURCES += graphics.qrc
103 contains(QT_CONFIG, hildon):CONFIG += hildon
104 CONFIG += link_pkgconfig
105
106 # Enable this to disable debugging
107 # DEFINES += QT_NO_DEBUG_OUTPUT
108 target.path += /usr/lib
109 devincludes.files = $$HEADERS
110 devincludes.path += /usr/include/$$TEMPLATE$$TARGET
111 INSTALLS += target \
112     devincludes
113 PKGCONFIG += glib-2.0 \
114     liblocation
115 exists(/usr/lib/liblocation.so) { 
116     DEFINES += LIBLOCATION
117     message(liblocation found)
118 }