CXX libgui/src/libgui_src_libgui_src_la-documentation.lo ../octave/libgui/src/documentation.cc: In member function 'QAction* octave::documentation::add_action(const QIcon&, const QString&, const char*, QWidget*, QToolBar*)': ../octave/libgui/src/documentation.cc:283:38: error: invalid use of incomplete type 'class QAction' a = new QAction (icon, text, this); ^ In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1:0, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:230:18: error: forward declaration of 'class QAction' friend class QAction; ^ ../octave/libgui/src/documentation.cc:284:49: error: no matching function for call to 'octave::documentation::connect(QAction*&, const char [14], QWidget*&, const char*&)' connect (a, SIGNAL (triggered ()), r, member); ^ ../octave/libgui/src/documentation.cc:284:49: note: candidates are: In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qcoreapplication.h:40:0, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:37, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:196: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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:196:36: note: no known conversion for argument 1 from 'QAction*' to 'const QObject*' /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:199: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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:199:36: note: no known conversion for argument 1 from 'QAction*' to 'const QObject*' /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:477: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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:477:32: note: no known conversion for argument 1 from 'QAction*' to 'const QObject*' /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:213:43: note: template 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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:213:43: note: template argument deduction/substitution failed: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h: In substitution of 'template static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, const typename QtPrivate::FunctionPointer::Object*, Func2, Qt::ConnectionType) [with Func1 = const char*; Func2 = const char*]': ../octave/libgui/src/documentation.cc:284:49: required from here /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:213:43: error: no type named 'Object' in 'struct QtPrivate::FunctionPointer' /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:245:13: note: template static typename QtPrivate::QEnableIf<((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) ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:245:13: note: template argument deduction/substitution failed: ../octave/libgui/src/documentation.cc:284:49: note: candidate expects 3 arguments, 4 provided connect (a, SIGNAL (triggered ()), r, member); ^ In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qcoreapplication.h:40:0, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:37, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:254:13: note: template static typename QtPrivate::QEnableIf<(((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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:254:13: note: template argument deduction/substitution failed: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h: In substitution of 'template static typename QtPrivate::QEnableIf<(((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer::IsPointerToMemberFunction)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) [with Func1 = const char*; Func2 = const char*]': ../octave/libgui/src/documentation.cc:284:49: required from here /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:254:13: error: invalid use of incomplete type 'struct QtPrivate::QEnableIf' In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qcoreapplication.h:37:0, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:37, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qglobal.h:1058:45: error: declaration of 'struct QtPrivate::QEnableIf' template struct QEnableIf; ^ In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qcoreapplication.h:40:0, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:37, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:285:13: note: template static typename QtPrivate::QEnableIf<(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) ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:285:13: note: template argument deduction/substitution failed: ../octave/libgui/src/documentation.cc:284:49: note: candidate expects 3 arguments, 4 provided connect (a, SIGNAL (triggered ()), r, member); ^ In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qcoreapplication.h:40:0, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:37, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:293:13: note: template static typename QtPrivate::QEnableIf<(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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:293:13: note: template argument deduction/substitution failed: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h: In substitution of 'template static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) [with Func1 = const char*; Func2 = const char*]': ../octave/libgui/src/documentation.cc:284:49: required from here /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:293:13: error: no type named 'Object' in 'struct QtPrivate::FunctionPointer' ../octave/libgui/src/documentation.cc:290:6: error: invalid use of incomplete type 'class QAction' a->setShortcutContext (Qt::WidgetWithChildrenShortcut); ^ In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1:0, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:230:18: error: forward declaration of 'class QAction' friend class QAction; ^ ../octave/libgui/src/documentation.cc: In member function 'void octave::documentation::construct_tool_bar()': ../octave/libgui/src/documentation.cc:307:21: error: invalid use of incomplete type 'class QAction' m_action_go_prev->setEnabled (false); ^ In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1:0, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:230:18: error: forward declaration of 'class QAction' friend class QAction; ^ ../octave/libgui/src/documentation.cc:308:21: error: invalid use of incomplete type 'class QAction' m_action_go_next->setEnabled (false); ^ In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1:0, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:230:18: error: forward declaration of 'class QAction' friend class QAction; ^ ../octave/libgui/src/documentation.cc:310:56: error: no matching function for call to 'octave::documentation::connect(octave::documentation_browser*&, const char [26], QAction*&, const char [19])' m_action_go_prev, SLOT (setEnabled (bool))); ^ ../octave/libgui/src/documentation.cc:310:56: note: candidates are: In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qcoreapplication.h:40:0, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:37, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:196: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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:196:36: note: no known conversion for argument 3 from 'QAction*' to 'const QObject*' /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:199: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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:199:36: note: no known conversion for argument 2 from 'const char [26]' to 'const QMetaMethod&' /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:477: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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:477:32: note: no known conversion for argument 3 from 'QAction*' to 'const char*' /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:213:43: note: template 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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:213:43: note: template argument deduction/substitution failed: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h: In substitution of 'template static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, const typename QtPrivate::FunctionPointer::Object*, Func2, Qt::ConnectionType) [with Func1 = const char*; Func2 = const char*]': ../octave/libgui/src/documentation.cc:310:56: required from here /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:213:43: error: no type named 'Object' in 'struct QtPrivate::FunctionPointer' /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:245:13: note: template static typename QtPrivate::QEnableIf<((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) ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:245:13: note: template argument deduction/substitution failed: ../octave/libgui/src/documentation.cc:310:56: note: candidate expects 3 arguments, 4 provided m_action_go_prev, SLOT (setEnabled (bool))); ^ In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qcoreapplication.h:40:0, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:37, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:254:13: note: template static typename QtPrivate::QEnableIf<(((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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:254:13: note: template argument deduction/substitution failed: ../octave/libgui/src/documentation.cc:310:56: note: cannot convert '((octave::documentation*)this)->octave::documentation::m_action_go_prev' (type 'QAction*') to type 'const QObject*' m_action_go_prev, SLOT (setEnabled (bool))); ^ In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qcoreapplication.h:40:0, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:37, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:285:13: note: template static typename QtPrivate::QEnableIf<(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) ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:285:13: note: template argument deduction/substitution failed: ../octave/libgui/src/documentation.cc:310:56: note: candidate expects 3 arguments, 4 provided m_action_go_prev, SLOT (setEnabled (bool))); ^ In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qcoreapplication.h:40:0, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:37, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:293:13: note: template static typename QtPrivate::QEnableIf<(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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:293:13: note: template argument deduction/substitution failed: ../octave/libgui/src/documentation.cc:310:56: note: cannot convert '((octave::documentation*)this)->octave::documentation::m_action_go_prev' (type 'QAction*') to type 'const QObject*' m_action_go_prev, SLOT (setEnabled (bool))); ^ ../octave/libgui/src/documentation.cc:312:56: error: no matching function for call to 'octave::documentation::connect(octave::documentation_browser*&, const char [25], QAction*&, const char [19])' m_action_go_next, SLOT (setEnabled (bool))); ^ ../octave/libgui/src/documentation.cc:312:56: note: candidates are: In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qcoreapplication.h:40:0, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:37, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:196: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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:196:36: note: no known conversion for argument 3 from 'QAction*' to 'const QObject*' /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:199: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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:199:36: note: no known conversion for argument 2 from 'const char [25]' to 'const QMetaMethod&' /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:477: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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:477:32: note: no known conversion for argument 3 from 'QAction*' to 'const char*' /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:213:43: note: template 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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:213:43: note: template argument deduction/substitution failed: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h: In substitution of 'template static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, const typename QtPrivate::FunctionPointer::Object*, Func2, Qt::ConnectionType) [with Func1 = const char*; Func2 = const char*]': ../octave/libgui/src/documentation.cc:312:56: required from here /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:213:43: error: no type named 'Object' in 'struct QtPrivate::FunctionPointer' /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:245:13: note: template static typename QtPrivate::QEnableIf<((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) ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:245:13: note: template argument deduction/substitution failed: ../octave/libgui/src/documentation.cc:312:56: note: candidate expects 3 arguments, 4 provided m_action_go_next, SLOT (setEnabled (bool))); ^ In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qcoreapplication.h:40:0, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:37, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:254:13: note: template static typename QtPrivate::QEnableIf<(((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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:254:13: note: template argument deduction/substitution failed: ../octave/libgui/src/documentation.cc:312:56: note: cannot convert '((octave::documentation*)this)->octave::documentation::m_action_go_next' (type 'QAction*') to type 'const QObject*' m_action_go_next, SLOT (setEnabled (bool))); ^ In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qcoreapplication.h:40:0, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:37, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:285:13: note: template static typename QtPrivate::QEnableIf<(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) ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:285:13: note: template argument deduction/substitution failed: ../octave/libgui/src/documentation.cc:312:56: note: candidate expects 3 arguments, 4 provided m_action_go_next, SLOT (setEnabled (bool))); ^ In file included from /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qcoreapplication.h:40:0, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/qapplication.h:37, from /home/mach/user/Qt/5.4/gcc_64/include/QtWidgets/QApplication:1, from ../octave/libgui/src/documentation.cc:31: /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:293:13: note: template static typename QtPrivate::QEnableIf<(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, ^ /home/mach/user/Qt/5.4/gcc_64/include/QtCore/qobject.h:293:13: note: template argument deduction/substitution failed: ../octave/libgui/src/documentation.cc:312:56: note: cannot convert '((octave::documentation*)this)->octave::documentation::m_action_go_next' (type 'QAction*') to type 'const QObject*' m_action_go_next, SLOT (setEnabled (bool))); ^ make[2]: *** [libgui/src/libgui_src_libgui_src_la-documentation.lo] Error 1 make[2]: Leaving directory `/scratch/user/octave/x86_64' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/scratch/user/octave/x86_64' make: *** [all] Error 2