Quote Originally Posted by SixDegrees View Post
Qt isn't syntactically different in C#; it is written and works exactly the same way as it does anywhere else.

It isn't the language that's at fault.
OK so let me know why this code doesn't work:

Qt Code:
  1. //fp data
  2. QByteArray b = user->fingerData(); //<-- return a reference to a QByteArray containing the fingerprint data
  3.  
  4. QVariant v(b);
  5. QVariantList fingerData;
  6.  
  7. fingerData.append(v);
To copy to clipboard, switch view to plain text mode 

I need to convert QByteArray b to QVariantList fingerData.
I'm sure I'm doing some mistake but I don't know which one. Instead in C# I don't have to convert anything.
I prefere C++ to C# but I can not loose 1 week to discover how to do a conversion.

Regards