在使用Dbus 通信时出现 QDBusMarshaller: cannot add a null QDBusVariant错误,高手请进
亦木223 2011-01-17 02:04:04 在注册接口中的方法参数中如果含有char,long, ulong类型时,就会显示QDBusMarshaller: cannot add a null QDBusVariant
QDBusConnection: error: could not send reply message to service "": Marshalling failed: Variant containing QVariant::Invalid passed in arguments,不知道是什么原因,这样的华就导致了,不能在接口方法中使用char, long, 和ulong类型的数据。其中int, uint, QString, qlonglong, qulonglong 都测试通过是可以用的。