Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.0
-
None
-
-
f03941e4113e2c8c0a594592be44efc92614ec9d (qt/qtbase/wip/qt6)
Description
New qt version forces you to create new connection to database for every thread.
I was using
QSqlDatabase | cloneDatabase(const QSqlDatabase &other, const QString &connectionName) |
to create new connections from other trheads, and now i can't. This function should be thread safe and allow access to database object because it just copies all the connection parameters. Otherwise this function has no purpose...