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

Qt6 MSVC: examples fails to build, "msvc2019_64\include\QtCore/qmetatype.h(2280,45): error C2187: syntax error: ';'"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 6.0.0 Beta3
    • Windows10 x64
      MSVC2019 x64
      CMake 3.18.3
      Ninja 1.10.0

    Description

      Multiple examples fails to build due same error:

      <QtSDK>\6.0.0\msvc2019_64\include\QtCore/qmetatype.h(2280,45): error C2187: syntax error: ';' was unexpected here [<QtSDK>\Examples\Qt-6.0.0\assistant\simpletextviewer\simpletextviewer.vcxproj]
      

      assistant\simpletextviewer used as an example, full build log attached.

      Build is done in command line, Cmake and Ninja added to path from <QtSDK>/Tools.

      cmake CMakeLists.txt

      cmake --build .

      Failing examples:

      corelib\ipc\localfortuneclient
      corelib\ipc\localfortuneserver
      corelib\mimetypes\mimetypebrowser
      corelib\threads\mandelbrot
      corelib\threads\queuedcustomtype

      and many more

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes