qt5base-lts/tests/manual/diaglib/diaglib.pri
Johan Klokkhammer Helsing d2068b24e4 Manual tests: Port diaglib from QGL to QOpenGL
Task-number: QTBUG-74408
Change-Id: I25dedd69c6927e5d627f8104c404e23ce68487d9
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
2020-02-28 08:16:32 +01:00

45 lines
842 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:!winrt: {
SOURCES += $$PWD/nativewindowdump_win.cpp
QMAKE_USE += user32
} else {
SOURCES += $$PWD/nativewindowdump.cpp
}
QT += gui-private core-private
contains(QT, widgets) {
HEADERS += \
$$PWD/qwidgetdump.h \
$$PWD/debugproxystyle.h \
$$PWD/logwidget.h
SOURCES += \
$$PWD/qwidgetdump.cpp \
$$PWD/debugproxystyle.cpp \
$$PWD/logwidget.cpp
QT += widgets-private
}
contains(QT, opengl) {
HEADERS += \
$$PWD/glinfo.h
SOURCES += \
$$PWD/glinfo.cpp
QT += opengl openglwidgets
}
DEFINES += QT_DIAG_LIB