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 += \
|
||||
$$PWD/textdump.cpp \
|
||||
$$PWD/eventfilter.cpp \
|
||||
$$PWD/qwindowdump.cpp \
|
||||
$$PWD/debugproxystyle.cpp
|
||||
$$PWD/qwindowdump.cpp
|
||||
|
||||
HEADERS += \
|
||||
$$PWD/textdump.h \
|
||||
$$PWD/eventfilter.h \
|
||||
$$PWD/qwindowdump.h \
|
||||
$$PWD/nativewindowdump.h \
|
||||
$$PWD/debugproxystyle.h
|
||||
$$PWD/nativewindowdump.h
|
||||
|
||||
win32 {
|
||||
SOURCES += $$PWD/nativewindowdump_win.cpp
|
||||
@ -24,19 +22,23 @@ greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
contains(QT, widgets) {
|
||||
HEADERS += \
|
||||
$$PWD/qwidgetdump.h \
|
||||
$$PWD/debugproxystyle.h \
|
||||
$$PWD/logwidget.h
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/qwidgetdump.cpp \
|
||||
$$PWD/debugproxystyle.cpp \
|
||||
$$PWD/logwidget.cpp
|
||||
}
|
||||
} else {
|
||||
HEADERS += \
|
||||
$$PWD/qwidgetdump.h \
|
||||
$$PWD/debugproxystyle.h \
|
||||
$$PWD/logwidget.h
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/qwidgetdump.cpp \
|
||||
$$PWD/debugproxystyle.cpp \
|
||||
$$PWD/logwidget.cpp
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user