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 \
|
2016-06-30 09:05:15 +00:00
|
|
|
$$PWD/qwindowdump.cpp
|
2014-11-07 14:57:25 +00:00
|
|
|
|
|
|
|
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 \
|
2016-06-30 09:05:15 +00:00
|
|
|
$$PWD/nativewindowdump.h
|
2014-11-07 14:57:25 +00:00
|
|
|
|
2017-03-20 14:01:15 +00:00
|
|
|
win32:!winrt: {
|
2014-11-07 14:57:25 +00:00
|
|
|
SOURCES += $$PWD/nativewindowdump_win.cpp
|
2019-04-24 09:26:58 +00:00
|
|
|
QMAKE_USE += user32
|
2014-11-07 14:57:25 +00:00
|
|
|
} else {
|
|
|
|
SOURCES += $$PWD/nativewindowdump.cpp
|
|
|
|
}
|
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
|
|
QT += gui-private core-private
|
|
|
|
contains(QT, widgets) {
|
|
|
|
HEADERS += \
|
2016-05-26 07:11:28 +00:00
|
|
|
$$PWD/qwidgetdump.h \
|
2016-06-30 09:05:15 +00:00
|
|
|
$$PWD/debugproxystyle.h \
|
2016-05-26 07:11:28 +00:00
|
|
|
$$PWD/logwidget.h
|
2014-11-07 14:57:25 +00:00
|
|
|
|
|
|
|
SOURCES += \
|
2016-05-26 07:11:28 +00:00
|
|
|
$$PWD/qwidgetdump.cpp \
|
2016-06-30 09:05:15 +00:00
|
|
|
$$PWD/debugproxystyle.cpp \
|
2016-05-26 07:11:28 +00:00
|
|
|
$$PWD/logwidget.cpp
|
2014-11-07 14:57:25 +00:00
|
|
|
}
|
|
|
|
} else {
|
|
|
|
HEADERS += \
|
2016-05-26 07:11:28 +00:00
|
|
|
$$PWD/qwidgetdump.h \
|
2016-06-30 09:05:15 +00:00
|
|
|
$$PWD/debugproxystyle.h \
|
2016-05-26 07:11:28 +00:00
|
|
|
$$PWD/logwidget.h
|
2014-11-07 14:57:25 +00:00
|
|
|
|
|
|
|
SOURCES += \
|
2016-05-26 07:11:28 +00:00
|
|
|
$$PWD/qwidgetdump.cpp \
|
2016-06-30 09:05:15 +00:00
|
|
|
$$PWD/debugproxystyle.cpp \
|
2016-05-26 07:11:28 +00:00
|
|
|
$$PWD/logwidget.cpp
|
2014-11-07 14:57:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
contains(QT, opengl) {
|
|
|
|
HEADERS += \
|
|
|
|
$$PWD/glinfo.h
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
$$PWD/glinfo.cpp
|
|
|
|
}
|
|
|
|
|
|
|
|
DEFINES += QT_DIAG_LIB
|