If I use a QSqlTableModel to access a MySQL database I can convert a TIMESTAMP field using the following:QDateTime dateTime = index(section, column).data().
確定! 回上一頁