Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7.3
-
None
-
Window 10 22H2
Description
Compiling QT6.7.3 (same in 6.7.2) using gcc (x86_64-posix-seh-rev1, Built by MinGW-W64 project, 11.2.0) fails:
[5/2243] Building CXX object qtdeclarative/tools/svgtoqml/CMakeFiles/svgtoqml.dir/main.cpp.obj
FAILED: qtdeclarative/tools/svgtoqml/CMakeFiles/svgtoqml.dir/main.cpp.obj
C:\mingw-w64\x86_64-11.2.0-release-posix-seh-rt_v9-rev1\bin\c+.exe -DMINGW_HAS_SECURE_API=1 -DNOMINMAX -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_LEAN_HEADERS=1 -DQT_NETWORK_LIB -DQT_NO_AS_CONST -DQT_NO_AS_CONST=1 -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QEXCHANGE -DQT_OPENGL_LIB -DQT_QMLBUILTINS_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKSHAPES_LIB -DQT_QUICK_LIB -DQT_STRICT_QLIST_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -Iqtdeclarative/tools/svgtoqml/svgtoqml_autogen/include -IF:/Qt6Dev/6.7/qt5/qtdeclarative/tools/svgtoqml -Iqtdeclarative/tools/svgtoqml -Iqtbase/include -Iqtbase/include/QtCore -IF:/Qt6Dev/6.7/qt5/qtbase/mkspecs/win32-g+ -Iqtbase/include/QtGui -Iqtbase/include/QtQml -Iqtbase/include/QtQmlIntegration -IF:/Qt6Dev/6.7/qt5/qtdeclarative/src/qmlintegration -Iqtdeclarative/src/qmlintegration -Iqtbase/include/QtQmlBuiltins -Iqtbase/include/QtNetwork -Iqtbase/include/QtQuick -Iqtbase/include/QtQmlModels -Iqtbase/include/QtOpenGL -Iqtdeclarative/src/quick -Iqtbase/include/QtQuick/6.7.3 -Iqtbase/include/QtQuick/6.7.3/QtQuick -Iqtbase/src/corelib -Iqtbase/include/QtCore/6.7.3 -Iqtbase/include/QtCore/6.7.3/QtCore -Iqtbase/src/gui -Iqtbase/include/QtGui/6.7.3 -Iqtbase/include/QtGui/6.7.3/QtGui -Iqtdeclarative/src/qmlmodels -Iqtbase/include/QtQmlModels/6.7.3 -Iqtbase/include/QtQmlModels/6.7.3/QtQmlModels -Iqtdeclarative/src/qml -Iqtbase/include/QtQml/6.7.3 -Iqtbase/include/QtQml/6.7.3/QtQml -Iqtbase/include/QtQmlBuiltins/6.7.3 -Iqtbase/include/QtQmlBuiltins/6.7.3/QtQmlBuiltins -Iqtbase/include/QtSvg -Iqtsvg/src/svg -Iqtbase/include/QtSvg/6.7.3 -Iqtbase/include/QtSvg/6.7.3/QtSvg -Iqtbase/include/QtQuickShapes -Iqtdeclarative/src/quickshapes -Iqtbase/include/QtQuickShapes/6.7.3 -Iqtbase/include/QtQuickShapes/6.7.3/QtQuickShapes -DNDEBUG -O2 -fvisibility=hidden -fno-keep-inline-dllexport -Wall -Wextra -fno-exceptions -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -Wno-error=implicit-fallthrough -Wno-error=deprecated-copy -Wno-error=redundant-move -Wno-error=init-list-lifetime -Wno-error=format-overflow -Wno-error=stringop-overflow -Wno-error=stringop-overread -Wno-error=deprecated-enum-enum-conversion -Wno-error=deprecated-enum-float-conversion -Wa,-mbig-obj -Wsuggest-override -std=c++17 -MD -MT qtdeclarative/tools/svgtoqml/CMakeFiles/svgtoqml.dir/main.cpp.obj -MF qtdeclarative\tools\svgtoqml\CMakeFiles\svgtoqml.dir\main.cpp.obj.d -o qtdeclarative/tools/svgtoqml/CMakeFiles/svgtoqml.dir/main.cpp.obj -c F:/Qt6Dev/6.7/qt5/qtdeclarative/tools/svgtoqml/main.cpp
In file included from qtbase/include/QtSvg/6.7.3/QtSvg/private/qsvgtinydocument_p.h:1,
from F:/Qt6Dev/6.7/qt5/qtdeclarative/tools/svgtoqml/main.cpp:9:
F:/Qt6Dev/6.7/qt5/qtsvg/src/svg/qsvgtinydocument_p.h:149:15: error: 'QRectF QSvgTinyDocument::viewBox() const' redeclared without dllimport attribute after being referenced with dll linkage [-Werror]
149 | inline QRectF QSvgTinyDocument::viewBox() const
| ^~~~~~~~~~~~~~~~