File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -280,6 +280,7 @@ if (STATIC_LINKAGE OR QT_TARGET_TYPE STREQUAL STATIC_LIBRARY)
280
280
endif ()
281
281
endif ()
282
282
283
+ # enable network information support for projects setting NETWORK_INFORMATION_SUPPORT explicitly
283
284
if (NETWORK_INFORMATION_SUPPORT )
284
285
set (KNOWN_NETWORK_INFORMATION_PLUGINS
285
286
${META_NETWORK_INFORMATION_PLUGINS} NetworkManagerNetworkInformation GlibNetworkInformation NLMNI
@@ -297,13 +298,16 @@ if (STATIC_LINKAGE OR QT_TARGET_TYPE STREQUAL STATIC_LIBRARY)
297
298
PLUGINS
298
299
${PLUGIN}
299
300
ONLY_PLUGINS )
301
+ if (PLUGIN STREQUAL NLMNI )
302
+ set (PLUGIN NetworkListManagerNetworkInformation )
303
+ endif ()
300
304
list (APPEND USED_NETWORK_INFORMATION_PLUGINS "${PLUGIN} " )
301
305
endif ()
302
306
endforeach ()
303
307
304
308
# allow importing network information plugins via qtconfig.h
305
309
if (USED_NETWORK_INFORMATION_PLUGINS )
306
- list_to_string (" " "\\\n Q_IMPORT_PLUGIN(Q" ")" "${USED_NETWORK_INFORMATION_PLUGINS} "
310
+ list_to_string (" " "\\\n Q_IMPORT_PLUGIN(Q" "BackendFactory )" "${USED_NETWORK_INFORMATION_PLUGINS} "
307
311
USED_NETWORK_INFORMATION_PLUGINS_ARRAY )
308
312
endif ()
309
313
endif ()
You can’t perform that action at this time.
0 commit comments