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. Fixes: QTBUG-91155 Change-Id: I70ddca63a277cd57a253092f97160f89ebc76f06 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> (cherry picked from commit ea1c35d5578e978b743350bc6ab7c61c50152ca6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
43fe602ea3
commit
b87a916453
@ -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…
x
Reference in New Issue
Block a user