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

Can't recompile qodbc-driver, recompilation fails on qsql_odbc.cpp, QStringBuilder has no member named 'simplified'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.0
    • 4.7.0
    • SQL Support
    • None
    • Windows XP Prof SP2 (32bit)
      Qt 4.7.0-beta1, Qt 4.6.0, Qt 4.6.1
      MinGW 3.81
    • dad9f0db9dbde73aeaccc4f5d27def15066cd618

    Description

      Can't recompile qodbc-driver. In file drivers\odbc\qsql_odbc.cpp, string 264; 270 there is error: call to simpliied() function, but class QStringBuilder<QStringBuilder<QString, QLatin1Char>, QString> has no such member.

      code string:

      return (qWarnODBCHandle(SQL_HANDLE_ENV, odbc->dpEnv()) + QLatin1Char(' ')
      + qWarnODBCHandle(SQL_HANDLE_DBC, odbc->dpDbc()) + QLatin1Char(' ')
      + qWarnODBCHandle(SQL_HANDLE_STMT, odbc->hStmt, nativeCode)).simplified();

      <...>

      return (qWarnODBCHandle(SQL_HANDLE_ENV, odbc->hEnv) + QLatin1Char(' ')
      + qWarnODBCHandle(SQL_HANDLE_DBC, odbc->hDbc, nativeCode)).simplified();

      Affected: Qt 4.7.0-Beta1
      4.6.0, 4.6.1: no call "simplified()" in.

      Qt compile configuration:
      -opensource -debug-and-release -developer-build -qt-sql-odbc -no-qt3support -qt-sql-psql -I D:/Qt/PostgreSQL/8.4/include -L D:/Qt/PostgreSQL/8.4/lib -l libpq

      Compile error messages:

      drivers\odbc\qsql_odbc.cpp: In function 'QString qODBCWarn(const QODBCPrivate*,
      int*)':
      drivers\odbc\qsql_odbc.cpp:264: error: 'class QStringBuilder<QStringBuilder<QStr
      ingBuilder<QStringBuilder<QString, QLatin1Char>, QString>, QLatin1Char>, QString
      >' has no member named 'simplified'
      drivers\odbc\qsql_odbc.cpp: In function 'QString qODBCWarn(const QODBCDriverPriv
      ate*, int*)':
      drivers\odbc\qsql_odbc.cpp:270: error: 'class QStringBuilder<QStringBuilder<QStr
      ing, QLatin1Char>, QString>' has no member named 'simplified'
      drivers\odbc\qsql_odbc.cpp: In function 'QString qGetStringData(void*, int, int,
      bool)':

      Attachments

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

        Activity

          People

            mgoddard Michael Goddard (closed Nokia identity) (Inactive)
            graninas Alexander Granin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes