Disable NetworkManager plugin for -no-dbus
The plugin depends on Qt::DBus, so do not try to configure it if Qt::DBus is not available. Pick-to: 6.1 Fixes: QTBUG-91155 Change-Id: I70ddca63a277cd57a253092f97160f89ebc76f06 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
e8c52d0e8c
commit
ea1c35d557
@ -2,7 +2,7 @@ if(WIN32 AND QT_FEATURE_networklistmanager)
|
||||
add_subdirectory(networklistmanager)
|
||||
endif()
|
||||
|
||||
if(LINUX)
|
||||
if(LINUX AND TARGET Qt::DBus)
|
||||
add_subdirectory(networkmanager)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user