Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from ../logpanel.h:32,
- from ../settings.h:28,
- from ../functionpanel.h:31,
- from ../functionpanel.cpp:23:
- ../functionpanel.cpp: In member function 'void FunctionPanel::setup_ui()':
- ../common.h:30:45: warning: 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
- 30 | #define VARIANT(value) qVariantFromValue(value)
- | ~~~~~~~~~~~~~~~~~^~~~~~~
- ../functionpanel.cpp:158:53: note: in expansion of macro 'VARIANT'
- 158 | cmb_func->addItem(function_name(FUNC_WAVE_OFF), VARIANT(FUNC_WAVE_OFF));
- | ^~~~~~~
- In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43,
- from /usr/include/qt5/QtCore/QtCore:10,
- from /usr/include/qt5/QtGui/QtGuiDepends:3,
- from /usr/include/qt5/QtGui/QtGui:3,
- from ../functionpanel.h:26,
- from ../functionpanel.cpp:23:
- /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here
- 530 | inline QVariant qVariantFromValue(const T &t)
- | ^~~~~~~~~~~~~~~~~
- In file included from ../logpanel.h:32,
- from ../settings.h:28,
- from ../functionpanel.h:31,
- from ../functionpanel.cpp:23:
- ../common.h:30:45: warning: 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
- 30 | #define VARIANT(value) qVariantFromValue(value)
- | ~~~~~~~~~~~~~~~~~^~~~~~~
- ../functionpanel.cpp:159:54: note: in expansion of macro 'VARIANT'
- 159 | cmb_func->addItem(function_name(FUNC_WAVE_FLAT), VARIANT(FUNC_WAVE_FLAT));
- | ^~~~~~~
- In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43,
- from /usr/include/qt5/QtCore/QtCore:10,
- from /usr/include/qt5/QtGui/QtGuiDepends:3,
- from /usr/include/qt5/QtGui/QtGui:3,
- from ../functionpanel.h:26,
- from ../functionpanel.cpp:23:
- /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here
- 530 | inline QVariant qVariantFromValue(const T &t)
- | ^~~~~~~~~~~~~~~~~
- In file included from ../logpanel.h:32,
- from ../settings.h:28,
- from ../functionpanel.h:31,
- from ../functionpanel.cpp:23:
- ../common.h:30:45: warning: 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
- 30 | #define VARIANT(value) qVariantFromValue(value)
- | ~~~~~~~~~~~~~~~~~^~~~~~~
- ../functionpanel.cpp:160:58: note: in expansion of macro 'VARIANT'
- 160 | cmb_func->addItem(function_name(FUNC_WAVE_SAWTOOTH), VARIANT(FUNC_WAVE_SAWTOOTH));
- | ^~~~~~~
- In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43,
- from /usr/include/qt5/QtCore/QtCore:10,
- from /usr/include/qt5/QtGui/QtGuiDepends:3,
- from /usr/include/qt5/QtGui/QtGui:3,
- from ../functionpanel.h:26,
- from ../functionpanel.cpp:23:
- /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here
- 530 | inline QVariant qVariantFromValue(const T &t)
- | ^~~~~~~~~~~~~~~~~
- In file included from ../logpanel.h:32,
- from ../settings.h:28,
- from ../functionpanel.h:31,
- from ../functionpanel.cpp:23:
- ../common.h:30:45: warning: 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
- 30 | #define VARIANT(value) qVariantFromValue(value)
- | ~~~~~~~~~~~~~~~~~^~~~~~~
- ../functionpanel.cpp:161:58: note: in expansion of macro 'VARIANT'
- 161 | cmb_func->addItem(function_name(FUNC_WAVE_TRIANGLE), VARIANT(FUNC_WAVE_TRIANGLE));
- | ^~~~~~~
- In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43,
- from /usr/include/qt5/QtCore/QtCore:10,
- from /usr/include/qt5/QtGui/QtGuiDepends:3,
- from /usr/include/qt5/QtGui/QtGui:3,
- from ../functionpanel.h:26,
- from ../functionpanel.cpp:23:
- /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here
- 530 | inline QVariant qVariantFromValue(const T &t)
- | ^~~~~~~~~~~~~~~~~
- In file included from ../logpanel.h:32,
- from ../settings.h:28,
- from ../functionpanel.h:31,
- from ../functionpanel.cpp:23:
- ../common.h:30:45: warning: 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
- 30 | #define VARIANT(value) qVariantFromValue(value)
- | ~~~~~~~~~~~~~~~~~^~~~~~~
- ../functionpanel.cpp:162:56: note: in expansion of macro 'VARIANT'
- 162 | cmb_func->addItem(function_name(FUNC_WAVE_SQUARE), VARIANT(FUNC_WAVE_SQUARE));
- | ^~~~~~~
- In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43,
- from /usr/include/qt5/QtCore/QtCore:10,
- from /usr/include/qt5/QtGui/QtGuiDepends:3,
- from /usr/include/qt5/QtGui/QtGui:3,
- from ../functionpanel.h:26,
- from ../functionpanel.cpp:23:
- /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here
- 530 | inline QVariant qVariantFromValue(const T &t)
- | ^~~~~~~~~~~~~~~~~
- In file included from ../logpanel.h:32,
- from ../settings.h:28,
- from ../functionpanel.h:31,
- from ../functionpanel.cpp:23:
- ../common.h:30:45: warning: 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
- 30 | #define VARIANT(value) qVariantFromValue(value)
- | ~~~~~~~~~~~~~~~~~^~~~~~~
- ../functionpanel.cpp:163:53: note: in expansion of macro 'VARIANT'
- 163 | cmb_func->addItem(function_name(FUNC_WAVE_PWM), VARIANT(FUNC_WAVE_PWM));
- | ^~~~~~~
- In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43,
- from /usr/include/qt5/QtCore/QtCore:10,
- from /usr/include/qt5/QtGui/QtGuiDepends:3,
- from /usr/include/qt5/QtGui/QtGui:3,
- from ../functionpanel.h:26,
- from ../functionpanel.cpp:23:
- /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here
- 530 | inline QVariant qVariantFromValue(const T &t)
- | ^~~~~~~~~~~~~~~~~
- In file included from ../logpanel.h:32,
- from ../settings.h:28,
- from ../functionpanel.h:31,
- from ../functionpanel.cpp:23:
- ../common.h:30:45: warning: 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
- 30 | #define VARIANT(value) qVariantFromValue(value)
- | ~~~~~~~~~~~~~~~~~^~~~~~~
- ../functionpanel.cpp:164:53: note: in expansion of macro 'VARIANT'
- 164 | cmb_func->addItem(function_name(FUNC_WAVE_SIN), VARIANT(FUNC_WAVE_SIN));
- | ^~~~~~~
- In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43,
- from /usr/include/qt5/QtCore/QtCore:10,
- from /usr/include/qt5/QtGui/QtGuiDepends:3,
- from /usr/include/qt5/QtGui/QtGui:3,
- from ../functionpanel.h:26,
- from ../functionpanel.cpp:23:
- /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here
- 530 | inline QVariant qVariantFromValue(const T &t)
- | ^~~~~~~~~~~~~~~~~
- In file included from /usr/include/qt5/QtCore/QtCore:4,
- from /usr/include/qt5/QtGui/QtGuiDepends:3,
- from /usr/include/qt5/QtGui/QtGui:3,
- from ../functionpanel.h:26,
- from ../functionpanel.cpp:23:
- /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'constexpr int qMetaTypeId() [with T = FunctionWave]':
- /usr/include/qt5/QtCore/qvariant.h:371:37: required from 'static QVariant QVariant::fromValue(const T&) [with T = FunctionWave]'
- /usr/include/qt5/QtCore/qvariant.h:532:31: required from 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]'
- ../functionpanel.cpp:158:53: required from here
- /usr/include/qt5/QtCore/qglobal.h:121:63: 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
- 121 | # define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
- | ^~~~~~~~~~~~~~~
- /usr/include/qt5/QtCore/qmetatype.h:1916:5: note: in expansion of macro 'Q_STATIC_ASSERT_X'
- 1916 | 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");
- | ^~~~~~~~~~~~~~~~~
- /usr/include/qt5/QtCore/qglobal.h:121:63: note: 'false' evaluates to false
- 121 | # define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
- | ^~~~~~~~~~~~~~~
- /usr/include/qt5/QtCore/qmetatype.h:1916:5: note: in expansion of macro 'Q_STATIC_ASSERT_X'
- 1916 | 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 /usr/include/qt5/QtCore/qobject.h:54,
- from /usr/include/qt5/QtCore/qabstractanimation.h:43,
- from /usr/include/qt5/QtCore/QtCore:6,
- from /usr/include/qt5/QtGui/QtGuiDepends:3,
- from /usr/include/qt5/QtGui/QtGui:3,
- from ../functionpanel.h:26,
- from ../functionpanel.cpp:23:
- /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static constexpr int QMetaTypeId2<T>::qt_metatype_id() [with T = FunctionWave]':
- /usr/include/qt5/QtCore/qmetatype.h:1917:43: required from 'constexpr int qMetaTypeId() [with T = FunctionWave]'
- /usr/include/qt5/QtCore/qvariant.h:371:37: required from 'static QVariant QVariant::fromValue(const T&) [with T = FunctionWave]'
- /usr/include/qt5/QtCore/qvariant.h:532:31: required from 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]'
- ../functionpanel.cpp:158:53: required from here
- /usr/include/qt5/QtCore/qmetatype.h:1776:96: error: 'qt_metatype_id' is not a member of 'QMetaTypeId<FunctionWave>'
- 1776 | static inline Q_DECL_CONSTEXPR int qt_metatype_id() { return QMetaTypeId<T>::qt_metatype_id(); }
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
- make: *** [Makefile:999: functionpanel.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement