[Interest] QDateTime: time part is "00:00:00" in "Locals & Expressions"

mail at herrdiel.de mail at herrdiel.de
Thu Jul 20 23:42:50 CEST 2017


Hi,

variables  of QDateTime type are apparently not displayed correctly in 
"Locals & Expressions", the time information is missing. While the date 
part is shown correctly, the time is always 00:00:00.

The same variable prints just right with qDebug().

QtCreator (rather: gdb?) shows:

     "reference    Do Jul 20 00:00:00 2017    QDateTime"

qDebug() outputs:

     "QDateTime(2017-07-20 21:45:55.220 Mittele[...]"

Is that a bug, a known limitation or am I missing something here?

System:

- Qt Creator 4.2.1, Qt5.8.0, MinGW 5.3.0 32bit

- GNU gdb 7.10.1 for MinGW 5.3.0 32bit

- Win10, 64bit on an i7-5775C

Best regards,

Sebastian




-- 
http://www.classintouch.de - Tablet-Software für Lehrer




More information about the Interest mailing list