https://bugs.kde.org/show_bug.cgi?id=376247
Bug ID: 376247 Summary: Compilation error: /heaptrack/src/analyze/gui/mainwindow.cpp:83:110: error: no matching function for call to 'QAction::QAction(QIcon, QString)' Product: Heaptrack Version: unspecified Platform: unspecified OS: Linux Status: UNCONFIRMED Severity: critical Priority: NOR Component: general Assignee: m...@milianw.de Reporter: kangirigu...@gmail.com Target Milestone: --- Using the development packages from Ubuntu Xenial, I get the following compilation error when trying to compile the latest version on the master branch: /heaptrack/src/analyze/gui/mainwindow.cpp: In lambda function: /heaptrack/src/analyze/gui/mainwindow.cpp:83:110: error: no matching function for call to 'QAction::QAction(QIcon, QString)' new QAction(QIcon::fromTheme(QStringLiteral("document-open")), QObject::tr("Open file in editor")); ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction:1:0, from /heaptrack/build/src/analyze/gui/ui_mainwindow.h:15, from /heaptrack/src/analyze/gui/mainwindow.cpp:22: /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:174:5: note: candidate: QAction::QAction(QActionPrivate&, QObject*) QAction(QActionPrivate &dd, QObject *parent); ^ /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:174:5: note: no known conversion for argument 1 from 'QIcon' to 'QActionPrivate&' /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:89:5: note: candidate: QAction::QAction(const QIcon&, const QString&, QObject*) QAction(const QIcon &icon, const QString &text, QObject* parent); ^ /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:89:5: note: candidate expects 3 arguments, 2 provided /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:88:5: note: candidate: QAction::QAction(const QString&, QObject*) QAction(const QString &text, QObject* parent); ^ /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:88:5: note: no known conversion for argument 1 from 'QIcon' to 'const QString&' /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:87:14: note: candidate: QAction::QAction(QObject*) explicit QAction(QObject* parent); ^ /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:87:14: note: candidate expects 1 argument, 2 provided -- You are receiving this mail because: You are watching all bug changes.