我正在尝试执行一个简单的 qt5 c++ 程序以列出所有 wifi 网络,当我在 linux mint 中执行它时,它开箱即用,但是当我尝试在 Raspberry pi(最新的 raspbian)中执行它时,我收到以下错误:
QDBusConnection: error: could not send message to service "org.freedesktop.NetworkManager" path "" interface "org.freedesktop.DBus.Introspectable" member "Introspect":
ERROR : Interface invalid
我的 wifi 加密狗正在工作,因为我可以使用以下命令列出所有 wifi 网络:
sudo iwlist wlan0 scan
怎么了?提前致谢。