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

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

SOURCES += \
        util/qsystemtrayicon.cpp \
        util/qcolormap.cpp \
        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
}