-
Notifications
You must be signed in to change notification settings - Fork 4
/
QPropertyModel.pro
187 lines (161 loc) · 5.66 KB
/
QPropertyModel.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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
#Author Caleb Amoa Buahin
#Email caleb.buahin@gmail.com
#Date 2016
#License GNU Lesser General Public License (see <http: //www.gnu.org/licenses/> for details).
QT += core widgets
TARGET = QPropertyModel
VERSION = 1.0.0
CONFIG += c++11
CONFIG += debug_and_release
DEFINES += QPROPERTYMODEL_LIBRARY
*msvc* { # visual studio spec filter
QMAKE_CXXFLAGS += /MP
}
contains(DEFINES,QPROPERTYMODEL_LIBRARY){
TEMPLATE = lib
message("Compiling as library")
} else {
TEMPLATE = app
QT += gui
CONFIG-=app_bundle
message("Compiling as application")
}
INCLUDEPATH += ./include \
./include/test
HEADERS += include/qbrushpropertyitem.h \
include/qenumpropertyitem.h \
include/qflagspropertyitem.h \
include/qfontfamilypropertyitem.h \
include/qfontpropertyitem.h \
include/qiconpropertyitem.h \
include/qimagepropertyitem.h \
include/qlinefpropertyitem.h \
include/qlinepropertyitem.h \
include/qobjectclasspropertyitem.h \
include/qobjectpropertyitem.h \
include/qpenpropertyitem.h \
include/qpointfpropertyitem.h \
include/qpointpropertyitem.h \
include/qpropertyitem.h \
include/qpropertyitemdelegate.h \
include/qpropertymodel_global.h \
include/qpropertymodel.h \
include/qrectfpropertyitem.h \
include/qrectpropertyitem.h \
include/qsizefpropertyitem.h \
include/qsizepropertyitem.h \
include/qstringlistpropertyitem.h \
include/qvariantholderhelper.h \
include/qvariantlistpropertyitem.h \
include/qvariantpropertyItem.h \
include/qvector2dpropertyitem.h \
include/qvector3dpropertyitem.h \
include/qvector4dpropertyitem.h \
include/resource.h \
include/stdafx.h \
include/qcustomeditors.h \
include/qchildpropertyitems.h \
include/qboolpropertyitem.h \
include/qobjectlistpropertyitem.h \
include/test/qpropertymodeltesting.h \
include/test/tempobject.h
SOURCES += src/qbasepropertyitemeditor.cpp \
src/qboolpropertyitem.cpp \
src/qbrushpropertyitem.cpp \
src/qchildboolpropertyitem.cpp \
src/qchildbrushpropertyitem.cpp \
src/qchildenumpropertyitem.cpp \
src/qchildiconpropertyitem.cpp \
src/qchildimagepropertyitem.cpp \
src/qchildpointfpropertyitem.cpp \
src/qchildpointpropertyitem.cpp \
src/qcolorpropertyitemeditor.cpp \
src/qenumpropertyitem.cpp \
src/qflagspropertyitem.cpp \
src/qfontfamilypropertyitem.cpp \
src/qfontpropertyitem.cpp \
src/qfontpropertyitemeditor.cpp \
src/qiconpropertyitem.cpp \
src/qimagepropertyitem.cpp \
src/qimagepropertyitemeditor.cpp \
src/qlinefpropertyitem.cpp \
src/qlinepropertyitem.cpp \
src/qobjectclasspropertyitem.cpp \
src/qobjectpropertyitem.cpp \
src/qpenpropertyitem.cpp \
src/qpointfpropertyitem.cpp \
src/qpointpropertyitem.cpp \
src/qpopuppropertyitemeditor.cpp \
src/qpropertyitem.cpp \
src/qpropertyitemdelegate.cpp \
src/qpropertymodel.cpp \
src/qrectfpropertyitem.cpp \
src/qrectpropertyitem.cpp \
src/qselectfromlistpropertyitemeditor.cpp \
src/qsizefpropertyitem.cpp \
src/qsizepropertyitem.cpp \
src/qstringlistpropertyitem.cpp \
src/qvariantholderhelper.cpp \
src/qvariantlistpropertyItem.cpp \
src/qvariantpropertyitem.cpp \
src/qvector2dpropertyitem.cpp \
src/qvector3dpropertyitem.cpp \
src/qvector4dpropertyitem.cpp \
src/stdafx.cpp \
src/qcustomeditors.cpp \
src/qstringlistpropertyitemeditor.cpp \
src/qvariantlistpropertyitemeditor.cpp \
src/qobjectlistpropertyitem.cpp \
src/qobjectlistpropertyitemeditor.cpp \
src/test/main.cpp \
src/test/qpropertymodeltesting.cpp \
src/test/tempobject.cpp
PRECOMPILED_HEADER += include/stdafx.h
RESOURCES += ./resources/qpropertymodel.qrc \
./resources/qpropertymodeltesting.qrc
RC_FILE = ./resources/QPropertyModel.rc \
./resources/QPropertyModelTesting.rc
FORMS += ./forms/qstringlistpropertyitemeditor.ui \
./forms/qcustomobjectlistpropertyitemeditor.ui \
./forms/qpropertymodeltesting.ui
CONFIG(debug, debug|release) {
DESTDIR = ./build/debug
OBJECTS_DIR = $$DESTDIR/.obj
MOC_DIR = $$DESTDIR/.moc
RCC_DIR = $$DESTDIR/.qrc
UI_DIR = $$DESTDIR/.ui
}
CONFIG(release, debug|release) {
contains(DEFINES,QPROPERTYMODEL_LIBRARY){
#MacOS
macx{
DESTDIR = lib/macx
}
#Linux
linux{
DESTDIR = lib/linux
}
#Windows
win32{
DESTDIR = lib/win32
}
} else {
#MacOS
macx{
DESTDIR = bin/macx
}
#Linux
linux{
DESTDIR = bin/linux
}
#Windows
win32{
DESTDIR = bin/win32
}
}
RELEASE_EXTRAS = ./build/release
OBJECTS_DIR = $$RELEASE_EXTRAS/.obj
MOC_DIR = $$RELEASE_EXTRAS/.moc
RCC_DIR = $$RELEASE_EXTRAS/.qrc
UI_DIR = $$RELEASE_EXTRAS/.ui
}