Workaround a bug in mktime on QNX
authorFabian Bumberger <fbumberger@rim.com>
Sun, 3 Mar 2013 14:06:40 +0000 (15:06 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 5 Mar 2013 20:56:52 +0000 (21:56 +0100)
commit56820382f26069ea81444da075e6cbefc8f03765
treea48277c4cf18a768608e62454d9364501c09c221
parent4f60ff6ad3e89696cfe9550b0e05de779163d677
Workaround a bug in mktime on QNX

Under certain circumstances, mktime failes to convert the tm struct into secs since epoch.
This is a workaround and fixes the qdatetime and qqmllocale autotests.

Change-Id: If99385142a049c5315429dca177df7fc8e947d55
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Wolfgang Bremer <wbremer@rim.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/tools/qdatetime.cpp