-
Notifications
You must be signed in to change notification settings - Fork 0
/
quickflickr.pro
182 lines (146 loc) · 4.16 KB
/
quickflickr.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
#DEFINES += LITE
TEMPLATE = app
TARGET = quickflickr
contains(DEFINES, LITE) {
TARGET = quickflickr-lite
}
CONFIG -= app_bundle
# enable booster
CONFIG += qdeclarative-boostable
QMAKE_CXXFLAGS += -fPIC -fvisibility=hidden -fvisibility-inlines-hidden
QMAKE_LFLAGS += -pie -rdynamic
QT += declarative network xml webkit
#QMAKE_CXXFLAGS = -O2
INCLUDEPATH += src kqoauth/src
MOC_DIR = moc
OBJECTS_DIR = objs
KQOAUTH_DIR= kqoauth/src
mac{
QT += opengl
}
maemo5{
QT += dbus opengl
}
RESOURCES += \
quickflickr.qrc
# kqoauth files
HEADERS += \
$$KQOAUTH_DIR/kqoauthmanager.h \
$$KQOAUTH_DIR/kqoauthrequest.h \
$$KQOAUTH_DIR/kqoauthrequest_1.h \
$$KQOAUTH_DIR/kqoauthrequest_xauth.h \
$$KQOAUTH_DIR/kqoauthglobals.h \
$$KQOAUTH_DIR/kqoauthrequest_p.h \
$$KQOAUTH_DIR/kqoauthmanager_p.h \
$$KQOAUTH_DIR/kqoauthauthreplyserver.h \
$$KQOAUTH_DIR/kqoauthauthreplyserver_p.h \
$$KQOAUTH_DIR/kqoauthutils.h \
$$KQOAUTH_DIR/kqoauthrequest_xauth_p.h \
src/settings.h \
src/keys.h
SOURCES += \
$$KQOAUTH_DIR/kqoauthmanager.cpp \
$$KQOAUTH_DIR/kqoauthrequest.cpp \
$$KQOAUTH_DIR/kqoauthutils.cpp \
$$KQOAUTH_DIR/kqoauthauthreplyserver.cpp \
$$KQOAUTH_DIR/kqoauthrequest_1.cpp \
$$KQOAUTH_DIR/kqoauthrequest_xauth.cpp \
src/settings.cpp
DEFINES += KQOAUTH
# quickflickr files
SOURCES += \
src/main.cpp \
src/qmlloader.cpp \
src/flickrmanager.cpp \
src/flickroauth.cpp \
src/utils.cpp
HEADERS += \
src/qmlloader.h \
src/flickrmanager.h \
src/flickroauth.h \
src/flickroauth_p.h \
src/utils.h
OTHER_FILES += \
qml/QuickFlickrMain.qml \
qml/Button.qml \
qml/MenuButton.qml \
qml/FlickableWebView.qml \
qml/ScrollBar.qml \
qml/RecentActivityModel.qml \
qml/CommentModel.qml \
qml/CommentsView.qml \
qml/FavoritesModel.qml \
qml/FlickrImage.qml \
qml/BrowserButton.qml \
qml/Loading.qml \
qml/Page.qml \
qml/NavigationBar.qml \
qml/Settings.qml \
qml/Timelineview.qml \
qml/TimelineDelegate.qml \
qml/PhotostreamView.qml \
qml/PhotostreamModel.qml \
qml/PhotoDetailsView.qml \
qml/UserInfoModel.qml \
qml/UserInfoDelegate.qml \
qml/FlickrText.qml \
qml/LineSeparator.qml \
qml/IconButton.qml \
qml/RadioIconButton.qml \
qml/PhotoDetailsModel.qml \
qml/PhotoDetailsDelegate.qml \
qml/AddCommentView.qml \
qml/ContactUploadsModel.qml \
qml/ContactListModel.qml \
qml/ContactListView.qml \
qml/FavoritesView.qml \
qml/ThumbnailDelegate.qml \
qml/ThumbnailView.qml \
qml/RecentActivityView.qml \
qml/SettingsView.qml \
qml/AuthenticationView.qml \
qtc_packaging/debian_harmattan/rules \
qtc_packaging/debian_harmattan/README \
qtc_packaging/debian_harmattan/copyright \
qtc_packaging/debian_harmattan/control \
qtc_packaging/debian_harmattan/compat \
qtc_packaging/debian_harmattan/changelog \
qml/PhotoViewerView.qml \
qml/BasePage.qml \
qml/PhotoViewerDelegate.qml \
qml/ZoomableImage.qml \
qml/PhotoDetailsLayer.qml \
qml/DigitField.qml \
qml/FavesList.qml \
qml/FavesModel.qml \
qml/NoContentText.qml \
qml/PolaroidImage.qml \
qml/AvatarWithTextDelegate.qml \
qml/PatchIcon.qml \
qml/LoadingIndicatorBox.qml \
qml/SearchView.qml \
qml/LocationView.qml \
qml/LocationModel.qml \
qml/MapView.qml
OTHER_FILES += \
qtc_packaging/debian_harmattan/rules \
qtc_packaging/debian_harmattan/README \
qtc_packaging/debian_harmattan/copyright \
qtc_packaging/debian_harmattan/control \
qtc_packaging/debian_harmattan/compat \
qtc_packaging/debian_harmattan/changelog \
quickflickr.desktop \
quickflickr-lite.desktop \
quickflickr.svg \
quickflickr.png \
quickflickr-lite.png
# Please do not modify the following two lines. Required for deployment.
include(deployment.pri)
qtcAddDeployment()
!exists("kqoauth/.git/config"){
system("git clone [email protected]:kqoauth/kqoauth.git")
}
#system(cp gfx/quickflickr.png ./quickflickr.png)
#contains(DEFINES, LITE) {
# system(cp gfx/quickflickr-lite.png ./quickflickr.png)
#}