-
Notifications
You must be signed in to change notification settings - Fork 0
/
vangers-utils-qt.qbs
211 lines (202 loc) · 8.5 KB
/
vangers-utils-qt.qbs
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
import qbs.FileInfo
QtApplication {
name: "vangers-utils-qt"
Depends {
name: "Qt";
submodules: ["core", "widgets", "3dinput", "3drender", "3dextras"];
versionAtLeast: "5.12"
}
// The following define makes your compiler emit warnings if you use
// any Qt feature that has been marked deprecated (the exact warnings
// depend on your compiler). Please consult the documentation of the
// deprecated API in order to know how to port your code away from it.
// You can also make your code fail to compile if it uses deprecated APIs.
// In order to do so, uncomment the second entry in the list.
// You can also select to disable deprecated APIs only up to a certain version of Qt.
cpp.defines: [
"QT_DEPRECATED_WARNINGS",
/* "QT_DISABLE_DEPRECATED_BEFORE=0x060000" */ // disables all the APIs deprecated before Qt 6.0.0
]
cpp.cxxLanguageVersion: "c++20"
cpp.includePaths: [product.sourceDirectory, "src", "thirdparty/nlohmann/json"]
files: [
"Readme.md",
"src/core/ini/iniaccess.cpp",
"src/core/ini/iniaccess.h",
"src/core/ini/inisettings.cpp",
"src/core/ini/inisettings.h",
"src/core/ini/inistreamreader.cpp",
"src/core/ini/inistreamreader.h",
"src/core/ini/inistreamwriter.cpp",
"src/core/ini/inistreamwriter.h",
"src/core/optional.h",
"src/core/vector/vector.h",
"src/core/vector/vectorjsonext.h",
"src/core/vector/vectorstringext.cpp",
"src/core/vector/vectorstringext.h",
"src/graphicsviewzoom.cpp",
"src/graphicsviewzoom.h",
"src/image/mssimageaccess.cpp",
"src/image/mssimageaccess.h",
"src/image/qtimageaccess.cpp",
"src/image/qtimageaccess.h",
"src/image/svsimageaccess.cpp",
"src/image/svsimageaccess.h",
"src/imagegraphicsview.cpp",
"src/imagegraphicsview.h",
"src/mainwindow.ui",
"src/palettegrid.cpp",
"src/palettegrid.h",
"src/palettes.qrc",
"src/paletteview.cpp",
"src/paletteview.h",
"src/paletteview.ui",
"src/binaryio.h",
"src/image/bmpimage.cpp",
"src/image/bmpimage.h",
"src/image/image.cpp",
"src/image/image.h",
"src/image/palette.cpp",
"src/image/palette.h",
"src/image/xbmimage.cpp",
"src/image/xbmimage.h",
"src/main.cpp",
"src/mainwindow.cpp",
"src/mainwindow.h",
"src/plugins/model/c3drenderer.cpp",
"src/plugins/model/c3drenderer.h",
"src/plugins/model/c3dview.cpp",
"src/plugins/model/c3dview.h",
"src/plugins/model/m3d/colortable.cpp",
"src/plugins/model/m3d/colortable.h",
"src/plugins/model/gridmesh.cpp",
"src/plugins/model/gridmesh.h",
"src/plugins/model/m3d/m3d.h",
"src/plugins/model/m3dobjectscontroller.cpp",
"src/plugins/model/m3dobjectscontroller.h",
"src/plugins/model/m3d/modelaccess.cpp",
"src/plugins/model/m3d/modelaccess.h",
"src/plugins/model/m3d/modelbinaryreaderext.cpp",
"src/plugins/model/m3d/modelbinaryreaderext.h",
"src/plugins/model/m3d/modelbinarywriterext.cpp",
"src/plugins/model/m3d/modelbinarywriterext.h",
"src/plugins/model/m3djson/m3djsonext.h",
"src/plugins/model/m3djson/m3djsonext.cpp",
"src/plugins/model/m3djson/m3djsonaccess.cpp",
"src/plugins/model/m3djson/m3djsonaccess.h",
"src/plugins/model/modelviewer.cpp",
"src/plugins/model/modelviewer.h",
"src/plugins/model/modelviewer.ui",
"src/plugins/model/modelviewerplugin.cpp",
"src/plugins/model/modelviewerplugin.h",
"src/plugins/model/myorbitcameracontroller.cpp",
"src/plugins/model/myorbitcameracontroller.h",
"src/plugins/model/obj/obj.cpp",
"src/plugins/model/obj/obj.h",
"src/plugins/model/objimport/objexporter.cpp",
"src/plugins/model/objimport/objexporter.h",
"src/plugins/model/objimport/objimportcontroller.cpp",
"src/plugins/model/objimport/objimportcontroller.h",
"src/plugins/model/objimport/objimporter.cpp",
"src/plugins/model/objimport/objimporter.h",
"src/plugins/model/objimport/objimportsettings.cpp",
"src/plugins/model/objimport/objimportsettings.h",
"src/plugins/model/objimport/objimportsettingsaccess.cpp",
"src/plugins/model/objimport/objimportsettingsaccess.h",
"src/plugins/model/objimport/objimportsettingswidget.cpp",
"src/plugins/model/objimport/objimportsettingswidget.h",
"src/plugins/model/objimport/objimportsettingswidget.ui",
"src/plugins/model/obj/objreader.cpp",
"src/plugins/model/obj/objreader.h",
"src/plugins/model/obj/objwriter.cpp",
"src/plugins/model/obj/objwriter.h",
"src/plugins/model/propertytree.cpp",
"src/plugins/model/propertytree.h",
"src/plugins/model/scenecontroller.cpp",
"src/plugins/model/scenecontroller.h",
"src/plugins/model/slotview.cpp",
"src/plugins/model/slotview.h",
"src/plugins/palette/microsoftpalaccess.cpp",
"src/plugins/palette/microsoftpalaccess.h",
"src/plugins/palette/pngpaletteaccess.cpp",
"src/plugins/palette/pngpaletteaccess.h",
"src/plugins/palette/vangerspaletteaccess.cpp",
"src/plugins/palette/vangerspaletteaccess.h",
"src/plugins/resourceaccess.h",
"src/plugins/resourceviewer.cpp",
"src/plugins/resourceviewer.h",
"src/plugins/image/imageviewer.cpp",
"src/plugins/image/imageviewer.h",
"src/plugins/image/imageviewer.ui",
"src/plugins/palette/paletteviewer.cpp",
"src/plugins/palette/paletteviewer.h",
"src/plugins/palette/paletteviewer.ui",
"src/plugins/vmap/layer/abstractimagelayer.cpp",
"src/plugins/vmap/layer/abstractimagelayer.h",
"src/plugins/vmap/layer/allimagelayer.cpp",
"src/plugins/vmap/layer/allimagelayer.h",
"src/plugins/vmap/layer/deltaimagelayer.cpp",
"src/plugins/vmap/layer/deltaimagelayer.h",
"src/plugins/vmap/layer/doublelevelimagelayer.cpp",
"src/plugins/vmap/layer/doublelevelimagelayer.h",
"src/plugins/vmap/layer/floodlayer.cpp",
"src/plugins/vmap/layer/floodlayer.h",
"src/plugins/vmap/layer/heightimagelayer.cpp",
"src/plugins/vmap/layer/heightimagelayer.h",
"src/plugins/vmap/layer/isshadowedimagelayer.cpp",
"src/plugins/vmap/layer/isshadowedimagelayer.h",
"src/plugins/vmap/layer/terrainimagelayer.cpp",
"src/plugins/vmap/layer/terrainimagelayer.h",
"src/plugins/vmap/matrix.h",
"src/plugins/vmap/vmap.cpp",
"src/plugins/vmap/vmap.h",
"src/plugins/vmap/vmapmeta.cpp",
"src/plugins/vmap/vmapmeta.h",
"src/plugins/vmap/vmapreader.cpp",
"src/plugins/vmap/vmapreader.h",
"src/plugins/vmap/vmapviewer.ui",
"src/plugins/vmap/vmapviewerplugin.cpp",
"src/plugins/vmap/vmapviewerplugin.h",
"src/plugins/vmap/vmapvoxwriter.cpp",
"src/plugins/vmap/vmapvoxwriter.h",
"src/plugins/vmap/vmapwriter.cpp",
"src/plugins/vmap/vmapwriter.h",
"src/qimagewidget.cpp",
"src/qimagewidget.h",
"src/riff/riff.cpp",
"src/riff/riff.h",
"src/riff/riffbinaryreaderext.cpp",
"src/riff/riffbinaryreaderext.h",
"src/riff/riffbinarywriterext.cpp",
"src/riff/riffbinarywriterext.h",
"src/riff/riffencoding.h",
"src/span.h",
"src/splay/splay.cpp",
"src/splay/splay.h",
"src/volint/volint.cpp",
"src/volint/volint.h",
"src/mtool/ModelClass.h",
"src/mtool/ModelClass.cpp",
"src/vox/vox.h",
"src/vox/voxbinaryreaderext.cpp",
"src/vox/voxbinaryreaderext.h",
"src/vox/voxbinarywriterext.cpp",
"src/vox/voxbinarywriterext.h",
]
install: true
installDir: qbs.targetOS.contains("qnx") ? FileInfo.joinPaths("/tmp", name, "bin") : base
Group {
name: "Desktop file (Linux)"
condition: qbs.targetOS.contains("linux")
qbs.install: true
qbs.installDir: "share/applications"
files: [ "./com.lpenguin.vangers-utils.desktop" ]
}
Group {
name: "Images (Linux)"
condition: qbs.targetOS.contains("linux")
qbs.install: true
qbs.installDir: "share/icons/hicolor/256x256/apps"
files: [ "./VangersUtils.png" ]
}
}