В Windows при подключении к ODBC получаю "Driver not loaded".Делаю так:QSqlDatabase *db = QSqlDatabase :: addDatabase ("QODBC3");db -> setDatabaseName( "archpu" );if ( !db -> open() ) QMessageBox::warning(this, "Warning", "Can't connect to ARCHPU database!\n" + db -> lastError().driverText(), "OK");
|