Fix build without features.networkproxy
Change-Id: Ie0868b2d2ec30513e870861514b252a79dff4998 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
parent
5106d496f3
commit
179fe5981f
@ -212,7 +212,7 @@
|
||||
"label": "SOCKS5",
|
||||
"purpose": "Provides SOCKS5 support in QNetworkProxy.",
|
||||
"section": "Networking",
|
||||
"condition": "!config.winrt",
|
||||
"condition": "!config.winrt && features.networkproxy",
|
||||
"output": [ "publicFeature", "feature" ]
|
||||
},
|
||||
"networkinterface": {
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
HEADERS += socket/qabstractsocketengine_p.h \
|
||||
socket/qhttpsocketengine_p.h \
|
||||
socket/qsocks5socketengine_p.h \
|
||||
socket/qabstractsocket.h \
|
||||
socket/qabstractsocket_p.h \
|
||||
socket/qtcpsocket.h \
|
||||
@ -17,7 +16,6 @@ HEADERS += socket/qabstractsocketengine_p.h \
|
||||
|
||||
SOURCES += socket/qabstractsocketengine.cpp \
|
||||
socket/qhttpsocketengine.cpp \
|
||||
socket/qsocks5socketengine.cpp \
|
||||
socket/qabstractsocket.cpp \
|
||||
socket/qtcpsocket.cpp \
|
||||
socket/qudpsocket.cpp \
|
||||
@ -25,6 +23,15 @@ SOURCES += socket/qabstractsocketengine.cpp \
|
||||
socket/qlocalsocket.cpp \
|
||||
socket/qlocalserver.cpp
|
||||
|
||||
# SOCK5 support.
|
||||
|
||||
qtConfig(socks5) {
|
||||
HEADERS += \
|
||||
socket/qsocks5socketengine_p.h
|
||||
SOURCES += \
|
||||
socket/qsocks5socketengine.cpp
|
||||
}
|
||||
|
||||
# SCTP support.
|
||||
|
||||
qtConfig(sctp) {
|
||||
|
Loading…
Reference in New Issue
Block a user