-
Notifications
You must be signed in to change notification settings - Fork 13
/
sync_qt.pro
104 lines (72 loc) · 2.05 KB
/
sync_qt.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#-------------------------------------------------
#
# Project created by QtCreator 2011-10-30T17:04:10
#
#-------------------------------------------------
QT += core gui network xml sql
unix:!macx:!symbian: {
QT += dbus
HEADERS +=
SOURCES +=
INCLUDEPATH += /usr/include/kde4
# I hate myself for including hard coded links, but this is just
# a test anyway :p
INCLUDEPATH += ${HOME}/apps/owncloud_env/include/qtkeychain
LIBS += -L${HOME}/apps/owncloud_env/lib64 -lqtkeychain
}
TARGET = sync-qt-owncloud
TEMPLATE = app
SOURCES += main.cpp\
sqlite3_util.cpp \
SyncWindow.cpp \
qwebdav/QWebDAV.cpp \
SyncQtOwnCloud.cpp
HEADERS += sqlite3_util.h \
SyncWindow.h \
qwebdav/QWebDAV.h \
SyncQtOwnCloud.h \
SyncGlobal.h
FORMS += SyncWindow.ui
INCLUDEPATH += qwebdav/
#INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/sqlite
#SOURCES += $$[QT_INSTALL_PREFIX]/src/3rdparty/sqlite/sqlite3.c
RESOURCES += \
sync_qt.qrc
unix:!symbian:!maemo5:isEmpty(MEEGO_VERSION_MAJOR) {
target.path = /usr/bin
INSTALLS += target
}
unix:!symbian:!maemo5:isEmpty(MEEGO_VERSION_MAJOR) {
desktopfile.files = sync_qt_owncloud.desktop
desktopfile.path = /usr/share/applications
INSTALLS += desktopfile
}
unix:!symbian:!maemo5:isEmpty(MEEGO_VERSION_MAJOR) {
icon.files = sync_qt.png
icon.path = /usr/share/icons/hicolor/64x64/apps
INSTALLS += icon
}
BITSIZE = $$system(getconf LONG_BIT)
if (contains(BITSIZE, 64)) {
#message($$BITSIZE)
unix:!macx:!symbian: LIBS += -L/usr/lib64/ -lsqlite3
unix:!macx:!symbian: LIBS += -L/usr/lib64/kde4/devel -lkparts -lkdeui -lkdecore
}
if (contains(BITSIZE, 32)) {
#message($$BITSIZE)
unix:!macx:!symbian: LIBS += -L/usr/lib/ -lsqlite3
unix:!macx:!symbian: LIBS += -L/usr/lib/kde4/devel -lkparts -lkdeui -lkdecore
}
win32: LIBS += -lsqlite3
#linux-g++ {
#message(On Linux)
#}
#macx-g++ {
#message(On Mac)
#}
INCLUDEPATH += /usr/include
DEPENDPATH += /usr/include
OTHER_FILES += \
COPYING-README \
COPYING-GPL \
README