Jef
20th December 2016, 10:13
Hello,
In my Qt program 32 bits, I make a connexion to a PostgreSql DB.
On my development computer (W7 64bits), in release mode, it works but when I try on a W7 32 bits computer without Qt installed : "driver not loaded".
Before
db = QSqlDatabase::addDatabase("QPSQL");
I add a trace to display the list of available drivers coming from
QSqlDatabase::drivers();
On the dev computer : "QSQLITE", "QMYSQL", "QMYSQL3", "QODBC", "QODBC3", "QPSQL", "QPSQL7"
on the other computer : nothing !
Something is missing but what ?
:(
In my Qt program 32 bits, I make a connexion to a PostgreSql DB.
On my development computer (W7 64bits), in release mode, it works but when I try on a W7 32 bits computer without Qt installed : "driver not loaded".
Before
db = QSqlDatabase::addDatabase("QPSQL");
I add a trace to display the list of available drivers coming from
QSqlDatabase::drivers();
On the dev computer : "QSQLITE", "QMYSQL", "QMYSQL3", "QODBC", "QODBC3", "QPSQL", "QPSQL7"
on the other computer : nothing !
Something is missing but what ?
:(