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
|
|
|
|
2020-06-05 07:24:37 +00:00
|
|
|
win32: {
|
2014-11-07 14:57:25 +00:00
|
|
|
SOURCES += $$PWD/nativewindowdump_win.cpp
|
2020-12-09 13:59:40 +00:00
|
|
|
LIBS += -luser32
|
2014-11-07 14:57:25 +00:00
|
|
|
} else {
|
|
|
|
SOURCES += $$PWD/nativewindowdump.cpp
|
|
|
|
}
|
|
|
|
|
2019-11-11 10:39:02 +00:00
|
|
|
QT += gui-private core-private
|
|
|
|
contains(QT, widgets) {
|
2014-11-07 14:57:25 +00:00
|
|
|
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
|
2019-11-12 13:33:57 +00:00
|
|
|
QT += widgets-private
|
2014-11-07 14:57:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
contains(QT, opengl) {
|
2019-11-12 13:33:57 +00:00
|
|
|
HEADERS += \
|
|
|
|
$$PWD/glinfo.h
|
2014-11-07 14:57:25 +00:00
|
|
|
|
2019-11-12 13:33:57 +00:00
|
|
|
SOURCES += \
|
|
|
|
$$PWD/glinfo.cpp
|
|
|
|
|
2020-02-19 10:14:46 +00:00
|
|
|
QT += opengl openglwidgets
|
2014-11-07 14:57:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DEFINES += QT_DIAG_LIB
|