f834b8f28162a04cea7fa604956f4a285fcddc47
[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
65 HEADERS  += \
66         Windows/ModeWindow.h \
67         Settings.h \
68         Windows/BaseWindow.h \
69         Windows/TypesWindow.h \
70         Windows/DirectoryWindow.h \
71         Windows/ProgressWindow.h \
72         SyncerThread.h \
73         EventParsers/VMGEntities/VMessage.h \
74         EventParsers/VMGEntities/VEnvelope.h \
75         EventParsers/VMGEntities/VCard.h \
76         EventParsers/VMGEntities/VBody.h \
77         EventParsers/VMGEntities/iWriter.h \
78         EventParsers/VMGEntities/Factory.h \
79         EventParsers/VMGEntities/iReader.h \
80         EventParsers/VMGEntities/SMSEntity.h \
81         Attachment.h \
82         EventTypes/SMS.h \
83         AttachmentCollection.h \
84         iHashable.h \
85         NumberToNameLookup.h \
86         EventParsers/VMGEntities/VCalendar.h \
87         EventPreventer.h \
88         EventLogBackupManager.h \
89         Windows/RestoreCrashBackupWindow.h \
90         Windows/RestoreAccountStateWindow.h \
91         CellularRadio.h \
92         EventParsers/Factory.h \
93         EventParsers/VMGParser.h \
94         EventParsers/iEventParser.h \
95         EventParsers/CSVSymbianEventLogParser.h \
96         EventParsers/MMSParser.h \
97         EventTypes/iEvent.h \
98         EventTypes/EventList.h \
99         EventTypes/EventFromFile.h \
100         EventTypes/EventFromFileList.h \
101         DBBackends/iDBBackend.h \
102         DBBackends/RtcomEventLogger.h \
103         DBBackends/Fmms.h \
104         EventProcessors/Hasher.h \
105         EventProcessors/Writer.h \
106         EventProcessors/iEventProcessor.h \
107         DBBackends/AllBackends.h \
108         EventTypes/PhoneCall.h \
109         EventTypes/RtcomEvent.h \
110         EventTypes/eEventTypes.h \
111         DBBackends/RtcomEventLoggerComponents/TriggerDisabler.h
112
113 FORMS    += \
114         dialog.ui
115
116 CONFIG += link_pkgconfig
117 CONFIG += object_with_source
118 PKGCONFIG += libosso glib-2.0 libosso-abook-1.0
119 QT += maemo5
120
121 RESOURCES += \
122         Resources1.qrc
123
124 unix:!symbian {
125         maemo5 {
126                 target.path = /opt/usr/bin
127         } else {
128                 target.path = /usr/local/bin
129         }
130         INSTALLS += target
131 }
132
133 OTHER_FILES += \
134         qtc_packaging/debian_harmattan/rules \
135         qtc_packaging/debian_harmattan/README \
136         qtc_packaging/debian_harmattan/copyright \
137         qtc_packaging/debian_harmattan/control \
138         qtc_packaging/debian_harmattan/compat \
139         qtc_packaging/debian_harmattan/changelog \
140         debian/qwerkisync/usr/share/icons/qwerkisync.png \
141         qtc_packaging/debian_fremantle/changelog \
142         qtc_packaging/debian_fremantle/rules \
143         qtc_packaging/debian_fremantle/control \
144         qtc_packaging/debian_fremantle/README \
145         qtc_packaging/debian_fremantle/copyright \
146         qtc_packaging/debian_fremantle/compat \
147         qtc_packaging/debian_fremantle/usr/share/hildon/qwerkisync.desktop \
148         qwerkisync.png \
149         COPYING
150
151 maemo5 {
152         desktopfile.files = $${TARGET}.desktop
153         desktopfile.path = /usr/share/applications/hildon
154         INSTALLS += desktopfile
155
156         icon.files = qwerkisync.png
157         icon.path = /usr/share/icons/hicolor/64x64/apps
158         INSTALLS += icon
159 }