Details
Description
/Users/qt/work/qt/qtlottie/tests/auto/bodymovin/shape/trimpath/tst_bmtrimpath.cpp:243:59: error: use of overloaded operator '+' is ambiguous (with operand types 'QLatin1String' and 'const QByteArray') QFile sourceFile(QFINDTESTDATA(QLatin1String("data/") + filename)); ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~ /Users/qt/work/install/lib/QtTest.framework/Headers/qtestcase.h:297:26: note: expanded from macro 'QFINDTESTDATA' QTest::qFindTestData(basepath, __FILE__, __LINE__, QT_TESTCASE_BUILDDIR, QT_TESTCASE_SOURCEDIR) ^~~~~~~~ /Users/qt/work/install/lib/QtCore.framework/Headers/qbytearray.h:692:19: note: candidate function inline QByteArray operator+(QByteArrayView lhs, const QByteArray &rhs) ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qstring.h:1455:35: note: candidate function QT_ASCII_CAST_WARN inline QString operator+(QString &&lhs, const QByteArray &rhs) ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qstring.h:1425:16: note: candidate function inline QString operator+(QString &&lhs, const QString &rhs) ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qstring.h:1447:35: note: candidate function QT_ASCII_CAST_WARN inline QString operator+(QString &&lhs, const char *rhs) ^ /Users/qt/work/install/lib/QtCore.framework/Headers/qstring.h:1453:35: note: candidate function QT_ASCII_CAST_WARN inline QString operator+(const QString &s, const QByteArray &ba) ^ 1 error generated.
Details: https://testresults.qt.io/coin/integration/qt/qtlottie/tasks/1723209983
Tested changes (refs/builds/qtci/dev/1723209632):
https://codereview.qt-project.org/c/qt/qtlottie/+/582200/2 Update dependencies on 'dev' in qt/qtlottie
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-127931 error: ambiguous overload for ‘operator+’
- Closed
For Gerrit Dashboard: QTBUG-127928 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
582256,5 | tst_QStringBuilder: add a check for QBA/QL1SV concatenation | dev | qt/qtbase | Status: MERGED | +2 | 0 |
582450,3 | Fix ambiguities when appending a QByteArray to a QLatin1String | dev | qt/qtlottie | Status: MERGED | +2 | 0 |
582451,1 | Don't add string to byte-array | dev | qt/qtlottie | Status: ABANDONED | 0 | 0 |
582510,2 | Fix QByteArray vs QLatin1StringView operator+() ambiguity | dev | qt/qtbase | Status: MERGED | +2 | 0 |