30b66c7c4a23b7926df2e648559224ad7ed53811
[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 HEADERS += mainwindow.h \
45     creditsdialog.h \
46     routedialog.h \
47     routesavedialog.h \
48     welcomedialog.h \
49     usersettings.h \
50     resultdialog.h \
51     instructionsdialog.h \
52     settingsdialog.h \
53     accelerationstart.h \
54     accrealtimedialog.h \
55     accelerometer.h \
56     movingaverage.h \
57     calculate.h \
58     calibratedialog.h \
59     topresultdialog.h \
60     categorylist.h \
61     httpclient.h \
62     xmlreader.h \
63     xmlwriter.h \
64     maemo5locationprivate.h \
65     maemo5location.h \
66     gpsdata.h \
67     helpdialog.h \
68     helpresultsdialog.h \
69     helpaccelerationdialog.h \
70     helproutingdialog.h \
71     helpsettingsdialog.h \
72     custombutton.h \
73     profiledialog.h \
74     filereader.h
75 FORMS += mainwindow.ui \
76     creditsdialog.ui \
77     routedialog.ui \
78     routesavedialog.ui \
79     welcomedialog.ui \
80     resultdialog.ui \
81     instructionsdialog.ui \
82     settingsdialog.ui \
83     accelerationstartdialog.ui \
84     accrealtimedialog.ui \
85     calibratedialog.ui \
86     topresultdialog.ui \
87     helpdialog.ui \
88     helpresultsdialog.ui \
89     helpaccelerationdialog.ui \
90     helproutingdialog.ui \
91     helpsettingsdialog.ui \
92     profiledialog.ui
93 RESOURCES += graphics.qrc
94 contains(QT_CONFIG, hildon):CONFIG += hildon
95 CONFIG += link_pkgconfig
96
97 # Enable this to disable debugging
98 # DEFINES += QT_NO_DEBUG_OUTPUT
99 target.path += /usr/lib
100 devincludes.files = $$HEADERS
101 devincludes.path += /usr/include/$$TEMPLATE$$TARGET
102 INSTALLS += target \
103     devincludes
104 PKGCONFIG += glib-2.0 \
105     liblocation
106 exists(/usr/lib/liblocation.so) { 
107     DEFINES += LIBLOCATION
108     message(liblocation found)
109 }