Do not build SPDY support if SSL is disabled
QSpdyProtocolHandler requires the features http and ssl. This fixes the moc warning src/network/access/qspdyprotocolhandler_p.h:0: Note: No relevant classes found. No output generated. for the -no-ssl build. Change-Id: I915751e98fc67e8601a8da8c5d18b11304bc0390 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Peter Hartmann <peter-qt@hartmann.tk>
This commit is contained in:
parent
c3059391fe
commit
372b5504fd
@ -84,8 +84,7 @@ qtConfig(http) {
|
||||
access/qhttpnetworkrequest.cpp \
|
||||
access/qhttpprotocolhandler.cpp \
|
||||
access/qhttpthreaddelegate.cpp \
|
||||
access/qnetworkreplyhttpimpl.cpp \
|
||||
access/qspdyprotocolhandler.cpp
|
||||
access/qnetworkreplyhttpimpl.cpp
|
||||
|
||||
HEADERS += \
|
||||
access/qabstractprotocolhandler_p.h \
|
||||
@ -99,6 +98,12 @@ qtConfig(http) {
|
||||
access/qhttpnetworkrequest_p.h \
|
||||
access/qhttpprotocolhandler_p.h \
|
||||
access/qhttpthreaddelegate_p.h \
|
||||
access/qnetworkreplyhttpimpl_p.h \
|
||||
access/qspdyprotocolhandler_p.h
|
||||
access/qnetworkreplyhttpimpl_p.h
|
||||
|
||||
qtConfig(ssl) {
|
||||
SOURCES += \
|
||||
access/qspdyprotocolhandler.cpp
|
||||
HEADERS += \
|
||||
access/qspdyprotocolhandler_p.h
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user