Advertisement
BlueManCZ

micoscope make.log

Nov 17th, 2021
2,636
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 11.45 KB | None | 0 0
  1. In file included from ../logpanel.h:32,
  2.                  from ../settings.h:28,
  3.                  from ../functionpanel.h:31,
  4.                  from ../functionpanel.cpp:23:
  5. ../functionpanel.cpp: In member function 'void FunctionPanel::setup_ui()':
  6. ../common.h:30:45: warning: 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
  7.    30 |     #define VARIANT(value) qVariantFromValue(value)
  8.       |                            ~~~~~~~~~~~~~~~~~^~~~~~~
  9. ../functionpanel.cpp:158:53: note: in expansion of macro 'VARIANT'
  10.   158 |     cmb_func->addItem(function_name(FUNC_WAVE_OFF), VARIANT(FUNC_WAVE_OFF));
  11.       |                                                     ^~~~~~~
  12. In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43,
  13.                  from /usr/include/qt5/QtCore/QtCore:10,
  14.                  from /usr/include/qt5/QtGui/QtGuiDepends:3,
  15.                  from /usr/include/qt5/QtGui/QtGui:3,
  16.                  from ../functionpanel.h:26,
  17.                  from ../functionpanel.cpp:23:
  18. /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here
  19.   530 | inline QVariant qVariantFromValue(const T &t)
  20.       |                 ^~~~~~~~~~~~~~~~~
  21. In file included from ../logpanel.h:32,
  22.                  from ../settings.h:28,
  23.                  from ../functionpanel.h:31,
  24.                  from ../functionpanel.cpp:23:
  25. ../common.h:30:45: warning: 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
  26.    30 |     #define VARIANT(value) qVariantFromValue(value)
  27.       |                            ~~~~~~~~~~~~~~~~~^~~~~~~
  28. ../functionpanel.cpp:159:54: note: in expansion of macro 'VARIANT'
  29.   159 |     cmb_func->addItem(function_name(FUNC_WAVE_FLAT), VARIANT(FUNC_WAVE_FLAT));
  30.       |                                                      ^~~~~~~
  31. In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43,
  32.                  from /usr/include/qt5/QtCore/QtCore:10,
  33.                  from /usr/include/qt5/QtGui/QtGuiDepends:3,
  34.                  from /usr/include/qt5/QtGui/QtGui:3,
  35.                  from ../functionpanel.h:26,
  36.                  from ../functionpanel.cpp:23:
  37. /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here
  38.   530 | inline QVariant qVariantFromValue(const T &t)
  39.       |                 ^~~~~~~~~~~~~~~~~
  40. In file included from ../logpanel.h:32,
  41.                  from ../settings.h:28,
  42.                  from ../functionpanel.h:31,
  43.                  from ../functionpanel.cpp:23:
  44. ../common.h:30:45: warning: 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
  45.    30 |     #define VARIANT(value) qVariantFromValue(value)
  46.       |                            ~~~~~~~~~~~~~~~~~^~~~~~~
  47. ../functionpanel.cpp:160:58: note: in expansion of macro 'VARIANT'
  48.   160 |     cmb_func->addItem(function_name(FUNC_WAVE_SAWTOOTH), VARIANT(FUNC_WAVE_SAWTOOTH));
  49.       |                                                          ^~~~~~~
  50. In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43,
  51.                  from /usr/include/qt5/QtCore/QtCore:10,
  52.                  from /usr/include/qt5/QtGui/QtGuiDepends:3,
  53.                  from /usr/include/qt5/QtGui/QtGui:3,
  54.                  from ../functionpanel.h:26,
  55.                  from ../functionpanel.cpp:23:
  56. /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here
  57.   530 | inline QVariant qVariantFromValue(const T &t)
  58.       |                 ^~~~~~~~~~~~~~~~~
  59. In file included from ../logpanel.h:32,
  60.                  from ../settings.h:28,
  61.                  from ../functionpanel.h:31,
  62.                  from ../functionpanel.cpp:23:
  63. ../common.h:30:45: warning: 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
  64.    30 |     #define VARIANT(value) qVariantFromValue(value)
  65.       |                            ~~~~~~~~~~~~~~~~~^~~~~~~
  66. ../functionpanel.cpp:161:58: note: in expansion of macro 'VARIANT'
  67.   161 |     cmb_func->addItem(function_name(FUNC_WAVE_TRIANGLE), VARIANT(FUNC_WAVE_TRIANGLE));
  68.       |                                                          ^~~~~~~
  69. In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43,
  70.                  from /usr/include/qt5/QtCore/QtCore:10,
  71.                  from /usr/include/qt5/QtGui/QtGuiDepends:3,
  72.                  from /usr/include/qt5/QtGui/QtGui:3,
  73.                  from ../functionpanel.h:26,
  74.                  from ../functionpanel.cpp:23:
  75. /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here
  76.   530 | inline QVariant qVariantFromValue(const T &t)
  77.       |                 ^~~~~~~~~~~~~~~~~
  78. In file included from ../logpanel.h:32,
  79.                  from ../settings.h:28,
  80.                  from ../functionpanel.h:31,
  81.                  from ../functionpanel.cpp:23:
  82. ../common.h:30:45: warning: 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
  83.    30 |     #define VARIANT(value) qVariantFromValue(value)
  84.       |                            ~~~~~~~~~~~~~~~~~^~~~~~~
  85. ../functionpanel.cpp:162:56: note: in expansion of macro 'VARIANT'
  86.   162 |     cmb_func->addItem(function_name(FUNC_WAVE_SQUARE), VARIANT(FUNC_WAVE_SQUARE));
  87.       |                                                        ^~~~~~~
  88. In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43,
  89.                  from /usr/include/qt5/QtCore/QtCore:10,
  90.                  from /usr/include/qt5/QtGui/QtGuiDepends:3,
  91.                  from /usr/include/qt5/QtGui/QtGui:3,
  92.                  from ../functionpanel.h:26,
  93.                  from ../functionpanel.cpp:23:
  94. /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here
  95.   530 | inline QVariant qVariantFromValue(const T &t)
  96.       |                 ^~~~~~~~~~~~~~~~~
  97. In file included from ../logpanel.h:32,
  98.                  from ../settings.h:28,
  99.                  from ../functionpanel.h:31,
  100.                  from ../functionpanel.cpp:23:
  101. ../common.h:30:45: warning: 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
  102.    30 |     #define VARIANT(value) qVariantFromValue(value)
  103.       |                            ~~~~~~~~~~~~~~~~~^~~~~~~
  104. ../functionpanel.cpp:163:53: note: in expansion of macro 'VARIANT'
  105.   163 |     cmb_func->addItem(function_name(FUNC_WAVE_PWM), VARIANT(FUNC_WAVE_PWM));
  106.       |                                                     ^~~~~~~
  107. In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43,
  108.                  from /usr/include/qt5/QtCore/QtCore:10,
  109.                  from /usr/include/qt5/QtGui/QtGuiDepends:3,
  110.                  from /usr/include/qt5/QtGui/QtGui:3,
  111.                  from ../functionpanel.h:26,
  112.                  from ../functionpanel.cpp:23:
  113. /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here
  114.   530 | inline QVariant qVariantFromValue(const T &t)
  115.       |                 ^~~~~~~~~~~~~~~~~
  116. In file included from ../logpanel.h:32,
  117.                  from ../settings.h:28,
  118.                  from ../functionpanel.h:31,
  119.                  from ../functionpanel.cpp:23:
  120. ../common.h:30:45: warning: 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
  121.    30 |     #define VARIANT(value) qVariantFromValue(value)
  122.       |                            ~~~~~~~~~~~~~~~~~^~~~~~~
  123. ../functionpanel.cpp:164:53: note: in expansion of macro 'VARIANT'
  124.   164 |     cmb_func->addItem(function_name(FUNC_WAVE_SIN), VARIANT(FUNC_WAVE_SIN));
  125.       |                                                     ^~~~~~~
  126. In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43,
  127.                  from /usr/include/qt5/QtCore/QtCore:10,
  128.                  from /usr/include/qt5/QtGui/QtGuiDepends:3,
  129.                  from /usr/include/qt5/QtGui/QtGui:3,
  130.                  from ../functionpanel.h:26,
  131.                  from ../functionpanel.cpp:23:
  132. /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here
  133.   530 | inline QVariant qVariantFromValue(const T &t)
  134.       |                 ^~~~~~~~~~~~~~~~~
  135. In file included from /usr/include/qt5/QtCore/QtCore:4,
  136.                  from /usr/include/qt5/QtGui/QtGuiDepends:3,
  137.                  from /usr/include/qt5/QtGui/QtGui:3,
  138.                  from ../functionpanel.h:26,
  139.                  from ../functionpanel.cpp:23:
  140. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'constexpr int qMetaTypeId() [with T = FunctionWave]':
  141. /usr/include/qt5/QtCore/qvariant.h:371:37:   required from 'static QVariant QVariant::fromValue(const T&) [with T = FunctionWave]'
  142. /usr/include/qt5/QtCore/qvariant.h:532:31:   required from 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]'
  143. ../functionpanel.cpp:158:53:   required from here
  144. /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
  145.  121 | #  define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
  146.      |                                                               ^~~~~~~~~~~~~~~
  147. /usr/include/qt5/QtCore/qmetatype.h:1916:5: note: in expansion of macro 'Q_STATIC_ASSERT_X'
  148. 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");
  149.      |     ^~~~~~~~~~~~~~~~~
  150. /usr/include/qt5/QtCore/qglobal.h:121:63: note: 'false' evaluates to false
  151.  121 | #  define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
  152.      |                                                               ^~~~~~~~~~~~~~~
  153. /usr/include/qt5/QtCore/qmetatype.h:1916:5: note: in expansion of macro 'Q_STATIC_ASSERT_X'
  154. 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");
  155.      |     ^~~~~~~~~~~~~~~~~
  156. In file included from /usr/include/qt5/QtCore/qobject.h:54,
  157.                 from /usr/include/qt5/QtCore/qabstractanimation.h:43,
  158.                 from /usr/include/qt5/QtCore/QtCore:6,
  159.                 from /usr/include/qt5/QtGui/QtGuiDepends:3,
  160.                 from /usr/include/qt5/QtGui/QtGui:3,
  161.                 from ../functionpanel.h:26,
  162.                 from ../functionpanel.cpp:23:
  163. /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static constexpr int QMetaTypeId2<T>::qt_metatype_id() [with T = FunctionWave]':
  164. /usr/include/qt5/QtCore/qmetatype.h:1917:43:   required from 'constexpr int qMetaTypeId() [with T = FunctionWave]'
  165. /usr/include/qt5/QtCore/qvariant.h:371:37:   required from 'static QVariant QVariant::fromValue(const T&) [with T = FunctionWave]'
  166. /usr/include/qt5/QtCore/qvariant.h:532:31:   required from 'QVariant qVariantFromValue(const T&) [with T = FunctionWave]'
  167. ../functionpanel.cpp:158:53:   required from here
  168. /usr/include/qt5/QtCore/qmetatype.h:1776:96: error: 'qt_metatype_id' is not a member of 'QMetaTypeId<FunctionWave>'
  169. 1776 |     static inline Q_DECL_CONSTEXPR int qt_metatype_id() { return QMetaTypeId<T>::qt_metatype_id(); }
  170.      |                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
  171. make: *** [Makefile:999: functionpanel.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement