[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59813] Build failure with Qt4
From: |
Hg200 |
Subject: |
[Octave-bug-tracker] [bug #59813] Build failure with Qt4 |
Date: |
Mon, 4 Jan 2021 17:09:04 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0 |
Follow-up Comment #5, bug #59813 (project octave):
My system has both Qt4 and Qt5. But it seems to fail. What i did was:
++
hg update stable
patch -p1 < ../qt4-diffs.txt
./configure --prefix=/home/Octave/ --with-qt=4
make -j 12
Build Octave Qt GUI: yes (version: 4)
--
++
libgui/src/octave-dock-widget.cc: In member function ‘void
octave::octave_dock_widget::handle_settings(const octave::gui_settings*)’:
libgui/src/octave-dock-widget.cc:515:40: error: no matching function for call
to ‘QVariant::canConvert(QMetaType::Type&)’
515 | if (dock_geom.canConvert (rect_type))
| ^
In file included from /usr/include/QtGui/qaction.h:48,
from /usr/include/QtGui/QAction:1,
from libgui/src/octave-dock-widget.cc:30:
/usr/include/QtCore/qvariant.h:233:10: note: candidate: ‘bool
QVariant::canConvert(QVariant::Type) const’
233 | bool canConvert(Type t) const;
--
I have in config.h:
++
/* Define to 1 if `QRect' is a member of `QMetaType'. */
#define HAVE_QMETATYPE_QRECT 1
/* Define to 1 if `QString' is a member of `QMetaType'. */
#define HAVE_QMETATYPE_QSTRING 1
--
Is it possible that this happens when both Qt versions are installed?
@Torsten: Did you test with 4 or 5? You write 5.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59813>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #59813] Build failure with Qt4, anonymous, 2021/01/04
- [Octave-bug-tracker] [bug #59813] Build failure with Qt4, Markus Mützel, 2021/01/04
- [Octave-bug-tracker] [bug #59813] Build failure with Qt4, Rik, 2021/01/04
- [Octave-bug-tracker] [bug #59813] Build failure with Qt4, John W. Eaton, 2021/01/04
- [Octave-bug-tracker] [bug #59813] Build failure with Qt4, Torsten Lilge, 2021/01/04
- [Octave-bug-tracker] [bug #59813] Build failure with Qt4,
Hg200 <=
- [Octave-bug-tracker] [bug #59813] Build failure with Qt4, John W. Eaton, 2021/01/04
- [Octave-bug-tracker] [bug #59813] Build failure with Qt4, Torsten Lilge, 2021/01/05
- [Octave-bug-tracker] [bug #59813] Build failure with Qt4, anonymous, 2021/01/05
- [Octave-bug-tracker] [bug #59813] Build failure with Qt4, Hg200, 2021/01/05
- [Octave-bug-tracker] [bug #59813] Build failure with Qt4, Torsten Lilge, 2021/01/05
- [Octave-bug-tracker] [bug #59813] Build failure with Qt4, Hg200, 2021/01/05
- [Octave-bug-tracker] [bug #59813] Build failure with Qt4, Torsten Lilge, 2021/01/05
- [Octave-bug-tracker] [bug #59813] Build failure with Qt4, Rik, 2021/01/06
- [Octave-bug-tracker] [bug #59813] Build failure with Qt4, John W. Eaton, 2021/01/06
- [Octave-bug-tracker] [bug #59813] Build failure with Qt4, Rik, 2021/01/06