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

WIN64: ''qOverload': undeclared identifier' and 'type 'int' unexpected' errors for QtBase tetrix builds using MSVC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.11, 5.12
    • Core: Other
    • None
    • * Windows 10 x64,
      * mingw-w64 x86_64 posix seh 8.1.0,
      * ICC 2018 Update 3,
      * MSVC 2017 15.7.3,
      * Windows SDK 10.0.17134.12,
      * Qt5-dev-013d1fd5405e72cf8589f9e805acb02d0bf91144.
    • Windows

    Description

      Hello, everyone,

      Got errors for QtBase 'tetrix' example build using MSVC:

              cd tetrix\ && ( if not exist Makefile c:\libQT-5.12-dev\build\qtbase\bin\qmake.exe -o Makefile c:\libQT-5.12-dev\build\qtbase\examples\widgets\widgets\tetrix\tetrix.pro ) && C:\Windows\jom.exe -f Makefile
              C:\Windows\jom.exe -f Makefile.Release
              cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MD -utf-8 /wd4530 /wd4577 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_FORCE_ASSERTS -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -I. -I..\..\..\..\include -I..\..\..\..\include\QtWidgets -I..\..\..\..\include\QtGui -I..\..\..\..\include\QtANGLE -I..\..\..\..\include\QtCore -I.moc\release -I"C:\Program Files (x86)\VulkanSDK\include" -I..\..\..\..\mkspecs\win32-msvc -Fo.obj\release\ @C:\Users\test\AppData\Local\Temp\tetrixwindow.obj.1392.16.jom
      tetrixwindow.cpp
      tetrixwindow.cpp(92): error C2065: 'qOverload': undeclared identifier
      tetrixwindow.cpp(92): error C2062: type 'int' unexpected
      tetrixwindow.cpp(94): error C2065: 'qOverload': undeclared identifier
      tetrixwindow.cpp(94): error C2062: type 'int' unexpected
      tetrixwindow.cpp(96): error C2065: 'qOverload': undeclared identifier
      tetrixwindow.cpp(96): error C2062: type 'int' unexpected
      jom: c:\libQT-5.12-dev\build\qtbase\examples\widgets\widgets\tetrix\Makefile.Release [.obj\release\tetrixwindow.obj] Error 2
      jom: c:\libQT-5.12-dev\build\qtbase\examples\widgets\widgets\tetrix\Makefile [release] Error 2

      which relate to recently merged Change #234817.

       

      Reproduced for:

      • builds using MSVC.

       

      CC: paulwicking, jefernan.

       

      P.S. Passing this issue to Qt5-dev can be an evidence of flaws in CI.

       

       

      Best,

      Alexander

       

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            sav sav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes