Details
Description
When trying to add windows-11_23H2-msvc2022-developer-build (https://codereview.qt-project.org/c/qt/qt5/+/567093/6 ) build fails on qtwebengine:
agent:2024/08/12 23:07:15 build.go:404: FAILED: src/pdf/CMakeFiles/Pdf.dir/Debug/qpdfsearchmodel.cpp.obj agent:2024/08/12 23:07:15 build.go:404: sccache C:\PROGRA~1\MICROS~3\2022\PROFES~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe /nologo /TP -DNOMINMAX -DPdf_EXPORTS -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_PDF_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QSNPRINTF=1 -DQT_STRICT_QLIST_ITERATORS -DQT_USE_QSTRINGBUILDER -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -D_WINDLL -DCMAKE_INTDIR=\"Debug\" -IC:\Users\qt\work\qt\qtwebengine_build\src\pdf\Pdf_autogen\include_Debug -IC:\Users\qt\work\qt\qtwebengine_build\include -IC:\Users\qt\work\qt\qtwebengine_build\include\QtPdf -IC:\Users\qt\work\qt\qtwebengine\src\pdf -IC:\Users\qt\work\qt\qtwebengine_build\src\pdf -IC:\Users\qt\work\qt\qtwebengine\src\pdf\..\3rdparty\chromium -IC:\Users\qt\work\qt\qtwebengine_build\include\QtPdf\6.9.0 -IC:\Users\qt\work\qt\qtwebengine_build\include\QtPdf\6.9.0\QtPdf -IC:\Users\qt\work\qt\qtwebengine_build\src\pdf\Debug\AMD64\gen -external:IC:\Users\qt\work\install\include\QtCore -external:IC:\Users\qt\work\install\include -external:IC:\Users\qt\work\install\mkspecs\win32-msvc -external:IC:\Users\qt\work\install\include\QtGui -external:IC:\VulkanSDK\1.2.182.0\Include -external:IC:\Users\qt\work\install\include\QtCore\6.9.0 -external:IC:\Users\qt\work\install\include\QtCore\6.9.0\QtCore -external:IC:\Users\qt\work\install\include\QtNetwork -external:W0 /DWIN32 /D_WINDOWS /GR /Z7 /RTC1 -std:c++20 -MDd /W3 /EHs-c- /wd4530 /wd4577 -Zc:__cplusplus -permissive- -utf-8 /WX -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj /showIncludes /Fosrc\pdf\CMakeFiles\Pdf.dir\Debug\qpdfsearchmodel.cpp.obj /Fdsrc\pdf\CMakeFiles\Pdf.dir\Debug\ /FS -c C:\Users\qt\work\qt\qtwebengine\src\pdf\qpdfsearchmodel.cpp agent:2024/08/12 23:07:15 build.go:404: C:\Users\qt\work\qt\qtwebengine\src\pdf\qpdfsearchmodel.cpp(226): error C2220: the following warning is treated as an error agent:2024/08/12 23:07:15 build.go:404: C:\Users\qt\work\qt\qtwebengine\src\pdf\qpdfsearchmodel.cpp(226): warning C4996: 'qLcS': Use Q_STATIC_LOGGING_CATEGORY or add either Q_DECLARE_LOGGING_CATEGORY or QT_DECLARE_EXPORTED_QT_LOGGING_CATEGORY in a header
Full log: https://testresults.qt.io/coin/api/log/qt/qtwebengine/f9fa4fff5f8cf6d89661ca4214f5fb9f2a254202/WindowsWindows_11_23H2x86_64WindowsWindows_11_23H2x86_64MSVC2022qtci-windows-11_23H2-x86_64-52-cec55cDebugAndRelease_Sccache_UseConfigure_WarningsAreErrors/8d19c3e5149543dd7de30d30ecbf48d6eb27883f/build_1723490953/log.txt.gz
Integration: https://testresults.qt.io/coin/integration/qt/qt5/tasks/web_qt_qt5_1723490270202
Attachments
Issue Links
- blocks
-
QTBUG-127127 Dev / 6.8 branches of qt5.git have no platform configurations building examples for Windows MSVC
- Closed
- is duplicated by
-
QTBUG-127825 QtWebEngine cannot be build because of some deprecated functions
- Closed
For Gerrit Dashboard: QTBUG-127975 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
583378,1 | QtPdf: Whitelist modules when compiling with -warnings-as-errors | dev | qt/qtwebengine | Status: NEW | 0 | 0 |
584479,5 | Fix static logging category deprecation warnings | dev | qt/qtwebengine | Status: MERGED | +2 | +1 |
588080,6 | Do not add magic header web_engine_logging.h | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
602901,2 | Remove leftover web_engine_logging.h | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |