Details
-
Bug
-
Resolution: Fixed
-
P0: Blocker
-
None
-
6.2.5
-
None
Description
The dependency update fails in qtwebengine, tqtc/lts-6.2:
https://codereview.qt-project.org/c/qt/tqtc-qtwebengine/+/414617
agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/qt/tqtc-qtwebengine/examples/webenginewidgets/simplebrowser/browserwindow.cpp:156:15: error: no matching member function for call to 'addAction' agent:2022/06/07 02:01:49 build.go:394: fileMenu->addAction(tr("&New Window"), QKeySequence::New, this, &BrowserWindow::handleNewWindowTriggered); agent:2022/06/07 02:01:49 build.go:394: ~~~~~~~~~~^~~~~~~~~ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qmenu.h:139:9: note: candidate function template not viable: no known conversion from 'TestNamespace::QString' to 'const TestNamespace::QIcon' for 1st argument agent:2022/06/07 02:01:49 build.go:394: addAction(const QIcon &actionIcon, const QString &text, const Obj *object, Func1 slot agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qmenu.h:82:14: note: candidate function not viable: no known conversion from 'TestNamespace::QKeySequence::StandardKey' to 'const TestNamespace::QObject *' for 2nd argument agent:2022/06/07 02:01:49 build.go:394: QAction *addAction(const QString &text, const QObject *receiver, const char* member agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qmenu.h:155:21: note: candidate function template not viable: no known conversion from 'TestNamespace::QString' to 'const TestNamespace::QIcon' for 1st argument agent:2022/06/07 02:01:49 build.go:394: inline QAction *addAction(const QIcon &actionIcon, const QString &text, Func1 slot agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qmenu.h:87:14: note: candidate function not viable: no known conversion from 'TestNamespace::QString' to 'const TestNamespace::QIcon' for 1st argument agent:2022/06/07 02:01:49 build.go:394: QAction *addAction(const QIcon &icon, const QString &text, const QObject *receiver, const char* member agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qmenu.h:107:9: note: candidate template ignored: could not match 'const Obj *' against 'TestNamespace::QKeySequence::StandardKey' agent:2022/06/07 02:01:49 build.go:394: addAction(const QString &text, const Obj *object, Func1 slot agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qmenu.h:122:21: note: candidate function template not viable: requires at most 3 arguments, but 4 were provided agent:2022/06/07 02:01:49 build.go:394: inline QAction *addAction(const QString &text, Func1 slot agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qmenu.h:80:14: note: candidate function not viable: requires 2 arguments, but 4 were provided agent:2022/06/07 02:01:49 build.go:394: QAction *addAction(const QIcon &icon, const QString &text); agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qwidget.h:566:10: note: candidate function not viable: requires single argument 'action', but 4 arguments were provided agent:2022/06/07 02:01:49 build.go:394: void addAction(QAction *action); agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qmenu.h:79:14: note: candidate function not viable: requires single argument 'text', but 4 arguments were provided agent:2022/06/07 02:01:49 build.go:394: QAction *addAction(const QString &text); agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/qt/tqtc-qtwebengine/examples/webenginewidgets/simplebrowser/browserwindow.cpp:167:15: error: no matching member function for call to 'addAction' agent:2022/06/07 02:01:49 build.go:394: fileMenu->addAction(tr("&Open File..."), QKeySequence::Open, this, &BrowserWindow::handleFileOpenTriggered); agent:2022/06/07 02:01:49 build.go:394: ~~~~~~~~~~^~~~~~~~~ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qmenu.h:139:9: note: candidate function template not viable: no known conversion from 'TestNamespace::QString' to 'const TestNamespace::QIcon' for 1st argument agent:2022/06/07 02:01:49 build.go:394: addAction(const QIcon &actionIcon, const QString &text, const Obj *object, Func1 slot agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qmenu.h:82:14: note: candidate function not viable: no known conversion from 'TestNamespace::QKeySequence::StandardKey' to 'const TestNamespace::QObject *' for 2nd argument agent:2022/06/07 02:01:49 build.go:394: QAction *addAction(const QString &text, const QObject *receiver, const char* member agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qmenu.h:155:21: note: candidate function template not viable: no known conversion from 'TestNamespace::QString' to 'const TestNamespace::QIcon' for 1st argument agent:2022/06/07 02:01:49 build.go:394: inline QAction *addAction(const QIcon &actionIcon, const QString &text, Func1 slot agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qmenu.h:87:14: note: candidate function not viable: no known conversion from 'TestNamespace::QString' to 'const TestNamespace::QIcon' for 1st argument agent:2022/06/07 02:01:49 build.go:394: QAction *addAction(const QIcon &icon, const QString &text, const QObject *receiver, const char* member agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qmenu.h:107:9: note: candidate template ignored: could not match 'const Obj *' against 'TestNamespace::QKeySequence::StandardKey' agent:2022/06/07 02:01:49 build.go:394: addAction(const QString &text, const Obj *object, Func1 slot agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qmenu.h:122:21: note: candidate function template not viable: requires at most 3 arguments, but 4 were provided agent:2022/06/07 02:01:49 build.go:394: inline QAction *addAction(const QString &text, Func1 slot agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qmenu.h:80:14: note: candidate function not viable: requires 2 arguments, but 4 were provided agent:2022/06/07 02:01:49 build.go:394: QAction *addAction(const QIcon &icon, const QString &text); agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qwidget.h:566:10: note: candidate function not viable: requires single argument 'action', but 4 arguments were provided agent:2022/06/07 02:01:49 build.go:394: void addAction(QAction *action); agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: /Users/qt/work/install/include/QtWidgets/qmenu.h:79:14: note: candidate function not viable: requires single argument 'text', but 4 arguments were provided agent:2022/06/07 02:01:49 build.go:394: QAction *addAction(const QString &text); agent:2022/06/07 02:01:49 build.go:394: ^ agent:2022/06/07 02:01:49 build.go:394: 2 errors generated.
Details: http://ci-files01-hki.intra.qt.io:8080/coin/integration/qt/tqtc-qtwebengine/tasks/1654568459