From anonymous, 4 Months ago, written in Plain Text.
Embed
  1. make[1]: Entering directory '/home/florian/code/qt/venvs/511/src/PyQt5_gpl-5.11.dev1806101728/QtTest'
  2. g++ -c -pipe -O2 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/home/florian/code/qt/venvs/511/src/PyQt5_gpl-5.11.dev1806101728/QtTest"' -I. -I. -I../../../include/python3.6m -isystem /usr/include/python3.6m -I/home/florian/code/qt/bin/5.11.0/gcc_64/include -I/home/florian/code/qt/bin/5.11.0/gcc_64/include/QtWidgets -I/home/florian/code/qt/bin/5.11.0/gcc_64/include/QtGui -I/home/florian/code/qt/bin/5.11.0/gcc_64/include/QtTest -I/home/florian/code/qt/bin/5.11.0/gcc_64/include/QtCore -I. -isystem /usr/include/libdrm -I/home/florian/code/qt/bin/5.11.0/gcc_64/mkspecs/linux-g++ -o sipQtTestQAbstractItemModelTester.o sipQtTestQAbstractItemModelTester.cpp
  3. g++ -c -pipe -O2 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/home/florian/code/qt/venvs/511/src/PyQt5_gpl-5.11.dev1806101728/QtTest"' -I. -I. -I../../../include/python3.6m -isystem /usr/include/python3.6m -I/home/florian/code/qt/bin/5.11.0/gcc_64/include -I/home/florian/code/qt/bin/5.11.0/gcc_64/include/QtWidgets -I/home/florian/code/qt/bin/5.11.0/gcc_64/include/QtGui -I/home/florian/code/qt/bin/5.11.0/gcc_64/include/QtTest -I/home/florian/code/qt/bin/5.11.0/gcc_64/include/QtCore -I. -isystem /usr/include/libdrm -I/home/florian/code/qt/bin/5.11.0/gcc_64/mkspecs/linux-g++ -o sipQtTestcmodule.o sipQtTestcmodule.cpp
  4. In file included from /home/florian/code/qt/venvs/511/src/PyQt5_gpl-5.11.dev1806101728/sip/QtTest/qabstractitemmodeltester.sip:28:
  5. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h: In function ‘bool QTestPrivate::testDataGuiRoles(QAbstractItemModelTester*)’:
  6. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:93:15: error: invalid use of incomplete type ‘class QAbstractItemModel’
  7.      if (!model->hasChildren())
  8.                ^~
  9. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:48:7: note: forward declaration of ‘class QAbstractItemModel’
  10.  class QAbstractItemModel;
  11.        ^~~~~~~~~~~~~~~~~~
  12. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:96:14: error: aggregate ‘QVariant variant’ has incomplete type and cannot be defined
  13.      QVariant variant;
  14.               ^~~~~~~
  15. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:98:20: error: invalid use of incomplete type ‘class QAbstractItemModel’
  16.      variant = model->data(model->index(0, 0), Qt::DecorationRole);
  17.                     ^~
  18. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:48:7: note: forward declaration of ‘class QAbstractItemModel’
  19.  class QAbstractItemModel;
  20.        ^~~~~~~~~~~~~~~~~~
  21. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:98:32: error: invalid use of incomplete type ‘class QAbstractItemModel’
  22.      variant = model->data(model->index(0, 0), Qt::DecorationRole);
  23.                                 ^~
  24. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:48:7: note: forward declaration of ‘class QAbstractItemModel’
  25.  class QAbstractItemModel;
  26.        ^~~~~~~~~~~~~~~~~~
  27. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:100:54: error: expected primary-expression before ‘>’ token
  28.          MODELTESTER_VERIFY(variant.canConvert<QPixmap>()
  29.                                                       ^
  30. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  31.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  32.                                            ^~~~~~~~~
  33. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:100:56: error: expected primary-expression before ‘)’ token
  34.          MODELTESTER_VERIFY(variant.canConvert<QPixmap>()
  35.                                                         ^
  36. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  37.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  38.                                            ^~~~~~~~~
  39. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:101:56: error: expected primary-expression before ‘>’ token
  40.                             || variant.canConvert<QImage>()
  41.                                                         ^
  42. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  43.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  44.                                            ^~~~~~~~~
  45. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:101:58: error: expected primary-expression before ‘)’ token
  46.                             || variant.canConvert<QImage>()
  47.                                                           ^
  48. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  49.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  50.                                            ^~~~~~~~~
  51. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:102:55: error: expected primary-expression before ‘>’ token
  52.                             || variant.canConvert<QIcon>()
  53.                                                        ^
  54. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  55.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  56.                                            ^~~~~~~~~
  57. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:102:57: error: expected primary-expression before ‘)’ token
  58.                             || variant.canConvert<QIcon>()
  59.                                                          ^
  60. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  61.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  62.                                            ^~~~~~~~~
  63. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:103:56: error: expected primary-expression before ‘>’ token
  64.                             || variant.canConvert<QColor>()
  65.                                                         ^
  66. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  67.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  68.                                            ^~~~~~~~~
  69. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:103:58: error: expected primary-expression before ‘)’ token
  70.                             || variant.canConvert<QColor>()
  71.                                                           ^
  72. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  73.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  74.                                            ^~~~~~~~~
  75. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:104:56: error: expected primary-expression before ‘>’ token
  76.                             || variant.canConvert<QBrush>());
  77.                                                         ^
  78. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  79.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  80.                                            ^~~~~~~~~
  81. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:104:58: error: expected primary-expression before ‘)’ token
  82.                             || variant.canConvert<QBrush>());
  83.                                                           ^
  84. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  85.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  86.                                            ^~~~~~~~~
  87. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:108:20: error: invalid use of incomplete type ‘class QAbstractItemModel’
  88.      variant = model->data(model->index(0, 0), Qt::FontRole);
  89.                     ^~
  90. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:48:7: note: forward declaration of ‘class QAbstractItemModel’
  91.  class QAbstractItemModel;
  92.        ^~~~~~~~~~~~~~~~~~
  93. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:108:32: error: invalid use of incomplete type ‘class QAbstractItemModel’
  94.      variant = model->data(model->index(0, 0), Qt::FontRole);
  95.                                 ^~
  96. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:48:7: note: forward declaration of ‘class QAbstractItemModel’
  97.  class QAbstractItemModel;
  98.        ^~~~~~~~~~~~~~~~~~
  99. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:110:52: error: expected primary-expression before ‘>’ token
  100.          MODELTESTER_VERIFY(variant.canConvert<QFont>());
  101.                                                     ^
  102. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  103.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  104.                                            ^~~~~~~~~
  105. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:110:54: error: expected primary-expression before ‘)’ token
  106.          MODELTESTER_VERIFY(variant.canConvert<QFont>());
  107.                                                       ^
  108. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  109.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  110.                                            ^~~~~~~~~
  111. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:113:20: error: invalid use of incomplete type ‘class QAbstractItemModel’
  112.      variant = model->data(model->index(0, 0), Qt::BackgroundColorRole);
  113.                     ^~
  114. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:48:7: note: forward declaration of ‘class QAbstractItemModel’
  115.  class QAbstractItemModel;
  116.        ^~~~~~~~~~~~~~~~~~
  117. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:113:32: error: invalid use of incomplete type ‘class QAbstractItemModel’
  118.      variant = model->data(model->index(0, 0), Qt::BackgroundColorRole);
  119.                                 ^~
  120. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:48:7: note: forward declaration of ‘class QAbstractItemModel’
  121.  class QAbstractItemModel;
  122.        ^~~~~~~~~~~~~~~~~~
  123. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:115:53: error: expected primary-expression before ‘>’ token
  124.          MODELTESTER_VERIFY(variant.canConvert<QColor>() || variant.canConvert<QBrush>());
  125.                                                      ^
  126. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  127.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  128.                                            ^~~~~~~~~
  129. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:115:55: error: expected primary-expression before ‘)’ token
  130.          MODELTESTER_VERIFY(variant.canConvert<QColor>() || variant.canConvert<QBrush>());
  131.                                                        ^
  132. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  133.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  134.                                            ^~~~~~~~~
  135. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:115:85: error: expected primary-expression before ‘>’ token
  136.          MODELTESTER_VERIFY(variant.canConvert<QColor>() || variant.canConvert<QBrush>());
  137.                                                                                      ^
  138. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  139.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  140.                                            ^~~~~~~~~
  141. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:115:87: error: expected primary-expression before ‘)’ token
  142.          MODELTESTER_VERIFY(variant.canConvert<QColor>() || variant.canConvert<QBrush>());
  143.                                                                                        ^
  144. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  145.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  146.                                            ^~~~~~~~~
  147. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:117:20: error: invalid use of incomplete type ‘class QAbstractItemModel’
  148.      variant = model->data(model->index(0, 0), Qt::TextColorRole);
  149.                     ^~
  150. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:48:7: note: forward declaration of ‘class QAbstractItemModel’
  151.  class QAbstractItemModel;
  152.        ^~~~~~~~~~~~~~~~~~
  153. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:117:32: error: invalid use of incomplete type ‘class QAbstractItemModel’
  154.      variant = model->data(model->index(0, 0), Qt::TextColorRole);
  155.                                 ^~
  156. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:48:7: note: forward declaration of ‘class QAbstractItemModel’
  157.  class QAbstractItemModel;
  158.        ^~~~~~~~~~~~~~~~~~
  159. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:119:53: error: expected primary-expression before ‘>’ token
  160.          MODELTESTER_VERIFY(variant.canConvert<QColor>() || variant.canConvert<QBrush>());
  161.                                                      ^
  162. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  163.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  164.                                            ^~~~~~~~~
  165. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:119:55: error: expected primary-expression before ‘)’ token
  166.          MODELTESTER_VERIFY(variant.canConvert<QColor>() || variant.canConvert<QBrush>());
  167.                                                        ^
  168. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  169.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  170.                                            ^~~~~~~~~
  171. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:119:85: error: expected primary-expression before ‘>’ token
  172.          MODELTESTER_VERIFY(variant.canConvert<QColor>() || variant.canConvert<QBrush>());
  173.                                                                                      ^
  174. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  175.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  176.                                            ^~~~~~~~~
  177. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:119:87: error: expected primary-expression before ‘)’ token
  178.          MODELTESTER_VERIFY(variant.canConvert<QColor>() || variant.canConvert<QBrush>());
  179.                                                                                        ^
  180. ../../../../../bin/5.11.0/gcc_64/include/QtTest/qabstractitemmodeltester.h:86:43: note: in definition of macro ‘MODELTESTER_VERIFY’
  181.      if (!tester->verify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__)) \
  182.                                            ^~~~~~~~~
  183. make[1]: *** [Makefile:857: sipQtTestQAbstractItemModelTester.o] Error 1
  184. make[1]: Leaving directory '/home/florian/code/qt/venvs/511/src/PyQt5_gpl-5.11.dev1806101728/QtTest'
  185. make: *** [Makefile:599: sub-QtTest-make_first-ordered] Error 2
  186.