That is hard to tell without having access to the code, but the error is QT
See information here: SQL Database Drivers | Qt SQL 5.12
Quote: instruct the ODBC driver to behave as a 3.x driver by setting the connect option "SQL_ATTR_ODBC_VERSION=SQL_OV_ODBC3" before you open your database connection.
QSqlDatabase db = QSqlDatabase::addDatabase("QODBC3");
Another thing you can try is run the application in "Compatibility mode for XP".