[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60298] build with Qt 5.4.broken after rotated
From: |
A.R. Burgers |
Subject: |
[Octave-bug-tracker] [bug #60298] build with Qt 5.4.broken after rotated tabs implementation |
Date: |
Tue, 30 Mar 2021 04:41:41 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36 Edg/89.0.774.48 |
Follow-up Comment #2, bug #60298 (project octave):
Applied the patch:
patch -p1 < bug60298_v01.patch
patching file libgui/src/tab-bar.cc
doesn't fix the issue, the output is now:
../octave/libgui/src/tab-bar.cc: In member function 'virtual void
octave::tab_bar::mousePressEvent(QMouseEvent*)':
../octave/libgui/src/tab-bar.cc:231:53: error: no matching function for call
to 'QAction::QAction(const QIcon&, const QString&)'
231 | QAction* a = new QAction (icon, text);
| ^
In file included from
/apps/shared/Qt/5.4/gcc_64/include/QtWidgets/qmenu.h:40,
from /apps/shared/Qt/5.4/gcc_64/include/QtWidgets/QMenu:1,
from ../octave/libgui/src/tab-bar.h:32,
from ../octave/libgui/src/tab-bar.cc:33:
/apps/shared/Qt/5.4/gcc_64/include/QtWidgets/qaction.h:174:5: note: candidate:
'QAction::QAction(QActionPrivate&, QObject*)'
174 | QAction(QActionPrivate &dd, QObject *parent);
| ^~~~~~~
/apps/shared/Qt/5.4/gcc_64/include/QtWidgets/qaction.h:174:29: note: no
known conversion for argument 1 from 'const QIcon' to 'QActionPrivate&'
174 | QAction(QActionPrivate &dd, QObject *parent);
| ~~~~~~~~~~~~~~~~^~
/apps/shared/Qt/5.4/gcc_64/include/QtWidgets/qaction.h:89:5: note: candidate:
'QAction::QAction(const QIcon&, const QString&, QObject*)'
89 | QAction(const QIcon &icon, const QString &text, QObject* parent);
| ^~~~~~~
/apps/shared/Qt/5.4/gcc_64/include/QtWidgets/qaction.h:89:5: note: candidate
expects 3 arguments, 2 provided
/apps/shared/Qt/5.4/gcc_64/include/QtWidgets/qaction.h:88:5: note: candidate:
'QAction::QAction(const QString&, QObject*)'
88 | QAction(const QString &text, QObject* parent);
| ^~~~~~~
/apps/shared/Qt/5.4/gcc_64/include/QtWidgets/qaction.h:88:28: note: no known
conversion for argument 1 from 'const QIcon' to 'const QString&'
88 | QAction(const QString &text, QObject* parent);
| ~~~~~~~~~~~~~~~^~~~
/apps/shared/Qt/5.4/gcc_64/include/QtWidgets/qaction.h:87:14: note: candidate:
'QAction::QAction(QObject*)'
87 | explicit QAction(QObject* parent);
| ^~~~~~~
/apps/shared/Qt/5.4/gcc_64/include/QtWidgets/qaction.h:87:14: note:
candidate expects 1 argument, 2 provided
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60298>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/