Details
-
Bug
-
Resolution: Cannot Reproduce
-
P3: Somewhat important
-
None
-
6.1.3
-
None
Description
Hello,
the error does not occur in QT5.15.
Everytime i try to connect to the PGRE-Sql Database i get this error:
"unterminated quoted string in connection info string\nQPSQL: Es kann keine Verbindung aufgebaut werden"
m_db = QSqlDatabase::addDatabase(APP_SQL_DRIVER); m_db.setUserName("postgres"); m_db.setPassword("postgres"); m_db.setHostName("localhost"); m_db.setPort(5432); m_db.setDatabaseName("database"); if(m_db.open()) { QTimer::singleShot(APP_DB_TIMER_MS, this, &Data::checkDb); } else { QTimer::singleShot(APP_DB_TIMER_MS, this, &Data::dbConnect); }