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

Failed to Build qtbase on MSYS2/MINGW-w64 because of unrecognized QT_REMOVED_SINCE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 6.3
    • Core: Locales (i18n)
    • None
    • Windows

    Description

      Building qtbase from git branch 6.3 failed:

        In file included from C:/_/mingw-w64-qt6-base/src/qtbase/src/corelib/io/qfiledevice.cpp:43:
        In file included from C:/_/mingw-w64-qt6-base/src/qtbase/src/corelib/io/qfsfileengine_p.h:55:
        In file included from C:/_/mingw-w64-qt6-base/src/build-CLANG64/include/QtCore/6.3.0/QtCore/private/qabstractfileengine_p.h:1:
        In file included from C:/_/mingw-w64-qt6-base/src/build-CLANG64/include/QtCore/6.3.0/QtCore/private/../../../../../../qtbase/src/corelib/io/qabstractfileengine_p.h:56:
        In file included from C:/_/mingw-w64-qt6-base/src/build-CLANG64/include/QtCore/qdir.h:1:
        In file included from C:/_/mingw-w64-qt6-base/src/build-CLANG64/include/QtCore/../../../qtbase/src/corelib/io/qdir.h:45:
        In file included from C:/_/mingw-w64-qt6-base/src/build-CLANG64/include/QtCore/qfileinfo.h:1:
        In file included from C:/_/mingw-w64-qt6-base/src/build-CLANG64/include/QtCore/../../../qtbase/src/corelib/io/qfileinfo.h:47:
        In file included from C:/_/mingw-w64-qt6-base/src/build-CLANG64/include/QtCore/qdatetime.h:1:
        In file included from C:/_/mingw-w64-qt6-base/src/build-CLANG64/include/QtCore/../../../qtbase/src/corelib/time/qdatetime.h:47:
        In file included from C:/_/mingw-w64-qt6-base/src/build-CLANG64/include/QtCore/qcalendar.h:1:
        In file included from C:/_/mingw-w64-qt6-base/src/build-CLANG64/include/QtCore/../../../qtbase/src/corelib/time/qcalendar.h:46:
        In file included from C:/_/mingw-w64-qt6-base/src/build-CLANG64/include/QtCore/qlocale.h:1:
        C:/_/mingw-w64-qt6-base/src/build-CLANG64/include/QtCore/../../../qtbase/src/corelib/text/qlocale.h:1107:5: error: function-like macro 'QT_REMOVED_SINCE' is not defined
        #if QT_REMOVED_SINCE(6, 3)
            ^
        1 error generated.
      

      I think these two commits are the origin of this failure:
      https://code.qt.io/cgit/qt/qtbase.git/commit/?h=6.3&id=95b919339b660503ea4f7a080f7b9c8085e83ce6
      https://code.qt.io/cgit/qt/qtbase.git/commit/?h=6.3&id=995af22571f198da01f51ea4238c93cfc9da9da8

      Attachments

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

        Activity

          People

            Eddy Edward Welbourne
            mehdichinoune Mehdi Chinoune
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes