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