* Package: net-p2p/classified-ads-0.12 * Repository: gentoo * Maintainer: antti.jarvinen@katiska.org proxy-maint@gentoo.org * Upstream: antti.jarvinen@katiska.org https://github.com/operatornormal/classified-ads/issues * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking classified-ads-0.12.tar.gz to /var/tmp/portage/net-p2p/classified-ads-0.12/work >>> Unpacking classified-ads-graphics-0.12.tar.gz to /var/tmp/portage/net-p2p/classified-ads-0.12/work >>> Source unpacked in /var/tmp/portage/net-p2p/classified-ads-0.12/work >>> Preparing source in /var/tmp/portage/net-p2p/classified-ads-0.12/work/classified-ads-0.12 ... * Applying classified-ads-0.12-unit-tests.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-p2p/classified-ads-0.12/work/classified-ads-0.12 ... * Running qmake ... Info: creating stash file /var/tmp/portage/net-p2p/classified-ads-0.12/work/classified-ads-0.12/.qmake.stash Project MESSAGE: hardening flags for release build Project MESSAGE: Tcl version 8.6 [ ok ] >>> Source configured. >>> Compiling source in /var/tmp/portage/net-p2p/classified-ads-0.12/work/classified-ads-0.12 ... make -j1 Makefile:4440: warning: overriding recipe for target 'install_appdata' Makefile:4421: warning: ignoring old recipe for target 'install_appdata' Makefile:4445: warning: overriding recipe for target 'uninstall_appdata' Makefile:4426: warning: ignoring old recipe for target 'uninstall_appdata' cd po ; make make[1]: Entering directory '/var/tmp/portage/net-p2p/classified-ads-0.12/work/classified-ads-0.12/po' msgfmt fi.po -o fi.mo msgfmt sv.po -o sv.mo msgfmt da.po -o da.mo msgfmt uk.po -o uk.mo msgfmt de.po -o de.mo msgfmt es.po -o es.mo make[1]: Leaving directory '/var/tmp/portage/net-p2p/classified-ads-0.12/work/classified-ads-0.12/po' /usr/lib64/qt5/bin/uic frontWidget.ui -o ui_frontWidget.h /usr/lib64/qt5/bin/uic ui/profileReadersDialog.ui -o ui_profileReadersDialog.h /usr/lib64/qt5/bin/uic ui/passwordDialog.ui -o ui_passwordDialog.h /usr/lib64/qt5/bin/uic ui/newClassifiedAd.ui -o ui_newClassifiedAd.h /usr/lib64/qt5/bin/uic ui/newPrivMsg.ui -o ui_newPrivMsg.h /usr/lib64/qt5/bin/uic ui/editContact.ui -o ui_editContact.h /usr/lib64/qt5/bin/uic ui/newProfileComment.ui -o ui_newProfileComment.h /usr/lib64/qt5/bin/uic ui/profileCommentDisplay.ui -o ui_profileCommentDisplay.h /usr/lib64/qt5/bin/uic ui/attachmentListDialog.ui -o ui_attachmentListDialog.h /usr/lib64/qt5/bin/uic ui/settingsDialog.ui -o ui_settingsDialog.h /usr/lib64/qt5/bin/uic ui/statusDialog.ui -o ui_statusDialog.h /usr/lib64/qt5/bin/uic ui/manualConnectionDialog.ui -o ui_manualConnectionDialog.h /usr/lib64/qt5/bin/uic ui/aboutDialog.ui -o ui_aboutDialog.h /usr/lib64/qt5/bin/uic ui/searchDisplay.ui -o ui_searchDisplay.h /usr/lib64/qt5/bin/uic ui/insertLink.ui -o ui_insertLink.h /usr/lib64/qt5/bin/uic ui/newTextDocument.ui -o ui_newTextDocument.h /usr/lib64/qt5/bin/uic ui/metadataQuery.ui -o ui_metadataQuery.h /usr/lib64/qt5/bin/uic ui/callStatusDialog.ui -o ui_callStatusDialog.h /usr/lib64/qt5/bin/uic ui/tclPrograms.ui -o ui_tclPrograms.h /usr/lib64/qt5/bin/uic ui/tclConsole.ui -o ui_tclConsole.h x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -isystem /usr/include/miniupnpc -isystem /usr/include/tcl8.6 -isystem /usr/include/tk -isystem /usr/include/tk8.6 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -isystem /usr/include/miniupnpc -isystem /usr/include/tcl8.6 -isystem /usr/include/tk -isystem /usr/include/tk8.6 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o controller.o controller.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -isystem /usr/include/miniupnpc -isystem /usr/include/tcl8.6 -isystem /usr/include/tk -isystem /usr/include/tk8.6 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o FrontWidget.o FrontWidget.cpp FrontWidget.cpp: In constructor ‘FrontWidget::FrontWidget(Controller*, QMainWindow&)’: FrontWidget.cpp:162:68: error: invalid use of incomplete type ‘class QAction’ iAddSharedFileAction = new QAction(tr("Add shared file.."),this) ; ^ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:163:91: error: invalid use of incomplete type ‘class QAction’ redFileAction = new QAction(tr("Stop advertising selected shared file"),this) ; ^ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:164:73: error: invalid use of incomplete type ‘class QAction’ iExportSharedFileAction = new QAction(tr("Save file to disk.."),this) ; ^ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:165:80: error: invalid use of incomplete type ‘class QAction’ iViewSharedFileInfoAction = new QAction(tr("View file information.."), this) ; ^ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:166:95: error: invalid use of incomplete type ‘class QAction’ eHashAction = new QAction(tr("Copy file address (SHA1) to clipboard.."),this) ; ^ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:167:87: error: invalid use of incomplete type ‘class QAction’ ewSharedFileAction = new QAction(tr("Edit+publish new text document.."),this) ; ^ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:182:46: error: no matching function for call to ‘FrontWidget::connect(QAction*&, const char [13], FrontWidget*, const char [23])’ this, SLOT(fileToBeSharedAdded())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:208:36: note: candidate: 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:208:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:211:36: note: candidate: 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:211:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:463:32: note: candidate: 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:463:32: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:228:43: note: candidate: 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:228:43: note: template argument deduction/substitution failed: /usr/include/qt5/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*]’: FrontWidget.cpp:182:46: required from here /usr/include/qt5/QtCore/qobject.h:228:43: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ /usr/include/qt5/QtCore/qobject.h:260:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:260:13: note: template argument deduction/substitution failed: FrontWidget.cpp:182:46: note: candidate expects 3 arguments, 4 provided this, SLOT(fileToBeSharedAdded())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:269:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:269:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:182:46: required from here /usr/include/qt5/QtCore/qobject.h:269:13: error: no type named ‘type’ in ‘struct std::enable_if’ /usr/include/qt5/QtCore/qobject.h:300:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:300:13: note: template argument deduction/substitution failed: FrontWidget.cpp:182:46: note: candidate expects 3 arguments, 4 provided this, SLOT(fileToBeSharedAdded())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:308:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:308:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:182:46: required from here /usr/include/qt5/QtCore/qobject.h:308:13: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ FrontWidget.cpp:184:48: error: no matching function for call to ‘FrontWidget::connect(QAction*&, const char [13], FrontWidget*, const char [25])’ this, SLOT(fileToBeSharedRemoved())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:208:36: note: candidate: 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:208:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:211:36: note: candidate: 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:211:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:463:32: note: candidate: 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:463:32: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:228:43: note: candidate: 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:228:43: note: template argument deduction/substitution failed: /usr/include/qt5/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*]’: FrontWidget.cpp:184:48: required from here /usr/include/qt5/QtCore/qobject.h:228:43: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ /usr/include/qt5/QtCore/qobject.h:260:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:260:13: note: template argument deduction/substitution failed: FrontWidget.cpp:184:48: note: candidate expects 3 arguments, 4 provided this, SLOT(fileToBeSharedRemoved())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:269:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:269:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:184:48: required from here /usr/include/qt5/QtCore/qobject.h:269:13: error: no type named ‘type’ in ‘struct std::enable_if’ /usr/include/qt5/QtCore/qobject.h:300:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:300:13: note: template argument deduction/substitution failed: FrontWidget.cpp:184:48: note: candidate expects 3 arguments, 4 provided this, SLOT(fileToBeSharedRemoved())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:308:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:308:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:184:48: required from here /usr/include/qt5/QtCore/qobject.h:308:13: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ FrontWidget.cpp:186:43: error: no matching function for call to ‘FrontWidget::connect(QAction*&, const char [13], FrontWidget*, const char [20])’ this, SLOT(exportSharedFile())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:208:36: note: candidate: 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:208:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:211:36: note: candidate: 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:211:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:463:32: note: candidate: 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:463:32: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:228:43: note: candidate: 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:228:43: note: template argument deduction/substitution failed: /usr/include/qt5/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*]’: FrontWidget.cpp:186:43: required from here /usr/include/qt5/QtCore/qobject.h:228:43: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ /usr/include/qt5/QtCore/qobject.h:260:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:260:13: note: template argument deduction/substitution failed: FrontWidget.cpp:186:43: note: candidate expects 3 arguments, 4 provided this, SLOT(exportSharedFile())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:269:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:269:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:186:43: required from here /usr/include/qt5/QtCore/qobject.h:269:13: error: no type named ‘type’ in ‘struct std::enable_if’ /usr/include/qt5/QtCore/qobject.h:300:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:300:13: note: template argument deduction/substitution failed: FrontWidget.cpp:186:43: note: candidate expects 3 arguments, 4 provided this, SLOT(exportSharedFile())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:308:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:308:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:186:43: required from here /usr/include/qt5/QtCore/qobject.h:308:13: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ FrontWidget.cpp:188:45: error: no matching function for call to ‘FrontWidget::connect(QAction*&, const char [13], FrontWidget*, const char [22])’ this, SLOT(viewSharedFileInfo())); ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:208:36: note: candidate: 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:208:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:211:36: note: candidate: 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:211:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:463:32: note: candidate: 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:463:32: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:228:43: note: candidate: 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:228:43: note: template argument deduction/substitution failed: /usr/include/qt5/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*]’: FrontWidget.cpp:188:45: required from here /usr/include/qt5/QtCore/qobject.h:228:43: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ /usr/include/qt5/QtCore/qobject.h:260:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:260:13: note: template argument deduction/substitution failed: FrontWidget.cpp:188:45: note: candidate expects 3 arguments, 4 provided this, SLOT(viewSharedFileInfo())); ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:269:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:269:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:188:45: required from here /usr/include/qt5/QtCore/qobject.h:269:13: error: no type named ‘type’ in ‘struct std::enable_if’ /usr/include/qt5/QtCore/qobject.h:300:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:300:13: note: template argument deduction/substitution failed: FrontWidget.cpp:188:45: note: candidate expects 3 arguments, 4 provided this, SLOT(viewSharedFileInfo())); ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:308:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:308:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:188:45: required from here /usr/include/qt5/QtCore/qobject.h:308:13: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ FrontWidget.cpp:190:45: error: no matching function for call to ‘FrontWidget::connect(QAction*&, const char [13], FrontWidget*, const char [22])’ this, SLOT(copySharedFileHash())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:208:36: note: candidate: 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:208:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:211:36: note: candidate: 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:211:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:463:32: note: candidate: 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:463:32: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:228:43: note: candidate: 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:228:43: note: template argument deduction/substitution failed: /usr/include/qt5/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*]’: FrontWidget.cpp:190:45: required from here /usr/include/qt5/QtCore/qobject.h:228:43: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ /usr/include/qt5/QtCore/qobject.h:260:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:260:13: note: template argument deduction/substitution failed: FrontWidget.cpp:190:45: note: candidate expects 3 arguments, 4 provided this, SLOT(copySharedFileHash())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:269:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:269:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:190:45: required from here /usr/include/qt5/QtCore/qobject.h:269:13: error: no type named ‘type’ in ‘struct std::enable_if’ /usr/include/qt5/QtCore/qobject.h:300:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:300:13: note: template argument deduction/substitution failed: FrontWidget.cpp:190:45: note: candidate expects 3 arguments, 4 provided this, SLOT(copySharedFileHash())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:308:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:308:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:190:45: required from here /usr/include/qt5/QtCore/qobject.h:308:13: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ FrontWidget.cpp:192:44: error: no matching function for call to ‘FrontWidget::connect(QAction*&, const char [13], FrontWidget*, const char [21])’ this, SLOT(editNewSharedFile())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:208:36: note: candidate: 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:208:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:211:36: note: candidate: 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:211:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:463:32: note: candidate: 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:463:32: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:228:43: note: candidate: 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:228:43: note: template argument deduction/substitution failed: /usr/include/qt5/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*]’: FrontWidget.cpp:192:44: required from here /usr/include/qt5/QtCore/qobject.h:228:43: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ /usr/include/qt5/QtCore/qobject.h:260:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:260:13: note: template argument deduction/substitution failed: FrontWidget.cpp:192:44: note: candidate expects 3 arguments, 4 provided this, SLOT(editNewSharedFile())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:269:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:269:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:192:44: required from here /usr/include/qt5/QtCore/qobject.h:269:13: error: no type named ‘type’ in ‘struct std::enable_if’ /usr/include/qt5/QtCore/qobject.h:300:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:300:13: note: template argument deduction/substitution failed: FrontWidget.cpp:192:44: note: candidate expects 3 arguments, 4 provided this, SLOT(editNewSharedFile())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:308:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:308:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:192:44: required from here /usr/include/qt5/QtCore/qobject.h:308:13: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ FrontWidget.cpp: In destructor ‘virtual FrontWidget::~FrontWidget()’: FrontWidget.cpp:280:12: warning: possible problem detected in invocation of delete operator: [-Wdelete-incomplete] delete iAddSharedFileAction ; ^~~~~~~~~~~~~~~~~~~~ FrontWidget.cpp:280:12: warning: invalid use of incomplete type ‘class QAction’ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:280:12: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined delete iAddSharedFileAction ; ^~~~~~~~~~~~~~~~~~~~ FrontWidget.cpp:281:12: warning: possible problem detected in invocation of delete operator: [-Wdelete-incomplete] delete iRemoveSharedFileAction ; ^~~~~~~~~~~~~~~~~~~~~~~ FrontWidget.cpp:281:12: warning: invalid use of incomplete type ‘class QAction’ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:281:12: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined delete iRemoveSharedFileAction ; ^~~~~~~~~~~~~~~~~~~~~~~ FrontWidget.cpp:282:12: warning: possible problem detected in invocation of delete operator: [-Wdelete-incomplete] delete iExportSharedFileAction ; ^~~~~~~~~~~~~~~~~~~~~~~ FrontWidget.cpp:282:12: warning: invalid use of incomplete type ‘class QAction’ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:282:12: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined delete iExportSharedFileAction ; ^~~~~~~~~~~~~~~~~~~~~~~ FrontWidget.cpp:283:12: warning: possible problem detected in invocation of delete operator: [-Wdelete-incomplete] delete iViewSharedFileInfoAction ; ^~~~~~~~~~~~~~~~~~~~~~~~~ FrontWidget.cpp:283:12: warning: invalid use of incomplete type ‘class QAction’ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:283:12: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined delete iViewSharedFileInfoAction ; ^~~~~~~~~~~~~~~~~~~~~~~~~ FrontWidget.cpp:284:12: warning: possible problem detected in invocation of delete operator: [-Wdelete-incomplete] delete iCopySharedFileHashAction; ^~~~~~~~~~~~~~~~~~~~~~~~~ FrontWidget.cpp:284:12: warning: invalid use of incomplete type ‘class QAction’ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:284:12: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined delete iCopySharedFileHashAction; ^~~~~~~~~~~~~~~~~~~~~~~~~ FrontWidget.cpp:285:12: warning: possible problem detected in invocation of delete operator: [-Wdelete-incomplete] delete iEditNewSharedFileAction; ^~~~~~~~~~~~~~~~~~~~~~~~ FrontWidget.cpp:285:12: warning: invalid use of incomplete type ‘class QAction’ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:285:12: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined delete iEditNewSharedFileAction; ^~~~~~~~~~~~~~~~~~~~~~~~ FrontWidget.cpp:286:12: warning: possible problem detected in invocation of delete operator: [-Wdelete-incomplete] delete iEditContactAction ; ^~~~~~~~~~~~~~~~~~ FrontWidget.cpp:286:12: warning: invalid use of incomplete type ‘class QAction’ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:286:12: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined delete iEditContactAction ; ^~~~~~~~~~~~~~~~~~ FrontWidget.cpp:321:12: warning: possible problem detected in invocation of delete operator: [-Wdelete-incomplete] delete iAddToContactsFromMsgList ; ^~~~~~~~~~~~~~~~~~~~~~~~~ FrontWidget.cpp:321:12: warning: invalid use of incomplete type ‘class QAction’ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:321:12: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined delete iAddToContactsFromMsgList ; ^~~~~~~~~~~~~~~~~~~~~~~~~ FrontWidget.cpp:322:12: warning: possible problem detected in invocation of delete operator: [-Wdelete-incomplete] delete iAddToContactsFromCaList ; ^~~~~~~~~~~~~~~~~~~~~~~~ FrontWidget.cpp:322:12: warning: invalid use of incomplete type ‘class QAction’ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:322:12: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined delete iAddToContactsFromCaList ; ^~~~~~~~~~~~~~~~~~~~~~~~ FrontWidget.cpp: In member function ‘void FrontWidget::updateFileSelectionActions()’: FrontWidget.cpp:1069:39: error: invalid use of incomplete type ‘class QAction’ iCopySharedFileHashAction -> setEnabled(false) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1069:42: error: invalid use of incomplete type ‘class QAction’ iCopySharedFileHashAction -> setEnabled(false) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1070:37: error: invalid use of incomplete type ‘class QAction’ iExportSharedFileAction -> setEnabled(false) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1070:40: error: invalid use of incomplete type ‘class QAction’ iExportSharedFileAction -> setEnabled(false) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1071:39: error: invalid use of incomplete type ‘class QAction’ iViewSharedFileInfoAction -> setEnabled(false) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1071:42: error: invalid use of incomplete type ‘class QAction’ iViewSharedFileInfoAction -> setEnabled(false) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1075:39: error: invalid use of incomplete type ‘class QAction’ iCopySharedFileHashAction -> setEnabled(true) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1075:42: error: invalid use of incomplete type ‘class QAction’ iCopySharedFileHashAction -> setEnabled(true) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1076:37: error: invalid use of incomplete type ‘class QAction’ iExportSharedFileAction -> setEnabled(true) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1076:40: error: invalid use of incomplete type ‘class QAction’ iExportSharedFileAction -> setEnabled(true) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1077:39: error: invalid use of incomplete type ‘class QAction’ iViewSharedFileInfoAction -> setEnabled(true) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1077:42: error: invalid use of incomplete type ‘class QAction’ iViewSharedFileInfoAction -> setEnabled(true) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1085:39: error: invalid use of incomplete type ‘class QAction’ iCopySharedFileHashAction -> setEnabled(false) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1085:42: error: invalid use of incomplete type ‘class QAction’ iCopySharedFileHashAction -> setEnabled(false) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1086:37: error: invalid use of incomplete type ‘class QAction’ iExportSharedFileAction -> setEnabled(false) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1086:40: error: invalid use of incomplete type ‘class QAction’ iExportSharedFileAction -> setEnabled(false) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1087:37: error: invalid use of incomplete type ‘class QAction’ iRemoveSharedFileAction -> setEnabled(false) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1087:40: error: invalid use of incomplete type ‘class QAction’ iRemoveSharedFileAction -> setEnabled(false) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1088:38: error: invalid use of incomplete type ‘class QAction’ iViewSharedFileInfoAction-> setEnabled(false) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1088:41: error: invalid use of incomplete type ‘class QAction’ iViewSharedFileInfoAction-> setEnabled(false) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1092:39: error: invalid use of incomplete type ‘class QAction’ iCopySharedFileHashAction -> setEnabled(true) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1092:42: error: invalid use of incomplete type ‘class QAction’ iCopySharedFileHashAction -> setEnabled(true) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1093:37: error: invalid use of incomplete type ‘class QAction’ iExportSharedFileAction -> setEnabled(true) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1093:40: error: invalid use of incomplete type ‘class QAction’ iExportSharedFileAction -> setEnabled(true) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1094:37: error: invalid use of incomplete type ‘class QAction’ iRemoveSharedFileAction -> setEnabled(true) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1094:40: error: invalid use of incomplete type ‘class QAction’ iRemoveSharedFileAction -> setEnabled(true) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1095:39: error: invalid use of incomplete type ‘class QAction’ iViewSharedFileInfoAction -> setEnabled(true) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1095:42: error: invalid use of incomplete type ‘class QAction’ iViewSharedFileInfoAction -> setEnabled(true) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1100:35: error: invalid use of incomplete type ‘class QAction’ iCopySharedFileHashAction -> setEnabled(false) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1100:38: error: invalid use of incomplete type ‘class QAction’ iCopySharedFileHashAction -> setEnabled(false) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1101:33: error: invalid use of incomplete type ‘class QAction’ iExportSharedFileAction -> setEnabled(false) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1101:36: error: invalid use of incomplete type ‘class QAction’ iExportSharedFileAction -> setEnabled(false) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1102:33: error: invalid use of incomplete type ‘class QAction’ iRemoveSharedFileAction -> setEnabled(false) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1102:36: error: invalid use of incomplete type ‘class QAction’ iRemoveSharedFileAction -> setEnabled(false) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1103:35: error: invalid use of incomplete type ‘class QAction’ iViewSharedFileInfoAction -> setEnabled(false) ; ^~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1103:38: error: invalid use of incomplete type ‘class QAction’ iViewSharedFileInfoAction -> setEnabled(false) ; ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp: In member function ‘void FrontWidget::setupContactsTab()’: FrontWidget.cpp:1526:63: error: invalid use of incomplete type ‘class QAction’ iEditContactAction = new QAction(tr("Edit contact.."),this) ; ^ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1528:52: error: no matching function for call to ‘FrontWidget::connect(QAction*&, const char [13], FrontWidget*, const char [29])’ this, SLOT(editContactActionSelected())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:208:36: note: candidate: 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:208:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:211:36: note: candidate: 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:211:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:463:32: note: candidate: 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:463:32: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:228:43: note: candidate: 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:228:43: note: template argument deduction/substitution failed: /usr/include/qt5/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*]’: FrontWidget.cpp:1528:52: required from here /usr/include/qt5/QtCore/qobject.h:228:43: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ /usr/include/qt5/QtCore/qobject.h:260:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:260:13: note: template argument deduction/substitution failed: FrontWidget.cpp:1528:52: note: candidate expects 3 arguments, 4 provided this, SLOT(editContactActionSelected())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:269:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:269:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:1528:52: required from here /usr/include/qt5/QtCore/qobject.h:269:13: error: no type named ‘type’ in ‘struct std::enable_if’ /usr/include/qt5/QtCore/qobject.h:300:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:300:13: note: template argument deduction/substitution failed: FrontWidget.cpp:1528:52: note: candidate expects 3 arguments, 4 provided this, SLOT(editContactActionSelected())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:308:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:308:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:1528:52: required from here /usr/include/qt5/QtCore/qobject.h:308:13: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ FrontWidget.cpp: In member function ‘void FrontWidget::setupClassifiedAdsTab()’: FrontWidget.cpp:1631:90: error: invalid use of incomplete type ‘class QAction’ tactsFromCaList = new QAction(tr("Add selected operator to contacts.."),this) ; ^ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1635:48: error: no matching function for call to ‘FrontWidget::connect(QAction*&, const char [13], FrontWidget*, const char [25])’ this, SLOT(addCaSenderToContacts())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:208:36: note: candidate: 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:208:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:211:36: note: candidate: 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:211:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:463:32: note: candidate: 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:463:32: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:228:43: note: candidate: 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:228:43: note: template argument deduction/substitution failed: /usr/include/qt5/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*]’: FrontWidget.cpp:1635:48: required from here /usr/include/qt5/QtCore/qobject.h:228:43: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ /usr/include/qt5/QtCore/qobject.h:260:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:260:13: note: template argument deduction/substitution failed: FrontWidget.cpp:1635:48: note: candidate expects 3 arguments, 4 provided this, SLOT(addCaSenderToContacts())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:269:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:269:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:1635:48: required from here /usr/include/qt5/QtCore/qobject.h:269:13: error: no type named ‘type’ in ‘struct std::enable_if’ /usr/include/qt5/QtCore/qobject.h:300:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:300:13: note: template argument deduction/substitution failed: FrontWidget.cpp:1635:48: note: candidate expects 3 arguments, 4 provided this, SLOT(addCaSenderToContacts())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:308:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:308:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:1635:48: required from here /usr/include/qt5/QtCore/qobject.h:308:13: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ FrontWidget.cpp: In member function ‘void FrontWidget::setupPrivateMessagesTab()’: FrontWidget.cpp:1743:82: error: invalid use of incomplete type ‘class QAction’ AddToContactsFromMsgList = new QAction(tr("Add selected to contacts.."),this) ; ^ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44:0, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’ class QAction; ^~~~~~~ FrontWidget.cpp:1747:53: error: no matching function for call to ‘FrontWidget::connect(QAction*&, const char [13], FrontWidget*, const char [30])’ this, SLOT(addMessageSenderToContacts())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:208:36: note: candidate: 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:208:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:211:36: note: candidate: 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:211:36: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:463:32: note: candidate: 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:463:32: note: no known conversion for argument 1 from ‘QAction*’ to ‘const QObject*’ /usr/include/qt5/QtCore/qobject.h:228:43: note: candidate: 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:228:43: note: template argument deduction/substitution failed: /usr/include/qt5/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*]’: FrontWidget.cpp:1747:53: required from here /usr/include/qt5/QtCore/qobject.h:228:43: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ /usr/include/qt5/QtCore/qobject.h:260:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:260:13: note: template argument deduction/substitution failed: FrontWidget.cpp:1747:53: note: candidate expects 3 arguments, 4 provided this, SLOT(addMessageSenderToContacts())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:269:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:269:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:1747:53: required from here /usr/include/qt5/QtCore/qobject.h:269:13: error: no type named ‘type’ in ‘struct std::enable_if’ /usr/include/qt5/QtCore/qobject.h:300:13: note: candidate: template 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) ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:300:13: note: template argument deduction/substitution failed: FrontWidget.cpp:1747:53: note: candidate expects 3 arguments, 4 provided this, SLOT(addMessageSenderToContacts())) ; ^ In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from FrontWidget.cpp:21: /usr/include/qt5/QtCore/qobject.h:308:13: note: candidate: template 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, ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:308:13: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template 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) [with Func1 = const char*; Func2 = const char*]’: FrontWidget.cpp:1747:53: required from here /usr/include/qt5/QtCore/qobject.h:308:13: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer’ make: *** [Makefile:2631: FrontWidget.o] Error 1 * ERROR: net-p2p/classified-ads-0.12::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-p2p/classified-ads-0.12::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-p2p/classified-ads-0.12::gentoo'`. * The complete build log is located at '/var/log/portage/net-p2p:classified-ads-0.12:20180716-160841.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-p2p/classified-ads-0.12/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-p2p/classified-ads-0.12/temp/environment'. * Working directory: '/var/tmp/portage/net-p2p/classified-ads-0.12/work/classified-ads-0.12' * S: '/var/tmp/portage/net-p2p/classified-ads-0.12/work/classified-ads-0.12'