45b0f1be68
Macros and the await helper function from qfunctions_winrt(_p).h are needed in other Qt modules which use UWP APIs on desktop windows. Task-number: QTBUG-84434 Change-Id: Ice09c11436ad151c17bdccd2c7defadd08c13925 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
45 lines
835 B
Plaintext
45 lines
835 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
|
|
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
|