blob: e3e7c3757c2d8f6ae2590a2455ddb65e50d5afc3 (
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
|
INCLUDEPATH += $$PWD
SOURCES += \
$$PWD/textdump.cpp \
$$PWD/eventfilter.cpp \
$$PWD/qwindowdump.cpp
HEADERS += \
$$PWD/textdump.h \
$$PWD/eventfilter.h \
$$PWD/qwindowdump.h \
$$PWD/nativewindowdump.h
win32 {
SOURCES += $$PWD/nativewindowdump_win.cpp
LIBS *= -luser32
} else {
SOURCES += $$PWD/nativewindowdump.cpp
}
greaterThan(QT_MAJOR_VERSION, 4) {
QT += gui-private core-private
contains(QT, widgets) {
HEADERS += \
$$PWD/qwidgetdump.h \
$$PWD/debugproxystyle.h \
$$PWD/logwidget.h
SOURCES += \
$$PWD/qwidgetdump.cpp \
$$PWD/debugproxystyle.cpp \
$$PWD/logwidget.cpp
}
} else {
HEADERS += \
$$PWD/qwidgetdump.h \
$$PWD/debugproxystyle.h \
$$PWD/logwidget.h
SOURCES += \
$$PWD/qwidgetdump.cpp \
$$PWD/debugproxystyle.cpp \
$$PWD/logwidget.cpp
}
contains(QT, opengl) {
HEADERS += \
$$PWD/glinfo.h
SOURCES += \
$$PWD/glinfo.cpp
}
DEFINES += QT_DIAG_LIB
|