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

Qt 6/MSVC: tst_qproperty.cpp fails to compile for cmake/developer builds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.0.0
    • Core: Object Model
    • None
    • Windows

    Description

      With MSVC 16.7.2 64 bit, qtbase at 5f729da74a5c12a8d33389dcc874c8277044abe0 and a cmake developer build

      "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\bin\HostX64\x64\nmake.exe" -f Makefile.Debug
      	cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -Zi -MDd -std:c++17 -utf-8 -EHsc -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 /Fd.obj\debug\tst_qproperty.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_TEST_LIB -DQT_CORE_LIB -I. -IC:\dev\6-vs19\install-6-vs19\include\QtCore\6.0.0 -IC:\dev\6-vs19\install-6-vs19\include\QtCore\6.0.0\QtCore -IC:\dev\6-vs19\install-6-vs19\include -IC:\dev\6-vs19\install-6-vs19\include\QtTest -IC:\dev\6-vs19\install-6-vs19\include\QtCore -I.moc\debug -I..\..\..\..\..\mkspecs\win32-msvc -Fo.obj\debug\ @C:\temp\nmBA03.tmp
      tst_qproperty.cpp
      C:\dev\6-vs19\install-6-vs19\include\QtCore\qproperty.h(422): error C2938: 'std::enable_if_t<false,void>' : Failed to specialize alias template
      C:\dev\6-vs19\install-6-vs19\include\QtCore\qproperty.h(422): note: see reference to alias template instantiation 'std::enable_if_t<false,void>' being compiled
      .\tst_qproperty.cpp(873): note: see reference to class template instantiation 'QNotifiedProperty<int,void ClassWithNotifiedPropertyWithGuard::callback(void),bool ClassWithNotifiedPropertyWithGuard::trivialGuard(int)>' being compiled
      

      Attachments

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

        Activity

          People

            fabiankosmale Fabian Kosmale
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes