b6514cf307
Add a functions to dump out texts character by character and as code. Task-number: QTBUG-43191 Change-Id: I1ac17f2485563f909b71bb1fbd1fd595d1d94223 Reviewed-by: Andy Shaw <andy.shaw@digia.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
46 lines
797 B
Plaintext
46 lines
797 B
Plaintext
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
|
|
|
|
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
|