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

ying.cheng ying.cheng at sseec.com.cn
Wed Sep 15 10:56:36 CEST 2010


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?


-----------------
Best Regards & Sincere Appreciation




More information about the Qt-interest-old mailing list