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

SquircleRenderer::mainPassRecordingStart expects argument of type 'unsigned int'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: None
    • Component/s: Quick: SceneGraph
    • Labels:
      None

      Description

      While trying to enable mingw developer build, we stumble upon this

      FAILED: sccache C:\MINGW810\mingw64\bin\g++.exe -DMINGW_HAS_SECURE_API=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NEEDS_QMAIN -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN32_WINNT=0x0601 -D_WIN64 -Iexamples/quick/scenegraph/d3d11underqml -I/Users/qt/work/qt/qtdeclarative/examples/quick/scenegraph/d3d11underqml -Iexamples/quick/scenegraph/d3d11underqml/d3d11underqml_autogen/include -Isrc/qml -Iinclude/QtQml/6.0.0 -Iinclude/QtQml/6.0.0/QtQml -IC:/Users/qt/work/install/include/QtCore/6.0.0 -IC:/Users/qt/work/install/include/QtCore/6.0.0/QtCore -Iinclude -Iinclude/QtQml -Iinclude/QtQuick -Iinclude/QtQmlModels -isystem C:/Users/qt/work/install/include/QtCore -isystem C:/Users/qt/work/install/include -isystem C:/Users/qt/work/install/mkspecs/win32-g++ -isystem C:/Users/qt/work/install/include/QtNetwork -isystem C:/Users/qt/work/install/include/QtGui -isystem C:/VulkanSDK/1.0.51.0/Include -isystem C:/Users/qt/work/install/include/QtOpenGL -g -DNDEBUG -O2 -Wall -Wextra -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -Wno-error=implicit-fallthrough -std=gnu++17 -MD -MT examples/quick/scenegraph/d3d11underqml/CMakeFiles/d3d11underqml.dir/d3d11squircle.cpp.obj -MF examples\quick\scenegraph\d3d11underqml\CMakeFiles\d3d11underqml.dir\d3d11squircle.cpp.obj.d -o examples/quick/scenegraph/d3d11underqml/CMakeFiles/d3d11underqml.dir/d3d11squircle.cpp.obj -c /Users/qt/work/qt/qtdeclarative/examples/quick/scenegraph/d3d11underqml/d3d11squircle.cpp
       /Users/qt/work/qt/qtdeclarative/examples/quick/scenegraph/d3d11underqml/d3d11squircle.cpp: In member function 'void SquircleRenderer::mainPassRecordingStart()':
       /Users/qt/work/qt/qtdeclarative/examples/quick/scenegraph/d3d11underqml/d3d11squircle.cpp:248:16: error: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'HRESULT' {aka 'long int'} [-Werror=format=]
      

      @ https://codereview.qt-project.org/c/qt/qt5/+/301965

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              vgt Eirik Aavitsland
              Reporter:
              tosaraja Tony Sarajärvi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes