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

Qt6 snapshot: Unable to compile example/wizard apps in windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.0.0 Alpha
    • Build System: CMake
    • None
    • Windows

    Description

      1. Install newest QtC (4.13) & Qt6.0.0 Snapshot from staging repository
      2. Try to compile any example from QtC examples page. In this case I tried Shader Effects one:

      14:48:19: Running steps for project shadereffects...
      14:48:19: Persisting CMake state...
      14:48:24: Starting: "C:\Qt_enterprise_online_staging\Tools\CMake_64\bin\cmake.exe" --build . --target all
      [1/12 8.8/sec] RCC shadereffects_qmlcache
      [2/12 17.0/sec] Generating .rcc/qmlcache/shadereffects/qmlcache_loader.cpp
      [3/12 25.4/sec] Generating .rcc/qmlcache/shadereffects/content/Slider_qml.cpp
      [4/12 31.4/sec] Generating .rcc/qmlcache/shadereffects/shadereffects_qml.cpp
      [5/12 19.3/sec] Automatic MOC and UIC for target shadereffects
      [6/12 11.0/sec] Building CXX object CMakeFiles\shadereffects.dir\.rcc\qmlcache\shadereffects\content\Slider_qml.cpp.obj
      [7/12 12.3/sec] Building CXX object CMakeFiles\shadereffects.dir\shadereffects_autogen\mocs_compilation.cpp.obj
      [8/12 13.6/sec] Building CXX object CMakeFiles\shadereffects.dir\.rcc\qmlcache\shadereffects\shadereffects_qml.cpp.obj
      [9/12 14.4/sec] Building CXX object CMakeFiles\shadereffects.dir\.rcc\qrc_shadereffects_qmlcache.cpp.obj
      [10/12 3.9/sec] Building CXX object CMakeFiles\shadereffects.dir\.rcc\qmlcache\shadereffects\qmlcache_loader.cpp.obj
      FAILED: CMakeFiles/shadereffects.dir/.rcc/qmlcache/shadereffects/qmlcache_loader.cpp.obj 
      C:\PROGRA~2\MICROS~3\2017\PROFES~1\VC\Tools\MSVC\1415~1.267\bin\HostX86\x64\cl.exe  /nologo /TP -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_OPENGL_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_WINMAIN_LIB -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -I. -IC:\Qt_enterprise_online_staging\Examples\Qt-6.0.0\quick\shadereffects -Ishadereffects_autogen\include -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtCore -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\mkspecs\win32-msvc -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtGui -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtQml -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtNetwork -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtQuick -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtQmlModels -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtOpenGL /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1   -Zc:__cplusplus -utf-8 -std:c++17 /showIncludes /FoCMakeFiles\shadereffects.dir\.rcc\qmlcache\shadereffects\qmlcache_loader.cpp.obj /FdCMakeFiles\shadereffects.dir\ /FS -c .rcc\qmlcache\shadereffects\qmlcache_loader.cpp
      C:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtCore/qhashfunctions.h(201): error C3520: 'T': parameter pack must be expanded in this context
      [11/12 3.9/sec] Building CXX object CMakeFiles\shadereffects.dir\main.cpp.obj
      FAILED: CMakeFiles/shadereffects.dir/main.cpp.obj 
      C:\PROGRA~2\MICROS~3\2017\PROFES~1\VC\Tools\MSVC\1415~1.267\bin\HostX86\x64\cl.exe  /nologo /TP -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_OPENGL_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_WINMAIN_LIB -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -I. -IC:\Qt_enterprise_online_staging\Examples\Qt-6.0.0\quick\shadereffects -Ishadereffects_autogen\include -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtCore -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\mkspecs\win32-msvc -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtGui -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtQml -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtNetwork -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtQuick -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtQmlModels -IC:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtOpenGL /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1   -Zc:__cplusplus -utf-8 -std:c++17 /showIncludes /FoCMakeFiles\shadereffects.dir\main.cpp.obj /FdCMakeFiles\shadereffects.dir\ /FS -c C:\Qt_enterprise_online_staging\Examples\Qt-6.0.0\quick\shadereffects\main.cpp
      C:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtCore/qhashfunctions.h(201): error C3520: 'T': parameter pack must be expanded in this context
      C:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtCore/qsize.h(184): error C2672: 'qHashMulti': no matching overloaded function found
      C:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtCore/qsize.h(184): error C2893: Failed to specialize function template 'unknown-type qHashMulti(size_t,const T &...) noexcept(<expr>)'
      C:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtCore/qsize.h(184): note: With the following template arguments:
      C:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtCore/qsize.h(184): note: 'T={int, int}'
      C:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtCore/qsize.h(183): error C3615: constexpr function 'qHash' cannot result in a constant expression
      C:\Qt_enterprise_online_staging\6.0.0\msvc2019_64\include\QtCore/qsize.h(184): note: failure was caused by control reaching the end of a constexpr function
      c:\qt_enterprise_online_staging\6.0.0\msvc2019_64\include\qtcore\qrect.h(463): error C2672: 'qHashMulti': no matching overloaded function found
      c:\qt_enterprise_online_staging\6.0.0\msvc2019_64\include\qtcore\qrect.h(463): error C2893: Failed to specialize function template 'unknown-type qHashMulti(size_t,const T &...) noexcept(<expr>)'
      c:\qt_enterprise_online_staging\6.0.0\msvc2019_64\include\qtcore\qrect.h(463): note: With the following template arguments:
      c:\qt_enterprise_online_staging\6.0.0\msvc2019_64\include\qtcore\qrect.h(463): note: 'T={int, int, int, int}'
      c:\qt_enterprise_online_staging\6.0.0\msvc2019_64\include\qtcore\qrect.h(461): error C3615: constexpr function 'qHash' cannot result in a constant expression
      c:\qt_enterprise_online_staging\6.0.0\msvc2019_64\include\qtcore\qrect.h(464): note: failure was caused by control reaching the end of a constexpr function
      ninja: build stopped: subcommand failed.
      14:48:28: The process "C:\Qt_enterprise_online_staging\Tools\CMake_64\bin\cmake.exe" exited with code 1.
      Error while building/deploying project shadereffects (kit: Desktop Qt 6.0.0 MSVC2019 64bit)
      When executing step "CMake Build"
      14:48:28: Elapsed time: 00:09.
      

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes