Diaglib: Build DebugProxyStyle only when QtWidgets are used
Change-Id: Iba1ca731ac569db12211a93f65583d73ffcfce91 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
parent
e2665600c0
commit
fbe67f06bc
@ -2,15 +2,13 @@ INCLUDEPATH += $$PWD
|
|||||||
SOURCES += \
|
SOURCES += \
|
||||||
$$PWD/textdump.cpp \
|
$$PWD/textdump.cpp \
|
||||||
$$PWD/eventfilter.cpp \
|
$$PWD/eventfilter.cpp \
|
||||||
$$PWD/qwindowdump.cpp \
|
$$PWD/qwindowdump.cpp
|
||||||
$$PWD/debugproxystyle.cpp
|
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
$$PWD/textdump.h \
|
$$PWD/textdump.h \
|
||||||
$$PWD/eventfilter.h \
|
$$PWD/eventfilter.h \
|
||||||
$$PWD/qwindowdump.h \
|
$$PWD/qwindowdump.h \
|
||||||
$$PWD/nativewindowdump.h \
|
$$PWD/nativewindowdump.h
|
||||||
$$PWD/debugproxystyle.h
|
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
SOURCES += $$PWD/nativewindowdump_win.cpp
|
SOURCES += $$PWD/nativewindowdump_win.cpp
|
||||||
@ -24,19 +22,23 @@ greaterThan(QT_MAJOR_VERSION, 4) {
|
|||||||
contains(QT, widgets) {
|
contains(QT, widgets) {
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
$$PWD/qwidgetdump.h \
|
$$PWD/qwidgetdump.h \
|
||||||
|
$$PWD/debugproxystyle.h \
|
||||||
$$PWD/logwidget.h
|
$$PWD/logwidget.h
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
$$PWD/qwidgetdump.cpp \
|
$$PWD/qwidgetdump.cpp \
|
||||||
|
$$PWD/debugproxystyle.cpp \
|
||||||
$$PWD/logwidget.cpp
|
$$PWD/logwidget.cpp
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
$$PWD/qwidgetdump.h \
|
$$PWD/qwidgetdump.h \
|
||||||
|
$$PWD/debugproxystyle.h \
|
||||||
$$PWD/logwidget.h
|
$$PWD/logwidget.h
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
$$PWD/qwidgetdump.cpp \
|
$$PWD/qwidgetdump.cpp \
|
||||||
|
$$PWD/debugproxystyle.cpp \
|
||||||
$$PWD/logwidget.cpp
|
$$PWD/logwidget.cpp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user