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

QSqlTableModel warning when creating in different thread

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.11.1
    • Fix Version/s: 5.12.0 Alpha
    • Component/s: SQL Support
    • Labels:
      None
    • Commits:
      28702cb239b0dbc915ee3511768ff8e366e35e88

      Description

      The warning appears even if supply proper database object.

      QSqlDatabasePrivate::database: requested database does not belong to the calling thread.
      

        Attachments

        1. main.cpp
          0.5 kB
          Dmitry Yelizarov
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            andysh Andy Shaw
            Reporter:
            hellclown Dmitry Yelizarov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes