Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-216

QSqlDatabase::database() should print a warning when called from the wrong thread

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • 5.11.0 Alpha
    • 4.1.4
    • SQL Support
    • None
    • 9b361f0e90fb1c154a16e65ec087ad36d5cca9b4

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            andysh Andy Shaw
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes