Minor formatting tidying up.
[qwerkisync] / qwerkisync.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2010-12-23T03:08:33
4 #
5 #-------------------------------------------------
6
7 QT       += core gui sql dbus
8
9 TARGET = qwerkisync
10 TEMPLATE = app
11
12 DESTDIR = ./Build
13 OBJECTS_DIR = ./Build
14 MOC_DIR = ./Build
15 RCC_DIR = ./Build
16 UI_HEADERS_DIR = ./Build
17
18 #INCLUDEPATH += /usr/include/glib-2.0
19 #INCLUDEPATH += /usr/include/gtk-2.0
20 #INCLUDEPATH += /usr/lib/glib-2.0/include
21 INCLUDEPATH += /usr/include
22 INCLUDEPATH += /usr/include/qt
23 INCLUDEPATH += /usr/include/qtcore
24 INCLUDEPATH += /usr/include/c++/4.2
25 LIBS += -lrtcom-eventlogger -luuid
26 # libosso-abook-1.0 libosso
27
28 SOURCES += main.cpp\
29         Attachment.cpp \
30         AttachmentCollection.cpp \
31         CellularRadio.cpp \
32         EventLogBackupManager.cpp \
33         EventParsers/CSVSymbianEventLogParser.cpp \
34         EventParsers/Factory.cpp \
35         EventParsers/MMSParser.cpp \
36         EventParsers/VMGParser.cpp \
37         EventParsers/VMGEntities/SMSEntity.cpp \
38         EventParsers/VMGEntities/VBody.cpp \
39         EventParsers/VMGEntities/VCard.cpp \
40         EventParsers/VMGEntities/VCalendar.cpp \
41         EventParsers/VMGEntities/VEnvelope.cpp \
42         EventParsers/VMGEntities/VMessage.cpp \
43         EventPreventer.cpp \
44         EventTypes/RtcomEvent.cpp \
45         EventTypes/SMS.cpp \
46         NumberToNameLookup.cpp \
47         Settings.cpp \
48         SyncerThread.cpp \
49         Windows/BaseWindow.cpp \
50         Windows/DirectoryWindow.cpp \
51         Windows/ModeWindow.cpp \
52         Windows/ProgressWindow.cpp \
53         Windows/RestoreAccountStateWindow.cpp \
54         Windows/RestoreCrashBackupWindow.cpp \
55         Windows/TypesWindow.cpp \
56         EventParsers/VMGEntities/VMGFactory.cpp \
57         DBBackends/RtcomEventLogger.cpp \
58         DBBackends/Fmms.cpp \
59         EventProcessors/Hasher.cpp \
60         EventProcessors/Writer.cpp \
61         EventTypes/PhoneCall.cpp \
62         DBBackends/AllBackends.cpp \
63         DBBackends/RtcomEventLoggerComponents/TriggerDisabler.cpp \
64     EventWriters/VMGWriter.cpp \
65     EventWriters/CSVSymbianEventLogWriter.cpp \
66     CSV.cpp \
67     EventFormats/SymbianEventLog.cpp
68
69 HEADERS  += \
70         Windows/ModeWindow.h \
71         Settings.h \
72         Windows/BaseWindow.h \
73         Windows/TypesWindow.h \
74         Windows/DirectoryWindow.h \
75         Windows/ProgressWindow.h \
76         SyncerThread.h \
77         EventParsers/VMGEntities/VMessage.h \
78         EventParsers/VMGEntities/VEnvelope.h \
79         EventParsers/VMGEntities/VCard.h \
80         EventParsers/VMGEntities/VBody.h \
81         EventParsers/VMGEntities/iWriter.h \
82         EventParsers/VMGEntities/Factory.h \
83         EventParsers/VMGEntities/iReader.h \
84         EventParsers/VMGEntities/SMSEntity.h \
85         Attachment.h \
86         EventTypes/SMS.h \
87         AttachmentCollection.h \
88         iHashable.h \
89         NumberToNameLookup.h \
90         EventParsers/VMGEntities/VCalendar.h \
91         EventPreventer.h \
92         EventLogBackupManager.h \
93         Windows/RestoreCrashBackupWindow.h \
94         Windows/RestoreAccountStateWindow.h \
95         CellularRadio.h \
96         EventParsers/Factory.h \
97         EventParsers/VMGParser.h \
98         EventParsers/iEventParser.h \
99         EventParsers/CSVSymbianEventLogParser.h \
100         EventParsers/MMSParser.h \
101         EventTypes/iEvent.h \
102         EventTypes/EventList.h \
103         EventTypes/EventFromFile.h \
104         EventTypes/EventFromFileList.h \
105         DBBackends/iDBBackend.h \
106         DBBackends/RtcomEventLogger.h \
107         DBBackends/Fmms.h \
108         EventProcessors/Hasher.h \
109         EventProcessors/Writer.h \
110         EventProcessors/iEventProcessor.h \
111         DBBackends/AllBackends.h \
112         EventTypes/PhoneCall.h \
113         EventTypes/RtcomEvent.h \
114         EventTypes/eEventTypes.h \
115         DBBackends/RtcomEventLoggerComponents/TriggerDisabler.h \
116     EventWriters/VMGWriter.h \
117     EventWriters/iEventWriter.h \
118     EventWriters/CSVSymbianEventLogWriter.h \
119     EventTypes/iCSVSymbianEvent.h \
120     EventTypes/iVMGEvent.h \
121     CSV.h \
122     EventFormats/SymbianEventLog.h
123
124 FORMS    += \
125         dialog.ui
126
127 CONFIG += link_pkgconfig
128 CONFIG += object_with_source
129 PKGCONFIG += libosso glib-2.0 libosso-abook-1.0
130 QT += maemo5
131
132 RESOURCES += \
133         Resources1.qrc
134
135 unix:!symbian {
136         maemo5 {
137                 target.path = /opt/usr/bin
138         } else {
139                 target.path = /usr/local/bin
140         }
141         INSTALLS += target
142 }
143
144 OTHER_FILES += \
145         qtc_packaging/debian_harmattan/rules \
146         qtc_packaging/debian_harmattan/README \
147         qtc_packaging/debian_harmattan/copyright \
148         qtc_packaging/debian_harmattan/control \
149         qtc_packaging/debian_harmattan/compat \
150         qtc_packaging/debian_harmattan/changelog \
151         debian/qwerkisync/usr/share/icons/qwerkisync.png \
152         qtc_packaging/debian_fremantle/changelog \
153         qtc_packaging/debian_fremantle/rules \
154         qtc_packaging/debian_fremantle/control \
155         qtc_packaging/debian_fremantle/README \
156         qtc_packaging/debian_fremantle/copyright \
157         qtc_packaging/debian_fremantle/compat \
158         qtc_packaging/debian_fremantle/usr/share/hildon/qwerkisync.desktop \
159         qwerkisync.png \
160         COPYING
161
162 maemo5 {
163         desktopfile.files = $${TARGET}.desktop
164         desktopfile.path = /usr/share/applications/hildon
165         INSTALLS += desktopfile
166
167         icon.files = qwerkisync.png
168         icon.path = /usr/share/icons/hicolor/64x64/apps
169         INSTALLS += icon
170 }