C++ (Qt)QSqlDatabase db = QSqlDatabase::addDatabase("QTDS"); db.setDatabaseName("my_base"); db.setHostName(host); db.setUserName(user); db.setPassword(pass);; if(!db.isValid()) { qDebug() << "QTDS is not valid"; }
QSqlDatabase: QTDS driver not loadedQSqlDatabase: available drivers: QSQLITE QODBC3 QODBCQTDS is not valid
:-1: ошибка: cannot find -lsybdb