[SOLVED] Unixtime with QJson, too long?
General and Desktop
3
Posts
2
Posters
991
Views
1
Watching
-
Hi,
I'm using QJson (Qt > 5) as protocol between server and client.
If I want to send the actual time in unixtime format, the
last 4-5 digits are zero.I think the problem is, that QJsonObject has only a double value and no
integer.
So I tried to reintpret int to double and on the server the other way, but this doesn't worked.Is there a other solution?
thx