I don't think you can just use QDateTime (as of Qt 5.5). Milliseconds support in MySQL is relatively a new feature and nobody has added the code necessary to read them back... see http://code.qt.io/cgit/qt/qtbase.git/tree/src/sql/drivers/mysql/qsql_mysql.cpp#n142
– peppeJul 25 '15 at 13:34
I've made a reference to your comment [here](http://stackoverflow.com/questions/31582537/mysql-timestamp-to-qdatetime-with-milliseconds/31631751#31631751).
– KcFnMiJul 25 '15 at 22:39