[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57203] build errors with Qt 5.4
From: |
A.R. Burgers |
Subject: |
[Octave-bug-tracker] [bug #57203] build errors with Qt 5.4 |
Date: |
Sun, 10 Nov 2019 16:07:48 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763 |
URL:
<https://savannah.gnu.org/bugs/?57203>
Summary: build errors with Qt 5.4
Project: GNU Octave
Submitted by: arb
Submitted on: Sun 10 Nov 2019 09:07:47 PM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
Which current dev I get these compilation errors with Qt 5.4
CXX libgui/src/libgui_src_libgui_src_la-settings-dialog.lo
In file included from
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qnamespace.h:37,
from
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qobjectdefs.h:41,
from
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qobject.h:40,
from
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtWidgets/qbuttongroup.h:37,
from
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtWidgets/QButtonGroup:1,
from ../octave/libgui/src/settings-dialog.cc:31:
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qmetatype.h: In
instantiation of 'constexpr int qMetaTypeId() [with T =
QPalette::ColorRole]':
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qvariant.h:684:43:
required from 'static T QtPrivate::QVariantValueHelper<T>::metaType(const
QVariant&) [with T = QPalette::ColorRole]'
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qvariant.h:105:37:
required from 'static ReturnType QtPrivate::MetaTypeInvoker<Derived, Argument,
ReturnType>::invoke(Argument) [with Derived =
QtPrivate::QVariantValueHelper<QPalette::ColorRole>; Argument = const
QVariant&; ReturnType = QPalette::ColorRole]'
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qvariant.h:823:62:
required from 'T qvariant_cast(const QVariant&) [with T =
QPalette::ColorRole]'
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qvariant.h:343:30:
required from 'T QVariant::value() const [with T = QPalette::ColorRole]'
../octave/libgui/src/settings-dialog.cc:1181:77: required from here
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qglobal.h:684:61: error:
static assertion failed: Type is not registered, please use the
Q_DECLARE_METATYPE macro to make it known to Qt's meta-object system
#define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition),
Message)
^~~~~~~~~~~~~~~
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qmetatype.h:1648:5: note:
in expansion of macro 'Q_STATIC_ASSERT_X'
Q_STATIC_ASSERT_X(QMetaTypeId2<T>::Defined, "Type is not registered,
please use the Q_DECLARE_METATYPE macro to make it known to Qt's meta-object
system");
^~~~~~~~~~~~~~~~~
In file included from
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qobject.h:48,
from
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtWidgets/qbuttongroup.h:37,
from
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtWidgets/QButtonGroup:1,
from ../octave/libgui/src/settings-dialog.cc:31:
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qmetatype.h: In
instantiation of 'static constexpr int QMetaTypeId2<T>::qt_metatype_id() [with
T = QPalette::ColorRole]':
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qmetatype.h:1649:43:
required from 'constexpr int qMetaTypeId() [with T = QPalette::ColorRole]'
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qvariant.h:684:43:
required from 'static T QtPrivate::QVariantValueHelper<T>::metaType(const
QVariant&) [with T = QPalette::ColorRole]'
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qvariant.h:105:37:
required from 'static ReturnType QtPrivate::MetaTypeInvoker<Derived, Argument,
ReturnType>::invoke(Argument) [with Derived =
QtPrivate::QVariantValueHelper<QPalette::ColorRole>; Argument = const
QVariant&; ReturnType = QPalette::ColorRole]'
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qvariant.h:823:62:
required from 'T qvariant_cast(const QVariant&) [with T =
QPalette::ColorRole]'
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qvariant.h:343:30:
required from 'T QVariant::value() const [with T = QPalette::ColorRole]'
../octave/libgui/src/settings-dialog.cc:1181:77: required from here
/apps/shared/burgersar/Qt/5.4/gcc_64/include/QtCore/qmetatype.h:1509:96:
error: 'qt_metatype_id' is not a member of 'QMetaTypeId<QPalette::ColorRole>'
static inline Q_DECL_CONSTEXPR int qt_metatype_id() { return
QMetaTypeId<T>::qt_metatype_id(); }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57203>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57203] build errors with Qt 5.4,
A.R. Burgers <=