Details
-
Suggestion
-
Resolution: Done
-
P4: Low
-
4.1.4
-
None
-
9b361f0e90fb1c154a16e65ec087ad36d5cca9b4
Description
Since QSqlDatabase objects can't be shared between threads, it would be helpful if QSqlDatabase::database() would check that it's called in the thread where the asked-for QSqlDatabase lives.
Attachments
Issue Links
- resulted in
-
QTBUG-68486 [Qt 5.11] Sql Query from QThread
-
- Closed
-
For Gerrit Dashboard: QTBUG-216 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
213515,3 | Return an invalid QSqlDatabase when accessing from another thread | dev | qt/qtbase | Status: MERGED | +2 | 0 |