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

Qt SQL ODBC driver: add support for SQL_ATTR_CURSOR_SCROLLABLE

    XMLWordPrintable

Details

    • 730de6fbb (dev), 03e6f3859 (6.8), 8733d292f (6.7)

    Description

      IRIS, a popular QDBC 3.5 compatible database requires SQL_ATTR_CURSOR_SCROLLABLE=1 to work correctly. Without that option, QSqlTableModel complains about "Forward-only queries cannot be used in a data model".

      But right now, that connection option is not supported yet:
      https://doc.qt.io/qt-6/sql-driver.html#qodbc-for-open-database-connectivity-odbc
      See the "connection options" section.

      Attachments

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

        Activity

          People

            chehrlic Christian Ehrlicher
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change