Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7
-
None
-
-
08d36a04f (dev), 993ebc0ab (6.6), 2fcfe3027 (6.5), d70b873c3 (dev)
Description
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"
Attachments
Issue Links
- relates to
-
QTBUG-117952 QSqlDatabase depends on QCoreApplication
-
- Closed
-
For Gerrit Dashboard: QTBUG-117621 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
507596,3 | Fix qsqldatabaseandqueries_test.py to work in Qt 6.7 | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
507928,2 | Fix qsqldatabaseandqueries_test.py to work in Qt 6.7 | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
508083,2 | Fix qsqldatabaseandqueries_test.py to work in Qt 6.7 | 6.5 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
510842,4 | QSqlDatabase: check if QCoreApplication::instance() exists | dev | qt/qtbase | Status: MERGED | +2 | 0 |