Hello,
When I set the type of one property to be quint16 , I can't get the
object serialized . Is it intended ?
The code is like this:
class TunnelResultObject : public QObject
{
Q_OBJECT
Q_PROPERTY(bool Success READ GetSuccess WRITE SetSuccess) //!<隧道开启是
否成功。
Q_PROPERTY(int Port READ GetPort WRITE SetPort) //!<隧道的端口号。
……
I can serialize this successfully.
If I change the type of Port to be quint16 , then I got an empty string
as the serialization result .
What's the reason?
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
QJson-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qjson-devel