[Interest] Question about using QtDBus
Thiago Macieira
thiago.macieira at intel.com
Thu Aug 28 21:18:07 CEST 2014
On Thursday 28 August 2014 18:28:55 Rogers Nate wrote:
> I have that static method in ServiceErrorLogData.cpp...
>
> void ServiceErrorLogData::registerMetaType()
> {
> qRegisterMetaType<ServiceErrorLogData>("ServiceErrorLogData");
>
> qDBusRegisterMetaType<ServiceErrorLogData>();
> qDBusRegisterMetaType<QList<ServiceErrorLogData> >();
> }
>
> I was calling this from my main.cpp. Is that not a good way to do it or
> did I not use it correctly?
It should be.
Can you tell us a little more? Is your slot called at all? If not, what error
does the caller get when trying to call it? If so, is any warning printed
after return?
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list