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

Reg->6.7: QSqlDatabase::drivers() requires a QCoreApplication to work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.7.0 FF
    • 6.7
    • SQL Support
    • None
    • All
    • 08d36a04f (dev), 993ebc0ab (6.6), 2fcfe3027 (6.5), d70b873c3 (dev)

      Calling QSqlDatabase::drivers() without qApp produces

      6.7.0
      ASSERT failure in QtGlobalStatic::ApplicationHolder<QAS>::PlainType* QtGlobalStatic::ApplicationHolder<QAS>::pointer() 
         [with QAS = {anonymous}::Q_QAS_s_sqlGlobals; QtGlobalStatic::ApplicationHolder<QAS>::PlainType = {anonymous}::QtSqlGlobals]: 
         "The application static was used without a QCoreApplication instance", file  qt-dev/qt-dev/qtbase/src/corelib/kernel/qapplicationstatic.h, line 54
      

      whereas

      6.6.1
      qt.core.qobject.connect: QObject::connect(QObject, Unknown): invalid nullptr parameter
      "QMARIADB"
      "QMYSQL"
      "QSQLITE"
      

        For Gerrit Dashboard: QTBUG-117621
        # Subject Branch Project Status CR V

            chehrlic Christian Ehrlicher
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes