SQL driver stoppe with qt6.7
Unsolved
General and Desktop
-
Hi all
I have the following code :db = QSqlDatabase::addDatabase("QODBC"); db.setUserName("Julien"); db.setPassword("MB6262"); db.setDatabaseName("Driver={SQL Server};Server=192.168.21.174;Database=DBMachines;"); if(!db.open()) { qDebug(db.lastError().text().toStdString().c_str()); QTimer::singleShot(5000, [&](){ConnectDB();}); //Recall dans 5 sec } else { emit DbStatusChanged(true); RefreshF05(); RefreshSilicone(); RefreshCauseArret(); RefreshPTH1(); RefreshPTH2(); }
Its working in qt 6.4.1 but in qt 6.7 I get unable to connect error
anyone have an idea what changed that make my connection string fail?thank you
-
@JulsPower said in SQL driver stoppe with qt6.7:
anyone have an idea what changed that make my connection string fail?
Please use the forum search function: https://forum.qt.io/post/796986