There is a problem with QDateTime's constructors, they are sometimes ambiguous
since the QTimeZone pointer is treated as an integer when passing null, so the
wrong overload is called. The static constant UTC_TIMEZONE of tipe QTimeZone*
will be created in QDateTime, whose value will be null, so it can be easily
used as parameter.
Original issue reported on code.google.com by Lince3D@gmail.com on 14 Nov 2014 at 7:03
Original issue reported on code.google.com by
Lince3D@gmail.com
on 14 Nov 2014 at 7:03