Details
-
Bug
-
Resolution: Fixed
-
P0: Blocker
-
None
-
6.9.0 FF
-
None
-
f7a9ce3c1 (dev), 81b3de29b (dev), b7e13a82a (dev), 07a0ecf81 (dev)
Description
FAILED: examples/opcua/opcuaviewer/CMakeFiles/opcuaviewer.dir/treeitem.cpp.o sccache /usr/bin/g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NAMESPACE=TestNamespace -DQT_NETWORK_LIB -DQT_OPCUA_LIB -DQT_WIDGETS_LIB -I/home/qt/work/qt/qtopcua_build/examples/opcua/opcuaviewer/opcuaviewer_autogen/include -I/home/qt/work/qt/qtopcua_build/include -I/home/qt/work/qt/qtopcua_build/include/QtOpcUa -isystem /home/qt/work/install/include/QtCore -isystem /home/qt/work/install/include -isystem /home/qt/work/install/mkspecs/linux-g++ -isystem /home/qt/work/install/include/QtGui -isystem /home/qt/work/install/include/QtNetwork -isystem /home/qt/work/install/include/QtWidgets -g -std=gnu++20 -fPIE -Wall -Wextra -fPIC -MD -MT examples/opcua/opcuaviewer/CMakeFiles/opcuaviewer.dir/treeitem.cpp.o -MF examples/opcua/opcuaviewer/CMakeFiles/opcuaviewer.dir/treeitem.cpp.o.d -o examples/opcua/opcuaviewer/CMakeFiles/opcuaviewer.dir/treeitem.cpp.o -c /home/qt/work/qt/qtopcua/examples/opcua/opcuaviewer/treeitem.cpp /home/qt/work/qt/qtopcua/examples/opcua/opcuaviewer/treeitem.cpp: In member function ‘TestNamespace::QString TreeItem::variantToString(const TestNamespace::QVariant&, const TestNamespace::QString&) const’: /home/qt/work/qt/qtopcua/examples/opcua/opcuaviewer/treeitem.cpp:303:24: error: ambiguous overload for ‘operator+’ (operand types are ‘TestNamespace::QLatin1StringView’ {aka ‘TestNamespace::QLatin1String’} and ‘TestNamespace::QByteArray’) 303 | return "0x"_L1 + value.toByteArray().toHex(); | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | TestNamespace::QByteArray | TestNamespace::QLatin1StringView {aka TestNamespace::QLatin1String} In file included from /home/qt/work/install/include/QtCore/qstringview.h:9, from /home/qt/work/install/include/QtCore/qchar.h:660, from /home/qt/work/install/include/QtCore/qtextstream.h:8, from /home/qt/work/install/include/QtCore/qdebug.h:14, from /home/qt/work/install/include/QtCore/qloggingcategory.h:8, from /home/qt/work/qt/qtopcua/src/opcua/qopcuaglobal.h:8, from /home/qt/work/qt/qtopcua_build/include/QtOpcUa/qopcuaglobal.h:1, from /home/qt/work/qt/qtopcua/src/opcua/client/qopcuatype.h:7, from /home/qt/work/qt/qtopcua_build/include/QtOpcUa/qopcuatype.h:1, from /home/qt/work/qt/qtopcua/examples/opcua/opcuaviewer/treeitem.h:7, from /home/qt/work/qt/qtopcua/examples/opcua/opcuaviewer/treeitem.cpp:4: /home/qt/work/install/include/QtCore/qbytearray.h:692:19: note: candidate: ‘TestNamespace::QByteArray TestNamespace::operator+(QByteArrayView, const QByteArray&)’ 692 | inline QByteArray operator+(QByteArrayView lhs, const QByteArray &rhs) | ^~~~~~~~ In file included from /home/qt/work/install/include/QtCore/qdebug.h:17: /home/qt/work/install/include/QtCore/qstring.h:1423:16: note: candidate: ‘TestNamespace::QString TestNamespace::operator+(const QString&, const QString&)’ 1423 | inline QString operator+(const QString &s1, const QString &s2) | ^~~~~~~~ /home/qt/work/install/include/QtCore/qstring.h:1425:16: note: candidate: ‘TestNamespace::QString TestNamespace::operator+(QString&&, const QString&)’ 1425 | inline QString operator+(QString &&lhs, const QString &rhs) | ^~~~~~~~ /home/qt/work/install/include/QtCore/qstring.h:1445:35: note: candidate: ‘TestNamespace::QString TestNamespace::operator+(const QString&, const char*)’ 1445 | QT_ASCII_CAST_WARN inline QString operator+(const QString &s1, const char *s2) | ^~~~~~~~ /home/qt/work/install/include/QtCore/qstring.h:1447:35: note: candidate: ‘TestNamespace::QString TestNamespace::operator+(QString&&, const char*)’ 1447 | QT_ASCII_CAST_WARN inline QString operator+(QString &&lhs, const char *rhs) | ^~~~~~~~ /home/qt/work/install/include/QtCore/qstring.h:1453:35: note: candidate: ‘TestNamespace::QString TestNamespace::operator+(const QString&, const QByteArray&)’ 1453 | QT_ASCII_CAST_WARN inline QString operator+(const QString &s, const QByteArray &ba) | ^~~~~~~~ /home/qt/work/install/include/QtCore/qstring.h:1455:35: note: candidate: ‘TestNamespace::QString TestNamespace::operator+(QString&&, const QByteArray&)’ 1455 | QT_ASCII_CAST_WARN inline QString operator+(QString &&lhs, const QByteArray &rhs)
Details: https://testresults.qt.io/coin/integration/qt/qtopcua/tasks/1723213013
Tested changes (refs/builds/qtci/dev/1723212786):
https://codereview.qt-project.org/c/qt/qtopcua/+/582198/2 Update dependencies on 'dev' in qt/qtopcua
Attachments
Issue Links
- blocks
-
QTQAINFRA-6112 Add Ubuntu 24.04 arm64 to Qt 6.9 (dev)
- Closed
-
QTBUG-126407 Update provisioned qdoc + qtattributionsscanner binaries
- Closed
-
QTBUG-126412 QDoc: Update provisioned LLVM/Clang binaries to v18
- Closed
- relates to
-
QTBUG-127928 tst_bmtrimpath.cpp:243:59: error: use of overloaded operator '+' is ambiguous
- Closed