2014-11-07 14:57:25 +00:00
|
|
|
INCLUDEPATH += $$PWD
|
|
|
|
SOURCES += \
|
2014-12-17 10:16:45 +00:00
|
|
|
$$PWD/textdump.cpp \
|
2014-11-07 14:57:25 +00:00
|
|
|
$$PWD/eventfilter.cpp \
|
|
|
|
$$PWD/qwindowdump.cpp \
|
|
|
|
|
|
|
|
HEADERS += \
|
2014-12-17 10:16:45 +00:00
|
|
|
$$PWD/textdump.h \
|
2014-11-07 14:57:25 +00:00
|
|
|
$$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 += \
|
2014-12-05 10:30:56 +00:00
|
|
|
$$PWD/qwidgetdump.h
|
2014-11-07 14:57:25 +00:00
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
$$PWD/qwidgetdump.cpp
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
HEADERS += \
|
2014-11-26 08:17:19 +00:00
|
|
|
$$PWD/qwidgetdump.h
|
2014-11-07 14:57:25 +00:00
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
$$PWD/qwidgetdump.cpp
|
|
|
|
}
|
|
|
|
|
|
|
|
contains(QT, opengl) {
|
|
|
|
HEADERS += \
|
|
|
|
$$PWD/glinfo.h
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
$$PWD/glinfo.cpp
|
|
|
|
}
|
|
|
|
|
|
|
|
DEFINES += QT_DIAG_LIB
|