summaryrefslogtreecommitdiffstats
path: root/src/widgets/util/util.pri
blob: a3bd8897f1e641c7eda560e4d040b5ce653c7421 (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
# Qt util module

HEADERS += \
        util/qsystemtrayicon.h \
        util/qcolormap.h \
        util/qsystemtrayicon_p.h

SOURCES += \
        util/qsystemtrayicon.cpp \
        util/qcolormap.cpp

qtConfig(completer) {
    HEADERS += \
        util/qcompleter.h \
        util/qcompleter_p.h

    SOURCES += util/qcompleter.cpp
}

qtConfig(scroller) {
    HEADERS += \
        util/qscroller.h \
        util/qscroller_p.h \
        util/qscrollerproperties.h \
        util/qscrollerproperties_p.h \
        util/qflickgesture_p.h

    SOURCES += \
        util/qscroller.cpp \
        util/qscrollerproperties.cpp \
        util/qflickgesture.cpp \
}

qtConfig(undocommand) {
    HEADERS += \
        util/qundostack.h \
        util/qundostack_p.h

    SOURCES += util/qundostack.cpp
}

qtConfig(undogroup) {
    HEADERS += util/qundogroup.h
    SOURCES += util/qundogroup.cpp
}

qtConfig(undoview) {
    HEADERS += util/qundoview.h
    SOURCES += util/qundoview.cpp
}

qtConfig(xcb) {
    SOURCES += util/qsystemtrayicon_x11.cpp
} else {
    SOURCES += util/qsystemtrayicon_qpa.cpp
}

mac {
    OBJECTIVE_SOURCES += util/qscroller_mac.mm
}