[Qt-interest] the Data transfered by D-Bus in Qt error?

Thiago Macieira thiago at kde.org
Wed Sep 15 20:00:49 CEST 2010


On Wednesday 15. September 2010 09.56.36 ying.cheng wrote:
> hi,all
> 
> I come across a very strange problem when using D-Bus:
> 
> 1. Process A(D-Bus Adaptor) provide the method:
>    void function(Struct parameter);
> 
> 2. Process B(D-Bus Interface) call the method function, and transfer
> "parameter" to the Process A.
> 
> 3. The parameter is a structure variable, and it contains 8 integer: 3
> quint8, 2 quint16, 3 quint32.
> 
> 4. when I run the Process A and B on ARM. The Parameters are different:
>    Parameter in process A: 1,0,1,1,0,1493172224,0,68;
>    Parameter in process B: 1,0,1,0,0,89,17408,6144.
> 
> 5. But the process A and process B could run normally on Windows and on
> Linux. So the structure variable should have been declared  and registered
> correctly.
> 
> 6. I have include "<QtGlobal>" on Process A and Process B in order to use
> the "quint".
> 
> It's so strange! Could you tell me the possible reason?

What does dbus-monitor say about the data being transferred?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100915/436fa537/attachment.bin 


More information about the Qt-interest-old mailing list