Swordfish90 / cool-retro-term

A good looking terminal emulator which mimics the old cathode display...
21.84k stars 835 forks source link

Error during qmake && make process #710

Open mushjoon opened 2 years ago

mushjoon commented 2 years ago
[root@localhost cool-retro-term]# qmake && make
cd qmltermwidget/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /root/cool-retro-term/qmltermwidget/qmltermwidget.pro ) && make -f Makefile 
make[1]: Entering directory `/root/cool-retro-term/qmltermwidget'
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DHAVE_POSIX_OPENPT -DHAVE_SYS_TIME_H -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ilib -Isrc -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-g++ -o TerminalDisplay.o lib/TerminalDisplay.cpp
In file included from lib/TerminalDisplay.cpp:24:0:
lib/TerminalDisplay.h:150:5: warning: "/*" within comment [-Wcomment]
     /** Sets the background image of the terminal display. */
 ^
lib/TerminalDisplay.cpp: In member function ‘void Konsole::TerminalDisplay::setScreenWindow(Konsole::ScreenWindow*)’:
lib/TerminalDisplay.cpp:144:106: error: no matching function for call to ‘Konsole::TerminalDisplay::connect(QPointer<Konsole::ScreenWindow>&, void (Konsole::ScreenWindow::*)(), Konsole::TerminalDisplay* const, void (Konsole::TerminalDisplay::*)())’
         connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties);
                                                                                                          ^
lib/TerminalDisplay.cpp:144:106: note: candidates are:
In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64:0,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/qt5/QtCore/qpointer.h:43,
                 from /usr/include/qt5/QtCore/QPointer:1,
                 from lib/TerminalDisplay.h:26,
                 from lib/TerminalDisplay.cpp:24:
/usr/include/qt5/QtCore/qobject.h:214:36: note: 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,
                                    ^
/usr/include/qt5/QtCore/qobject.h:214:36: note:   no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::*)()’ to ‘const char*’
/usr/include/qt5/QtCore/qobject.h:217:36: note: 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,
                                    ^
/usr/include/qt5/QtCore/qobject.h:217:36: note:   no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::*)()’ to ‘const QMetaMethod&’
/usr/include/qt5/QtCore/qobject.h:469:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
                                ^
/usr/include/qt5/QtCore/qobject.h:469:32: note:   no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::*)()’ to ‘const char*’
/usr/include/qt5/QtCore/qobject.h:234:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
                                           ^
/usr/include/qt5/QtCore/qobject.h:234:43: note:   template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:144:106: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<Konsole::ScreenWindow>’
         connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties);
                                                                                                          ^
In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64:0,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/qt5/QtCore/qpointer.h:43,
                 from /usr/include/qt5/QtCore/QPointer:1,
                 from lib/TerminalDisplay.h:26,
                 from lib/TerminalDisplay.cpp:24:
/usr/include/qt5/QtCore/qobject.h:266:13: note: template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/usr/include/qt5/QtCore/qobject.h:266:13: note:   template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:144:106: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<Konsole::ScreenWindow>’
         connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties);
                                                                                                          ^
In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64:0,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/qt5/QtCore/qpointer.h:43,
                 from /usr/include/qt5/QtCore/QPointer:1,
                 from lib/TerminalDisplay.h:26,
                 from lib/TerminalDisplay.cpp:24:
/usr/include/qt5/QtCore/qobject.h:275:13: note: template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/usr/include/qt5/QtCore/qobject.h:275:13: note:   template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:144:106: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<Konsole::ScreenWindow>’
         connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties);
                                                                                                          ^
In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64:0,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/qt5/QtCore/qpointer.h:43,
                 from /usr/include/qt5/QtCore/QPointer:1,
                 from lib/TerminalDisplay.h:26,
                 from lib/TerminalDisplay.cpp:24:
/usr/include/qt5/QtCore/qobject.h:306:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/usr/include/qt5/QtCore/qobject.h:306:13: note:   template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:144:106: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<Konsole::ScreenWindow>’
         connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties);
                                                                                                          ^
In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64:0,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/qt5/QtCore/qpointer.h:43,
                 from /usr/include/qt5/QtCore/QPointer:1,
                 from lib/TerminalDisplay.h:26,
                 from lib/TerminalDisplay.cpp:24:
/usr/include/qt5/QtCore/qobject.h:314:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/usr/include/qt5/QtCore/qobject.h:314:13: note:   template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:144:106: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<Konsole::ScreenWindow>’
         connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateLineProperties);
                                                                                                          ^
lib/TerminalDisplay.cpp:145:97: error: no matching function for call to ‘Konsole::TerminalDisplay::connect(QPointer<Konsole::ScreenWindow>&, void (Konsole::ScreenWindow::*)(), Konsole::TerminalDisplay* const, void (Konsole::TerminalDisplay::*)())’
         connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage);
                                                                                                 ^
lib/TerminalDisplay.cpp:145:97: note: candidates are:
In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64:0,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/qt5/QtCore/qpointer.h:43,
                 from /usr/include/qt5/QtCore/QPointer:1,
                 from lib/TerminalDisplay.h:26,
                 from lib/TerminalDisplay.cpp:24:
/usr/include/qt5/QtCore/qobject.h:214:36: note: 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,
                                    ^
/usr/include/qt5/QtCore/qobject.h:214:36: note:   no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::*)()’ to ‘const char*’
/usr/include/qt5/QtCore/qobject.h:217:36: note: 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,
                                    ^
/usr/include/qt5/QtCore/qobject.h:217:36: note:   no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::*)()’ to ‘const QMetaMethod&’
/usr/include/qt5/QtCore/qobject.h:469:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
                                ^
/usr/include/qt5/QtCore/qobject.h:469:32: note:   no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::*)()’ to ‘const char*’
/usr/include/qt5/QtCore/qobject.h:234:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
                                           ^
/usr/include/qt5/QtCore/qobject.h:234:43: note:   template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:145:97: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<Konsole::ScreenWindow>’
         connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage);
                                                                                                 ^
In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64:0,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/qt5/QtCore/qpointer.h:43,
                 from /usr/include/qt5/QtCore/QPointer:1,
                 from lib/TerminalDisplay.h:26,
                 from lib/TerminalDisplay.cpp:24:
/usr/include/qt5/QtCore/qobject.h:266:13: note: template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/usr/include/qt5/QtCore/qobject.h:266:13: note:   template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:145:97: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<Konsole::ScreenWindow>’
         connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage);
                                                                                                 ^
In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64:0,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/qt5/QtCore/qpointer.h:43,
                 from /usr/include/qt5/QtCore/QPointer:1,
                 from lib/TerminalDisplay.h:26,
                 from lib/TerminalDisplay.cpp:24:
/usr/include/qt5/QtCore/qobject.h:275:13: note: template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/usr/include/qt5/QtCore/qobject.h:275:13: note:   template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:145:97: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<Konsole::ScreenWindow>’
         connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage);
                                                                                                 ^
In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64:0,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/qt5/QtCore/qpointer.h:43,
                 from /usr/include/qt5/QtCore/QPointer:1,
                 from lib/TerminalDisplay.h:26,
                 from lib/TerminalDisplay.cpp:24:
/usr/include/qt5/QtCore/qobject.h:306:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/usr/include/qt5/QtCore/qobject.h:306:13: note:   template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:145:97: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<Konsole::ScreenWindow>’
         connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage);
                                                                                                 ^
In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64:0,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/qt5/QtCore/qpointer.h:43,
                 from /usr/include/qt5/QtCore/QPointer:1,
                 from lib/TerminalDisplay.h:26,
                 from lib/TerminalDisplay.cpp:24:
/usr/include/qt5/QtCore/qobject.h:314:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/usr/include/qt5/QtCore/qobject.h:314:13: note:   template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:145:97: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<Konsole::ScreenWindow>’
         connect(_screenWindow, &ScreenWindow::outputChanged, this, &TerminalDisplay::updateImage);
                                                                                                 ^
lib/TerminalDisplay.cpp:146:95: error: no matching function for call to ‘Konsole::TerminalDisplay::connect(QPointer<Konsole::ScreenWindow>&, void (Konsole::ScreenWindow::*)(), Konsole::TerminalDisplay* const, void (Konsole::TerminalDisplay::*)())’
         connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd);
                                                                                               ^
lib/TerminalDisplay.cpp:146:95: note: candidates are:
In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64:0,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/qt5/QtCore/qpointer.h:43,
                 from /usr/include/qt5/QtCore/QPointer:1,
                 from lib/TerminalDisplay.h:26,
                 from lib/TerminalDisplay.cpp:24:
/usr/include/qt5/QtCore/qobject.h:214:36: note: 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,
                                    ^
/usr/include/qt5/QtCore/qobject.h:214:36: note:   no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::*)()’ to ‘const char*’
/usr/include/qt5/QtCore/qobject.h:217:36: note: 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,
                                    ^
/usr/include/qt5/QtCore/qobject.h:217:36: note:   no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::*)()’ to ‘const QMetaMethod&’
/usr/include/qt5/QtCore/qobject.h:469:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
                                ^
/usr/include/qt5/QtCore/qobject.h:469:32: note:   no known conversion for argument 2 from ‘void (Konsole::ScreenWindow::*)()’ to ‘const char*’
/usr/include/qt5/QtCore/qobject.h:234:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
                                           ^
/usr/include/qt5/QtCore/qobject.h:234:43: note:   template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:146:95: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<Konsole::ScreenWindow>’
         connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd);
                                                                                               ^
In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64:0,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/qt5/QtCore/qpointer.h:43,
                 from /usr/include/qt5/QtCore/QPointer:1,
                 from lib/TerminalDisplay.h:26,
                 from lib/TerminalDisplay.cpp:24:
/usr/include/qt5/QtCore/qobject.h:266:13: note: template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/usr/include/qt5/QtCore/qobject.h:266:13: note:   template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:146:95: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<Konsole::ScreenWindow>’
         connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd);
                                                                                               ^
In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64:0,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/qt5/QtCore/qpointer.h:43,
                 from /usr/include/qt5/QtCore/QPointer:1,
                 from lib/TerminalDisplay.h:26,
                 from lib/TerminalDisplay.cpp:24:
/usr/include/qt5/QtCore/qobject.h:275:13: note: template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/usr/include/qt5/QtCore/qobject.h:275:13: note:   template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:146:95: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<Konsole::ScreenWindow>’
         connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd);
                                                                                               ^
In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64:0,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/qt5/QtCore/qpointer.h:43,
                 from /usr/include/qt5/QtCore/QPointer:1,
                 from lib/TerminalDisplay.h:26,
                 from lib/TerminalDisplay.cpp:24:
/usr/include/qt5/QtCore/qobject.h:306:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/usr/include/qt5/QtCore/qobject.h:306:13: note:   template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:146:95: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<Konsole::ScreenWindow>’
         connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd);
                                                                                               ^
In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64:0,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/qt5/QtCore/qpointer.h:43,
                 from /usr/include/qt5/QtCore/QPointer:1,
                 from lib/TerminalDisplay.h:26,
                 from lib/TerminalDisplay.cpp:24:
/usr/include/qt5/QtCore/qobject.h:314:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/usr/include/qt5/QtCore/qobject.h:314:13: note:   template argument deduction/substitution failed:
lib/TerminalDisplay.cpp:146:95: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<Konsole::ScreenWindow>’
         connect(_screenWindow, &ScreenWindow::scrollToEnd, this, &TerminalDisplay::scrollToEnd);
                                                                                               ^
In file included from lib/TerminalDisplay.cpp:24:0:
lib/TerminalDisplay.h: In constructor ‘Konsole::TerminalDisplay::TerminalDisplay(QQuickItem*)’:
lib/TerminalDisplay.h:928:10: warning: ‘Konsole::TerminalDisplay::m_full_cursor_height’ will be initialized after [-Wreorder]
     bool m_full_cursor_height;
          ^
lib/TerminalDisplay.h:920:9: warning:   ‘int Konsole::TerminalDisplay::_leftBaseMargin’ [-Wreorder]
     int _leftBaseMargin;
         ^
lib/TerminalDisplay.cpp:320:1: warning:   when initialized here [-Wreorder]
 TerminalDisplay::TerminalDisplay(QQuickItem *parent)
 ^
make[1]: *** [TerminalDisplay.o] Error 1
make[1]: Leaving directory `/root/cool-retro-term/qmltermwidget'
make: *** [sub-qmltermwidget-make_first-ordered] Error 2
mushjoon commented 2 years ago

My OS is CentOS 7 btw