Open kokumakooli opened 1 year ago
im build it in CentOS 7.5.1804
here is the errlog:
lib/TerminalDisplay.cpp: 在成员函数‘void Konsole::TerminalDisplay::setScreenWindow(Konsole::ScreenWindow)’中: lib/TerminalDisplay.cpp:144:106: 错误:对‘Konsole::TerminalDisplay::connect(QPointer&, void (Konsole::ScreenWindow::)(), Konsole::TerminalDisplay const, void (Konsole::TerminalDisplay::)())’的调用没有匹配的函数 connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties); ^ lib/TerminalDisplay.cpp:144:106: 附注:备选是: In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1, from lib/TerminalDisplay.h:26, from lib/TerminalDisplay.cpp:24: /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:208:36: 附注:static QMetaObject::Connection QObject::connect(const QObject, const char, const QObject, const char, Qt::ConnectionType) static QMetaObject::Connection connect(const QObject sender, const char signal, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:208:36: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const char’ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:211:36: 附注:static QMetaObject::Connection QObject::connect(const QObject, const QMetaMethod&, const QObject, const QMetaMethod&, Qt::ConnectionType) static QMetaObject::Connection connect(const QObject sender, const QMetaMethod &signal, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:211:36: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const QMetaMethod&’ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:463:32: 附注:QMetaObject::Connection QObject::connect(const QObject, const char, const char, Qt::ConnectionType) const inline QMetaObject::Connection QObject::connect(const QObject asender, const char asignal, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:463:32: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const char’ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:228:43: 附注:template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const typename QtPrivate::FunctionPointer::Object, Func2, Qt::ConnectionType) static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:228:43: 附注: template argument deduction/substitution failed: lib/TerminalDisplay.cpp:144:106: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’ connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties); ^ In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1, from lib/TerminalDisplay.h:26, from lib/TerminalDisplay.cpp:24: /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:260:13: 附注:template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, Func2) connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, Func2 slot) ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:260:13: 附注: template argument deduction/substitution failed: lib/TerminalDisplay.cpp:144:106: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’ connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties); ^ In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1, from lib/TerminalDisplay.h:26, from lib/TerminalDisplay.cpp:24: /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:269:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject, Func2, Qt::ConnectionType) connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, const QObject context, Func2 slot, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:269:13: 附注: template argument deduction/substitution failed: lib/TerminalDisplay.cpp:144:106: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’ connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties); ^ In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1, from lib/TerminalDisplay.h:26, from lib/TerminalDisplay.cpp:24: /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:300:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, Func2) connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, Func2 slot) ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:300:13: 附注: template argument deduction/substitution failed: lib/TerminalDisplay.cpp:144:106: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’ connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties); ^ In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1, from lib/TerminalDisplay.h:26, from lib/TerminalDisplay.cpp:24: /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:308:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject, Func2, Qt::ConnectionType) connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, const QObject context, Func2 slot, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:308:13: 附注: template argument deduction/substitution failed: lib/TerminalDisplay.cpp:144:106: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’ connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties); ^ lib/TerminalDisplay.cpp:145:97: 错误:对‘Konsole::TerminalDisplay::connect(QPointer&, void (Konsole::ScreenWindow::)(), Konsole::TerminalDisplay const, void (Konsole::TerminalDisplay::)())’的调用没有匹配的函数 connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage); ^ lib/TerminalDisplay.cpp:145:97: 附注:备选是: In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1, from lib/TerminalDisplay.h:26, from lib/TerminalDisplay.cpp:24: /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:208:36: 附注:static QMetaObject::Connection QObject::connect(const QObject, const char, const QObject, const char, Qt::ConnectionType) static QMetaObject::Connection connect(const QObject sender, const char signal, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:208:36: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const char’ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:211:36: 附注:static QMetaObject::Connection QObject::connect(const QObject, const QMetaMethod&, const QObject, const QMetaMethod&, Qt::ConnectionType) static QMetaObject::Connection connect(const QObject sender, const QMetaMethod &signal, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:211:36: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const QMetaMethod&’ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:463:32: 附注:QMetaObject::Connection QObject::connect(const QObject, const char, const char, Qt::ConnectionType) const inline QMetaObject::Connection QObject::connect(const QObject asender, const char asignal, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:463:32: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const char’ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:228:43: 附注:template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const typename QtPrivate::FunctionPointer::Object, Func2, Qt::ConnectionType) static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:228:43: 附注: template argument deduction/substitution failed: lib/TerminalDisplay.cpp:145:97: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’ connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage); ^ In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1, from lib/TerminalDisplay.h:26, from lib/TerminalDisplay.cpp:24: /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:260:13: 附注:template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, Func2) connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, Func2 slot) ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:260:13: 附注: template argument deduction/substitution failed: lib/TerminalDisplay.cpp:145:97: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’ connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage); ^ In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1, from lib/TerminalDisplay.h:26, from lib/TerminalDisplay.cpp:24: /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:269:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject, Func2, Qt::ConnectionType) connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, const QObject context, Func2 slot, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:269:13: 附注: template argument deduction/substitution failed: lib/TerminalDisplay.cpp:145:97: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’ connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage); ^ In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1, from lib/TerminalDisplay.h:26, from lib/TerminalDisplay.cpp:24: /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:300:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, Func2) connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, Func2 slot) ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:300:13: 附注: template argument deduction/substitution failed: lib/TerminalDisplay.cpp:145:97: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’ connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage); ^ In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1, from lib/TerminalDisplay.h:26, from lib/TerminalDisplay.cpp:24: /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:308:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject, Func2, Qt::ConnectionType) connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, const QObject context, Func2 slot, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:308:13: 附注: template argument deduction/substitution failed: lib/TerminalDisplay.cpp:145:97: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’ connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage); ^ lib/TerminalDisplay.cpp:146:95: 错误:对‘Konsole::TerminalDisplay::connect(QPointer&, void (Konsole::ScreenWindow::)(), Konsole::TerminalDisplay const, void (Konsole::TerminalDisplay::)())’的调用没有匹配的函数 connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd); ^ lib/TerminalDisplay.cpp:146:95: 附注:备选是: In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1, from lib/TerminalDisplay.h:26, from lib/TerminalDisplay.cpp:24: /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:208:36: 附注:static QMetaObject::Connection QObject::connect(const QObject, const char, const QObject, const char, Qt::ConnectionType) static QMetaObject::Connection connect(const QObject sender, const char signal, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:208:36: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const char’ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:211:36: 附注:static QMetaObject::Connection QObject::connect(const QObject, const QMetaMethod&, const QObject, const QMetaMethod&, Qt::ConnectionType) static QMetaObject::Connection connect(const QObject sender, const QMetaMethod &signal, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:211:36: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const QMetaMethod&’ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:463:32: 附注:QMetaObject::Connection QObject::connect(const QObject, const char, const char, Qt::ConnectionType) const inline QMetaObject::Connection QObject::connect(const QObject asender, const char asignal, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:463:32: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const char’ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:228:43: 附注:template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const typename QtPrivate::FunctionPointer::Object, Func2, Qt::ConnectionType) static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:228:43: 附注: template argument deduction/substitution failed: lib/TerminalDisplay.cpp:146:95: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’ connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd); ^ In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1, from lib/TerminalDisplay.h:26, from lib/TerminalDisplay.cpp:24: /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:260:13: 附注:template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, Func2) connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, Func2 slot) ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:260:13: 附注: template argument deduction/substitution failed: lib/TerminalDisplay.cpp:146:95: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’ connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd); ^ In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1, from lib/TerminalDisplay.h:26, from lib/TerminalDisplay.cpp:24: /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:269:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject, Func2, Qt::ConnectionType) connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, const QObject context, Func2 slot, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:269:13: 附注: template argument deduction/substitution failed: lib/TerminalDisplay.cpp:146:95: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’ connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd); ^ In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1, from lib/TerminalDisplay.h:26, from lib/TerminalDisplay.cpp:24: /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:300:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, Func2) connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, Func2 slot) ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:300:13: 附注: template argument deduction/substitution failed: lib/TerminalDisplay.cpp:146:95: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’ connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd); ^ In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43, from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1, from lib/TerminalDisplay.h:26, from lib/TerminalDisplay.cpp:24: /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:308:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject, Func2, Qt::ConnectionType) connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, const QObject context, Func2 slot, ^ /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:308:13: 附注: template argument deduction/substitution failed: lib/TerminalDisplay.cpp:146:95: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’ connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd); ^ In file included from lib/TerminalDisplay.cpp:24:0: lib/TerminalDisplay.h: 在构造函数‘Konsole::TerminalDisplay::TerminalDisplay(QQuickItem)’中: lib/TerminalDisplay.h:928:10: 警告:‘Konsole::TerminalDisplay::m_full_cursor_height’将在 [-Wreorder] bool m_full_cursor_height; ^ lib/TerminalDisplay.h:920:9: 警告:‘int Konsole::TerminalDisplay::_leftBaseMargin’ [-Wreorder] int _leftBaseMargin; ^ lib/TerminalDisplay.cpp:320:1: 警告:在此处初始化后被初始化 [-Wreorder] TerminalDisplay::TerminalDisplay(QQuickItem *parent) ^ make[1]: [TerminalDisplay.o] 错误 1 make[1]: 离开目录“/cool-retro-term/qmltermwidget” make: [sub-qmltermwidget-make_first-ordered] 错误 2
anyone can help to find what shuld i do ? thanks a lot! :)
im build it in CentOS 7.5.1804
here is the errlog:
lib/TerminalDisplay.cpp: 在成员函数‘void Konsole::TerminalDisplay::setScreenWindow(Konsole::ScreenWindow)’中: lib/TerminalDisplay.cpp:144:106: 错误:对‘Konsole::TerminalDisplay::connect(QPointer&, void (Konsole::ScreenWindow:: )(), Konsole::TerminalDisplay const, void (Konsole::TerminalDisplay::)())’的调用没有匹配的函数
connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties);
^
lib/TerminalDisplay.cpp:144:106: 附注:备选是:
In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1,
from lib/TerminalDisplay.h:26,
from lib/TerminalDisplay.cpp:24:
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:208:36: 附注:static QMetaObject::Connection QObject::connect(const QObject, const char, const QObject, const char, Qt::ConnectionType)
static QMetaObject::Connection connect(const QObject sender, const char signal,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:208:36: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const char’
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:211:36: 附注:static QMetaObject::Connection QObject::connect(const QObject, const QMetaMethod&, const QObject, const QMetaMethod&, Qt::ConnectionType)
static QMetaObject::Connection connect(const QObject sender, const QMetaMethod &signal,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:211:36: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const QMetaMethod&’
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:463:32: 附注:QMetaObject::Connection QObject::connect(const QObject, const char, const char, Qt::ConnectionType) const
inline QMetaObject::Connection QObject::connect(const QObject asender, const char asignal,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:463:32: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const char’
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:228:43: 附注:template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object , Func1, const typename QtPrivate::FunctionPointer::Object, Func2, Qt::ConnectionType)
static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:228:43: 附注: template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:144:106: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’
connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties);
^
In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1,
from lib/TerminalDisplay.h:26,
from lib/TerminalDisplay.cpp:24:
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:260:13: 附注:template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object , Func1, Func2)
connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, Func2 slot)
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:260:13: 附注: template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:144:106: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object ’ and ‘QPointer’
connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties);
^
In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1,
from lib/TerminalDisplay.h:26,
from lib/TerminalDisplay.cpp:24:
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:269:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, const QObject context, Func2 slot,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:269:13: 附注: template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:144:106: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’
connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties);
^
In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1,
from lib/TerminalDisplay.h:26,
from lib/TerminalDisplay.cpp:24:
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:300:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object , Func1, Func2)
connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, Func2 slot)
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:300:13: 附注: template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:144:106: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object ’ and ‘QPointer’
connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties);
^
In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1,
from lib/TerminalDisplay.h:26,
from lib/TerminalDisplay.cpp:24:
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:308:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, const QObject context, Func2 slot,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:308:13: 附注: template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:144:106: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’
connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties);
^
lib/TerminalDisplay.cpp:145:97: 错误:对‘Konsole::TerminalDisplay::connect(QPointer&, void (Konsole::ScreenWindow:: )(), Konsole::TerminalDisplay const, void (Konsole::TerminalDisplay::)())’的调用没有匹配的函数
connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage);
^
lib/TerminalDisplay.cpp:145:97: 附注:备选是:
In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1,
from lib/TerminalDisplay.h:26,
from lib/TerminalDisplay.cpp:24:
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:208:36: 附注:static QMetaObject::Connection QObject::connect(const QObject, const char, const QObject, const char, Qt::ConnectionType)
static QMetaObject::Connection connect(const QObject sender, const char signal,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:208:36: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const char’
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:211:36: 附注:static QMetaObject::Connection QObject::connect(const QObject, const QMetaMethod&, const QObject, const QMetaMethod&, Qt::ConnectionType)
static QMetaObject::Connection connect(const QObject sender, const QMetaMethod &signal,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:211:36: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const QMetaMethod&’
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:463:32: 附注:QMetaObject::Connection QObject::connect(const QObject, const char, const char, Qt::ConnectionType) const
inline QMetaObject::Connection QObject::connect(const QObject asender, const char asignal,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:463:32: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const char’
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:228:43: 附注:template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object , Func1, const typename QtPrivate::FunctionPointer::Object, Func2, Qt::ConnectionType)
static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:228:43: 附注: template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:145:97: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’
connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage);
^
In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1,
from lib/TerminalDisplay.h:26,
from lib/TerminalDisplay.cpp:24:
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:260:13: 附注:template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object , Func1, Func2)
connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, Func2 slot)
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:260:13: 附注: template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:145:97: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object ’ and ‘QPointer’
connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage);
^
In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1,
from lib/TerminalDisplay.h:26,
from lib/TerminalDisplay.cpp:24:
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:269:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, const QObject context, Func2 slot,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:269:13: 附注: template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:145:97: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’
connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage);
^
In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1,
from lib/TerminalDisplay.h:26,
from lib/TerminalDisplay.cpp:24:
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:300:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object , Func1, Func2)
connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, Func2 slot)
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:300:13: 附注: template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:145:97: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object ’ and ‘QPointer’
connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage);
^
In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1,
from lib/TerminalDisplay.h:26,
from lib/TerminalDisplay.cpp:24:
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:308:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, const QObject context, Func2 slot,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:308:13: 附注: template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:145:97: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’
connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage);
^
lib/TerminalDisplay.cpp:146:95: 错误:对‘Konsole::TerminalDisplay::connect(QPointer&, void (Konsole::ScreenWindow:: )(), Konsole::TerminalDisplay const, void (Konsole::TerminalDisplay::)())’的调用没有匹配的函数
connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd);
^
lib/TerminalDisplay.cpp:146:95: 附注:备选是:
In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1,
from lib/TerminalDisplay.h:26,
from lib/TerminalDisplay.cpp:24:
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:208:36: 附注:static QMetaObject::Connection QObject::connect(const QObject, const char, const QObject, const char, Qt::ConnectionType)
static QMetaObject::Connection connect(const QObject sender, const char signal,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:208:36: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const char’
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:211:36: 附注:static QMetaObject::Connection QObject::connect(const QObject, const QMetaMethod&, const QObject, const QMetaMethod&, Qt::ConnectionType)
static QMetaObject::Connection connect(const QObject sender, const QMetaMethod &signal,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:211:36: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const QMetaMethod&’
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:463:32: 附注:QMetaObject::Connection QObject::connect(const QObject, const char, const char, Qt::ConnectionType) const
inline QMetaObject::Connection QObject::connect(const QObject asender, const char asignal,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:463:32: 附注: no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::)()’ to ‘const char’
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:228:43: 附注:template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object , Func1, const typename QtPrivate::FunctionPointer::Object, Func2, Qt::ConnectionType)
static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:228:43: 附注: template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:146:95: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’
connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd);
^
In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1,
from lib/TerminalDisplay.h:26,
from lib/TerminalDisplay.cpp:24:
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:260:13: 附注:template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object , Func1, Func2)
connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, Func2 slot)
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:260:13: 附注: template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:146:95: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object ’ and ‘QPointer’
connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd);
^
In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1,
from lib/TerminalDisplay.h:26,
from lib/TerminalDisplay.cpp:24:
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:269:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, const QObject context, Func2 slot,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:269:13: 附注: template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:146:95: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’
connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd);
^
In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1,
from lib/TerminalDisplay.h:26,
from lib/TerminalDisplay.cpp:24:
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:300:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object , Func1, Func2)
connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, Func2 slot)
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:300:13: 附注: template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:146:95: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object ’ and ‘QPointer’
connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd);
^
In file included from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer_impl.h:64:0,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qsharedpointer.h:48,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qpointer.h:43,
from /opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/QPointer:1,
from lib/TerminalDisplay.h:26,
from lib/TerminalDisplay.cpp:24:
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:308:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, const QObject context, Func2 slot,
^
/opt/Qt5.12.5/5.12.5/gcc_64/include/QtCore/qobject.h:308:13: 附注: template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:146:95: 附注: mismatched types ‘const typename QtPrivate::FunctionPointer::Object’ and ‘QPointer’
connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd);
^
In file included from lib/TerminalDisplay.cpp:24:0:
lib/TerminalDisplay.h: 在构造函数‘Konsole::TerminalDisplay::TerminalDisplay(QQuickItem )’中:
lib/TerminalDisplay.h:928:10: 警告:‘Konsole::TerminalDisplay::m_full_cursor_height’将在 [-Wreorder]
bool m_full_cursor_height;
^
lib/TerminalDisplay.h:920:9: 警告:‘int Konsole::TerminalDisplay::_leftBaseMargin’ [-Wreorder]
int _leftBaseMargin;
^
lib/TerminalDisplay.cpp:320:1: 警告:在此处初始化后被初始化 [-Wreorder]
TerminalDisplay::TerminalDisplay(QQuickItem *parent)
^
make[1]: [TerminalDisplay.o] 错误 1
make[1]: 离开目录“/cool-retro-term/qmltermwidget”
make: [sub-qmltermwidget-make_first-ordered] 错误 2
anyone can help to find what shuld i do ? thanks a lot! :)