blob: 822a5d3efbbf89f6bd934e52f383bd24069ab4a8 (
plain)
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
|
TEMPLATE = subdirs
# This variable is introduced to skip QtLocation build during migration to Qt6
SKIP_QT_LOCATION = TRUE
!defined(SKIP_QT_LOCATION, var) {
QT_FOR_CONFIG += location-private
include($$OUT_PWD/location/qtlocation-config.pri)
}
include($$OUT_PWD/positioning/qtpositioning-config.pri)
clip2tri.subdir = 3rdparty/clip2tri
poly2tri.subdir = 3rdparty/poly2tri
clipper.subdir = 3rdparty/clipper
SUBDIRS += clip2tri clipper poly2tri
clip2tri.depends = clipper poly2tri
SUBDIRS += positioning
positioning.depends = clip2tri
qtHaveModule(quick) {
defined(SKIP_QT_LOCATION, var) {
SUBDIRS += positioningquick
} else {
SUBDIRS += positioningquick location
}
positioningquick.depends += positioning
!defined(SKIP_QT_LOCATION, var) {
location.depends += positioningquick clip2tri
plugins.depends += location
}
SUBDIRS += imports
defined(SKIP_QT_LOCATION, var) {
imports.depends += positioningquick positioning
} else {
imports.depends += positioningquick positioning location
}
}
plugins.depends += positioning
SUBDIRS += plugins
!android:contains(QT_CONFIG, private_tests) {
SUBDIRS += positioning_doc_snippets
positioning_doc_snippets.subdir = positioning/doc/snippets
#plugin dependency required during static builds
positioning_doc_snippets.depends = positioning plugins
!defined(SKIP_QT_LOCATION, var) {
qtHaveModule(quick) {
SUBDIRS += location_doc_snippets
location_doc_snippets.subdir = location/doc/snippets
#plugin dependency required during static builds
location_doc_snippets.depends = location plugins
}
}
}
|