bac999f38c
Fixes incorrect target name for styles test. Explicit reference of widgets and opengl libraries in dialog.pri. While not necessary for qmake it makes our lives easier when running the CMake conversion script. Change-Id: I036cae9d801c80c5817421b8427fc5c91e2f7883 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
45 lines
828 B
Plaintext
45 lines
828 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
|
|
}
|
|
|
|
DEFINES += QT_DIAG_LIB
|