0a91f15878
Change-Id: I2888c4fb9947d61285a8a570661a29e61b10bbce Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
44 lines
749 B
Plaintext
44 lines
749 B
Plaintext
INCLUDEPATH += $$PWD
|
|
SOURCES += \
|
|
$$PWD/eventfilter.cpp \
|
|
$$PWD/qwindowdump.cpp \
|
|
|
|
HEADERS += \
|
|
$$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
|
|
|
|
SOURCES += \
|
|
$$PWD/qwidgetdump.cpp
|
|
}
|
|
} else {
|
|
HEADERS += \
|
|
$$PWD/qwidgetdump.h
|
|
|
|
SOURCES += \
|
|
$$PWD/qwidgetdump.cpp
|
|
}
|
|
|
|
contains(QT, opengl) {
|
|
HEADERS += \
|
|
$$PWD/glinfo.h
|
|
|
|
SOURCES += \
|
|
$$PWD/glinfo.cpp
|
|
}
|
|
|
|
DEFINES += QT_DIAG_LIB
|