[Ci-reports] fail on ssh://codereview.qt-project.org:29418/qt/qtmodeling#master

Qt Continuous Integration System ci-noreply at qt-project.org
Fri Dec 6 15:35:44 CET 2013


Compilation failed :(

  compiling shell/uicontroller.cpp
  shell/uicontroller.cpp: In member function 'virtual bool DuSE::UiController::initialize()':
  shell/uicontroller.cpp:66:19: error: invalid use of incomplete type 'struct Ui::MainWindow'
  shell/mainwindow.h:51:11: error: forward declaration of 'struct Ui::MainWindow'
  shell/uicontroller.cpp: In member function 'virtual void DuSE::UiController::addCentralWidgetTab(TestNamespace::QWidget*, const TestNamespace::QString&, int, const TestNamespace::QIcon&)':
  shell/uicontroller.cpp:97:23: error: invalid use of incomplete type 'struct Ui::MainWindow'
  shell/mainwindow.h:51:11: error: forward declaration of 'struct Ui::MainWindow'
  shell/uicontroller.cpp:99:23: error: invalid use of incomplete type 'struct Ui::MainWindow'
  shell/mainwindow.h:51:11: error: forward declaration of 'struct Ui::MainWindow'
  shell/uicontroller.cpp: In member function 'virtual void DuSE::UiController::removeCentralWidgetTab(const TestNamespace::QString&)':
  shell/uicontroller.cpp:105:34: error: invalid use of incomplete type 'struct Ui::MainWindow'
  shell/mainwindow.h:51:11: error: forward declaration of 'struct Ui::MainWindow'
  shell/uicontroller.cpp:107:27: error: invalid use of incomplete type 'struct Ui::MainWindow'
  shell/mainwindow.h:51:11: error: forward declaration of 'struct Ui::MainWindow'
  shell/uicontroller.cpp:108:27: error: invalid use of incomplete type 'struct Ui::MainWindow'
  shell/mainwindow.h:51:11: error: forward declaration of 'struct Ui::MainWindow'
  shell/uicontroller.cpp: In member function 'virtual void DuSE::UiController::addAction(TestNamespace::QAction*, const TestNamespace::QString&, const TestNamespace::QString&)':
  shell/uicontroller.cpp:115:53: error: invalid use of incomplete type 'struct Ui::MainWindow'
  shell/mainwindow.h:51:11: error: forward declaration of 'struct Ui::MainWindow'
  shell/uicontroller.cpp:115:88: error: template argument 1 is invalid
  shell/uicontroller.cpp:115:101: error: invalid type in declaration before '(' token
  shell/uicontroller.cpp:115:116: error: invalid use of incomplete type 'struct Ui::MainWindow'
  shell/mainwindow.h:51:11: error: forward declaration of 'struct Ui::MainWindow'
  shell/uicontroller.cpp:115:166: error: request for member 'brk' in '_container_', which is of non-class type 'int'
  shell/uicontroller.cpp:115:185: error: request for member 'i' in '_container_', which is of non-class type 'int'
  shell/uicontroller.cpp:115:202: error: request for member 'e' in '_container_', which is of non-class type 'int'
  shell/uicontroller.cpp:115:236: error: request for member 'brk' in '_container_', which is of non-class type 'int'
  shell/uicontroller.cpp:115:255: error: request for member 'i' in '_container_', which is of non-class type 'int'
  shell/uicontroller.cpp:115:294: error: request for member 'i' in '_container_', which is of non-class type 'int'
  shell/uicontroller.cpp:115:328: error: request for member 'brk' in '_container_', which is of non-class type 'int'
  make[5]: *** [.obj/uicontroller.o] Error 1
  In file included from shell/mainwindow.cpp:72:0:
  ../libs/duseinterfaces/iplugincontroller.h:67:52: error: template argument 2 is invalid
  In file included from shell/mainwindow.cpp:73:0:
  ../libs/duseinterfaces/iprojectcontroller.h:71:37: error: template argument 1 is invalid
  ../libs/duseinterfaces/iprojectcontroller.h:78:60: error: reference to 'QMetaModelPlugin' is ambiguous
  shell/mainwindow.h:59:7: error: candidates are: struct QMetaModelPlugin
  /work/build/qt/qtbase/include/QtModeling/../../../qtmodeling/src/modeling/qmetamodelplugin.h:55:46: error:                 class TestNamespace::QMetaModelPlugin
  ../libs/duseinterfaces/iprojectcontroller.h:78:60: error: 'QMetaModelPlugin' has not been declared
  shell/mainwindow.cpp: In constructor 'DuSE::MainWindow::MainWindow(TestNamespace::QWidget*)':
  shell/mainwindow.cpp:80:12: error: expected type-specifier before 'Ui'
  shell/mainwindow.cpp:80:12: error: expected ')' before 'Ui'
  shell/mainwindow.cpp:82:23: error: expected type-specifier before 'Ui'
  shell/mainwindow.cpp:82:23: error: expected ')' before 'Ui'
  shell/mainwindow.cpp:84:22: error: expected type-specifier before 'Ui'
  shell/mainwindow.cpp:84:22: error: expected ')' before 'Ui'
  shell/mainwindow.cpp:86:19: error: expected type-specifier before 'Ui'
  shell/mainwindow.cpp:86:19: error: expected ')' before 'Ui'
  shell/mainwindow.cpp:86:31: error: cannot convert 'int*' to 'Ui::MainWindow*' in initialization
  shell/mainwindow.cpp:86:31: error: cannot convert 'int*' to 'Ui::AboutPlugins*' in initialization
  shell/mainwindow.cpp:86:31: error: cannot convert 'int*' to 'Ui::AboutDuSEMT*' in initialization
  shell/mainwindow.cpp:86:31: error: cannot convert 'int*' to 'Ui::NewModel*' in initialization
  shell/mainwindow.cpp:88:7: error: invalid use of incomplete type 'struct Ui::MainWindow'
  shell/mainwindow.h:51:11: error: forward declaration of 'struct Ui::MainWindow'
  shell/mainwindow.cpp:90:14: error: invalid use of incomplete type 'struct Ui::NewModel'
  shell/mainwindow.h:54:11: error: forward declaration of 'struct Ui::NewModel'
  shell/mainwindow.cpp:91:22: error: invalid use of incomplete type 'struct Ui::NewModel'
  shell/mainwindow.h:54:11: error: forward declaration of 'struct Ui::NewModel'
  shell/mainwindow.cpp:92:18: error: invalid use of incomplete type 'struct Ui::AboutPlugins'
  shell/mainwindow.h:52:11: error: forward declaration of 'struct Ui::AboutPlugins'
  shell/mainwindow.cpp:93:17: error: invalid use of incomplete type 'struct Ui::AboutDuSEMT'
  shell/mainwindow.h:53:11: error: forward declaration of 'struct Ui::AboutDuSEMT'
  shell/mainwindow.cpp: In destructor 'virtual DuSE::MainWindow::~MainWindow()':
  shell/mainwindow.cpp:101:12: warning: possible problem detected in invocation of delete operator: [enabled by default]
  shell/mainwindow.cpp:101:12: warning: invalid use of incomplete type 'struct Ui::MainWindow' [enabled by default]
  shell/mainwindow.h:51:11: warning: forward declaration of 'struct Ui::MainWindow' [enabled by default]
  shell/mainwindow.cpp:101:12: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined
  shell/mainwindow.cpp:102:12: warning: possible problem detected in invocation of delete operator: [enabled by default]
  shell/mainwindow.cpp:102:12: warning: invalid use of incomplete type 'struct Ui::AboutPlugins' [enabled by default]
  shell/mainwindow.h:52:11: warning: forward declaration of 'struct Ui::AboutPlugins' [enabled by default]
  shell/mainwindow.cpp:102:12: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined
  shell/mainwindow.cpp:103:12: warning: possible problem detected in invocation of delete operator: [enabled by default]
  shell/mainwindow.cpp:103:12: warning: invalid use of incomplete type 'struct Ui::NewModel' [enabled by default]
  shell/mainwindow.h:54:11: warning: forward declaration of 'struct Ui::NewModel' [enabled by default]
  shell/mainwindow.cpp:103:12: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined
  shell/mainwindow.cpp:104:12: warning: possible problem detected in invocation of delete operator: [enabled by default]
  shell/mainwindow.cpp:104:12: warning: invalid use of incomplete type 'struct Ui::AboutDuSEMT' [enabled by default]
  shell/mainwindow.h:53:11: warning: forward declaration of 'struct Ui::AboutDuSEMT' [enabled by default]
  shell/mainwindow.cpp:104:12: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined
  shell/mainwindow.cpp: In member function 'void DuSE::MainWindow::on_actionFileNewModel_triggered()':
  shell/mainwindow.cpp:116:14: error: invalid use of incomplete type 'struct Ui::NewModel'
  shell/mainwindow.h:54:11: error: forward declaration of 'struct Ui::NewModel'
  shell/mainwindow.cpp:117:14: error: invalid use of incomplete type 'struct Ui::NewModel'
  shell/mainwindow.h:54:11: error: forward declaration of 'struct Ui::NewModel'
  shell/mainwindow.cpp:118:93: error: request for member 'values' in 'DuSE::ICore::self()->DuSE::ICore::pluginController()->DuSE::IPluginController::metamodelPlugins()', which is of non-class type 'const int'
  shell/mainwindow.cpp:118:102: error: template argument 1 is invalid
  shell/mainwindow.cpp:118:115: error: invalid type in declaration before '(' token
  shell/mainwindow.cpp:118:170: error: request for member 'values' in 'DuSE::ICore::self()->DuSE::ICore::pluginController()->DuSE::IPluginController::metamodelPlugins()', which is of non-class type 'const int'
  shell/mainwindow.cpp:118:194: error: request for member 'brk' in '_container_', which is of non-class type 'int'
  shell/mainwindow.cpp:118:213: error: request for member 'i' in '_container_', which is of non-class type 'int'
  shell/mainwindow.cpp:118:230: error: request for member 'e' in '_container_', which is of non-class type 'int'
  shell/mainwindow.cpp:118:264: error: request for member 'brk' in '_container_', which is of non-class type 'int'
  shell/mainwindow.cpp:118:283: error: request for member 'i' in '_container_', which is of non-class type 'int'
  shell/mainwindow.cpp:118:295: error: reference to 'QMetaModelPlugin' is ambiguous
  shell/mainwindow.h:59:7: error: candidates are: struct QMetaModelPlugin
  /work/build/qt/qtbase/include/QtModeling/../../../qtmodeling/src/modeling/qmetamodelplugin.h:55:46: error:                 class TestNamespace::QMetaModelPlugin
  shell/mainwindow.cpp:118:313: error: 'metamodelPlugin' was not declared in this scope
  shell/mainwindow.cpp:118:344: error: request for member 'i' in '_container_', which is of non-class type 'int'
  shell/mainwindow.cpp:118:378: error: request for member 'brk' in '_container_', which is of non-class type 'int'
  shell/mainwindow.cpp:119:18: error: invalid use of incomplete type 'struct Ui::NewModel'
  shell/mainwindow.h:54:11: error: forward declaration of 'struct Ui::NewModel'
  shell/mainwindow.cpp:120:14: error: invalid use of incomplete type 'struct Ui::NewModel'
  shell/mainwindow.h:54:11: error: forward declaration of 'struct Ui::NewModel'
  shell/mainwindow.cpp:122:9: error: reference to 'QMetaModelPlugin' is ambiguous
  shell/mainwindow.h:59:7: error: candidates are: struct QMetaModelPlugin
  /work/build/qt/qtbase/include/QtModeling/../../../qtmodeling/src/modeling/qmetamodelplugin.h:55:46: error:                 class TestNamespace::QMetaModelPlugin
  shell/mainwindow.cpp:122:27: error: 'metamodelPlugin' was not declared in this scope
  shell/mainwindow.cpp:123:97: error: request for member 'values' in 'DuSE::ICore::self()->DuSE::ICore::pluginController()->DuSE::IPluginController::metamodelPlugins()', which is of non-class type 'const int'
  shell/mainwindow.cpp:123:106: error: template argument 1 is invalid
  shell/mainwindow.cpp:123:119: error: invalid type in declaration before '(' token
  shell/mainwindow.cpp:123:174: error: request for member 'values' in 'DuSE::ICore::self()->DuSE::ICore::pluginController()->DuSE::IPluginController::metamodelPlugins()', which is of non-class type 'const int'
  shell/mainwindow.cpp:123:198: error: request for member 'brk' in '_container_', which is of non-class type 'int'
  shell/mainwindow.cpp:123:217: error: request for member 'i' in '_container_', which is of non-class type 'int'
  shell/mainwindow.cpp:123:234: error: request for member 'e' in '_container_', which is of non-class type 'int'
  shell/mainwindow.cpp:123:268: error: request for member 'brk' in '_container_', which is of non-class type 'int'
  shell/mainwindow.cpp:123:287: error: request for member 'i' in '_container_', which is of non-class type 'int'
  shell/mainwindow.cpp:123:299: error: reference to 'QMetaModelPlugin' is ambiguous
  shell/mainwindow.h:59:7: error: candidates are: struct QMetaModelPlugin
  /work/build/qt/qtbase/include/QtModeling/../../../qtmodeling/src/modeling/qmetamodelplugin.h:55:46: error:                 class TestNamespace::QMetaModelPlugin
  shell/mainwindow.cpp:123:317: error: 'plugin' was not declared in this scope
  shell/mainwindow.cpp:123:339: error: request for member 'i' in '_container_', which is of non-class type 'int'
  shell/mainwindow.cpp:123:373: error: request for member 'brk' in '_container_', which is of non-class type 'int'
  shell/mainwindow.cpp:124:63: error: invalid use of incomplete type 'struct Ui::NewModel'
  shell/mainwindow.h:54:11: error: forward declaration of 'struct Ui::NewModel'
  shell/mainwindow.cpp:127:70: error: invalid use of incomplete type 'struct Ui::NewModel'
  shell/mainwindow.h:54:11: error: forward declaration of 'struct Ui::NewModel'
  shell/mainwindow.cpp:127:116: error: invalid use of incomplete type 'struct Ui::NewModel'
  shell/mainwindow.h:54:11: error: forward declaration of 'struct Ui::NewModel'
  shell/mainwindow.cpp: At global scope:
  shell/mainwindow.cpp:167:42: error: variable or field 'populateDesignSpaceView' declared void
  shell/mainwindow.cpp:167:42: error: reference to 'QModelingElement' is ambiguous
  shell/mainwindow.h:57:7: error: candidates are: struct QModelingElement
  /work/build/qt/qtbase/include/QtModeling/../../../qtmodeling/src/modeling/qmodelingelement.h:55:46: error:                 class TestNamespace::QModelingElement
  shell/mainwindow.cpp:167:60: error: 'modelingObject' was not declared in this scope
  shell/mainwindow.cpp: In member function 'void DuSE::MainWindow::update()':
  shell/mainwindow.cpp:270:13: error: invalid use of incomplete type 'struct QProgressDialog'
  shell/mainwindow.h:61:7: error: forward declaration of 'struct QProgressDialog'
  shell/mainwindow.cpp:270:32: error: invalid use of incomplete type 'struct QProgressDialog'
  shell/mainwindow.h:61:7: error: forward declaration of 'struct QProgressDialog'
  shell/mainwindow.cpp:271:17: error: invalid use of incomplete type 'struct QProgressDialog'
  shell/mainwindow.h:61:7: error: forward declaration of 'struct QProgressDialog'
  shell/mainwindow.cpp:273:17: error: invalid use of incomplete type 'struct QProgressDialog'
  shell/mainwindow.h:61:7: error: forward declaration of 'struct QProgressDialog'
  shell/mainwindow.cpp: In member function 'void DuSE::MainWindow::metaModelChanged(TestNamespace::QString)':
  shell/mainwindow.cpp:286:14: error: invalid use of incomplete type 'struct Ui::NewModel'
  shell/mainwindow.h:54:11: error: forward declaration of 'struct Ui::NewModel'
  In file included from /work/build/qt/qtbase/include/QtCore/qglobal.h:1:0,
                   from /work/build/qt/qtbase/include/QtGui/../../src/gui/kernel/qwindowdefs.h:45,
                   from /work/build/qt/qtbase/include/QtGui/qwindowdefs.h:1,
                   from /work/build/qt/qtbase/include/QtWidgets/../../src/widgets/kernel/qwidget.h:45,
                   from /work/build/qt/qtbase/include/QtWidgets/qwidget.h:1,
                   from /work/build/qt/qtbase/include/QtWidgets/../../src/widgets/widgets/qmainwindow.h:45,
                   from /work/build/qt/qtbase/include/QtWidgets/qmainwindow.h:1,
                   from /work/build/qt/qtbase/include/QtWidgets/QMainWindow:1,
                   from shell/mainwindow.h:44,
                   from shell/mainwindow.cpp:41:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h: At global scope:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h: In instantiation of 'TestNamespace::QForeachContainer<const int>':
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:841:32: error: 'const int' is not a class, struct, or union type
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:841:35: error: 'const int' is not a class, struct, or union type
  shell/mainwindow.cpp: In member function 'void DuSE::MainWindow::metaModelChanged(TestNamespace::QString)':
  shell/mainwindow.cpp:288:195: error: 'class TestNamespace::QForeachContainer<const int>' has no member named 'i'
  shell/mainwindow.cpp:288:212: error: 'class TestNamespace::QForeachContainer<const int>' has no member named 'e'
  shell/mainwindow.cpp:288:265: error: 'class TestNamespace::QForeachContainer<const int>' has no member named 'i'
  shell/mainwindow.cpp:288:277: error: reference to 'QMetaModelPlugin' is ambiguous
  shell/mainwindow.h:59:7: error: candidates are: struct QMetaModelPlugin
  /work/build/qt/qtbase/include/QtModeling/../../../qtmodeling/src/modeling/qmetamodelplugin.h:55:46: error:                 class TestNamespace::QMetaModelPlugin
  shell/mainwindow.cpp:288:295: error: 'metamodelPlugin' was not declared in this scope
  shell/mainwindow.cpp:288:326: error: 'class TestNamespace::QForeachContainer<const int>' has no member named 'i'
  shell/mainwindow.cpp:290:75: error: expected primary-expression before '>' token
  shell/mainwindow.cpp:290:77: error: expected primary-expression before ')' token
  shell/mainwindow.cpp:293:18: error: invalid use of incomplete type 'struct Ui::NewModel'
  shell/mainwindow.h:54:11: error: forward declaration of 'struct Ui::NewModel'
  shell/mainwindow.cpp:294:14: error: invalid use of incomplete type 'struct Ui::NewModel'
  shell/mainwindow.h:54:11: error: forward declaration of 'struct Ui::NewModel'
  shell/mainwindow.cpp: At global scope:
  shell/mainwindow.cpp:322:30: error: variable or field 'addToPareto' declared void
  shell/mainwindow.cpp:322:30: error: reference to 'QModelingElement' is ambiguous
  shell/mainwindow.h:57:7: error: candidates are: struct QModelingElement
  /work/build/qt/qtbase/include/QtModeling/../../../qtmodeling/src/modeling/qmodelingelement.h:55:46: error:                 class TestNamespace::QModelingElement
  shell/mainwindow.cpp:322:48: error: 'modelingObject' was not declared in this scope
  shell/mainwindow.cpp:322:64: error: expected primary-expression before 'int'
  shell/mainwindow.cpp:362:1: error: reference to 'QTreeWidgetItem' is ambiguous
  shell/mainwindow.h:48:7: error: candidates are: struct QTreeWidgetItem
  /work/build/qt/qtbase/include/QtWidgets/../../src/widgets/itemviews/qtreewidget.h:60:46: error:                 class TestNamespace::QTreeWidgetItem
  shell/mainwindow.cpp:362:1: error: 'QTreeWidgetItem' does not name a type
  shell/mainwindow.cpp: In member function 'void DuSE::MainWindow::populatePluginDialog()':
  shell/mainwindow.cpp:375:18: error: invalid use of incomplete type 'struct Ui::AboutPlugins'
  shell/mainwindow.h:52:11: error: forward declaration of 'struct Ui::AboutPlugins'
  shell/mainwindow.cpp:376:18: error: invalid use of incomplete type 'struct Ui::AboutPlugins'
  shell/mainwindow.h:52:11: error: forward declaration of 'struct Ui::AboutPlugins'
  shell/mainwindow.cpp:377:18: error: invalid use of incomplete type 'struct Ui::AboutPlugins'
  shell/mainwindow.h:52:11: error: forward declaration of 'struct Ui::AboutPlugins'
  shell/mainwindow.cpp:379:195: error: 'class TestNamespace::QForeachContainer<const int>' has no member named 'i'
  shell/mainwindow.cpp:379:212: error: 'class TestNamespace::QForeachContainer<const int>' has no member named 'e'
  shell/mainwindow.cpp:379:265: error: 'class TestNamespace::QForeachContainer<const int>' has no member named 'i'
  shell/mainwindow.cpp:379:277: error: reference to 'QMetaModelPlugin' is ambiguous
  shell/mainwindow.h:59:7: error: candidates are: struct QMetaModelPlugin
  /work/build/qt/qtbase/include/QtModeling/../../../qtmodeling/src/modeling/qmetamodelplugin.h:55:46: error:                 class TestNamespace::QMetaModelPlugin
  shell/mainwindow.cpp:379:295: error: 'metamodelPlugin' was not declared in this scope
  shell/mainwindow.cpp:379:326: error: 'class TestNamespace::QForeachContainer<const int>' has no member named 'i'
  shell/mainwindow.cpp:380:89: error: expected primary-expression before '>' token
  shell/mainwindow.cpp:380:91: error: expected primary-expression before ')' token
  shell/mainwindow.cpp:381:9: error: reference to 'QTreeWidgetItem' is ambiguous
  shell/mainwindow.h:48:7: error: candidates are: struct QTreeWidgetItem
  /work/build/qt/qtbase/include/QtWidgets/../../src/widgets/itemviews/qtreewidget.h:60:46: error:                 class TestNamespace::QTreeWidgetItem
  shell/mainwindow.cpp:381:26: error: 'metamodelItem' was not declared in this scope
  shell/mainwindow.cpp:381:46: error: expected type-specifier before 'QTreeWidgetItem'
  shell/mainwindow.cpp:381:46: error: expected ';' before 'QTreeWidgetItem'
  shell/mainwindow.cpp:380:21: warning: unused variable 'jsonObject' [-Wunused-variable]
  shell/mainwindow.cpp:390:9: error: reference to 'QTreeWidgetItem' is ambiguous
  shell/mainwindow.h:48:7: error: candidates are: struct QTreeWidgetItem
  /work/build/qt/qtbase/include/QtWidgets/../../src/widgets/itemviews/qtreewidget.h:60:46: error:                 class TestNamespace::QTreeWidgetItem
  shell/mainwindow.cpp:390:26: error: 'dusemtItem' was not declared in this scope
  shell/mainwindow.cpp:390:43: error: expected type-specifier before 'QTreeWidgetItem'
  shell/mainwindow.cpp:390:43: error: expected ';' before 'QTreeWidgetItem'
  shell/mainwindow.cpp:398:18: error: invalid use of incomplete type 'struct Ui::AboutPlugins'
  shell/mainwindow.h:52:11: error: forward declaration of 'struct Ui::AboutPlugins'
  In file included from /work/build/qt/qtbase/include/QtCore/qglobal.h:1:0,
                   from /work/build/qt/qtbase/include/QtGui/../../src/gui/kernel/qwindowdefs.h:45,
                   from /work/build/qt/qtbase/include/QtGui/qwindowdefs.h:1,
                   from /work/build/qt/qtbase/include/QtWidgets/../../src/widgets/kernel/qwidget.h:45,
                   from /work/build/qt/qtbase/include/QtWidgets/qwidget.h:1,
                   from /work/build/qt/qtbase/include/QtWidgets/../../src/widgets/widgets/qmainwindow.h:45,
                   from /work/build/qt/qtbase/include/QtWidgets/qmainwindow.h:1,
                   from /work/build/qt/qtbase/include/QtWidgets/QMainWindow:1,
                   from shell/mainwindow.h:44,
                   from shell/mainwindow.cpp:41:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h: In constructor 'TestNamespace::QForeachContainer<T>::QForeachContainer(const T&) [with T = const int]':
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:838:81: error: using invalid field 'TestNamespace::QForeachContainer<T>::i'
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:838:81: error: request for member 'begin' in '((TestNamespace::QForeachContainer<const int>*)this)->TestNamespace::QForeachContainer<const int>::c', which is of non-class type 'const int'
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:838:81: error: using invalid field 'TestNamespace::QForeachContainer<T>::e'
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:838:81: error: request for member 'end' in '((TestNamespace::QForeachContainer<const int>*)this)->TestNamespace::QForeachContainer<const int>::c', which is of non-class type 'const int'
  make[5]: *** [.obj/mainwindow.o] Error 1
  In file included from shell/projectcontroller.h:46:0,
                   from shell/projectcontroller.cpp:41:
  shell/mainwindow.h:99:22: error: reference to ‘QModelingElement’ is ambiguous
  shell/mainwindow.h:57:7: error: candidates are: struct QModelingElement
  ../libs/duseinterfaces/iprojectcontroller.h:52:7: error:                 struct TestNamespace::QModelingElement
  shell/mainwindow.h:99:22: error: ‘QModelingElement’ has not been declared
  shell/mainwindow.h:106:34: error: reference to ‘QModelingElement’ is ambiguous
  shell/mainwindow.h:57:7: error: candidates are: struct QModelingElement
  ../libs/duseinterfaces/iprojectcontroller.h:52:7: error:                 struct TestNamespace::QModelingElement
  shell/mainwindow.h:106:34: error: ‘QModelingElement’ has not been declared
  shell/mainwindow.h:108:29: error: template argument 1 is invalid
  shell/mainwindow.h:109:29: error: template argument 1 is invalid
  In file included from shell/projectcontroller.cpp:41:0:
  shell/projectcontroller.h:62:37: error: template argument 1 is invalid
  shell/projectcontroller.h:69:60: error: reference to ‘QMetaModelPlugin’ is ambiguous
  shell/mainwindow.h:59:7: error: candidates are: struct QMetaModelPlugin
  ../libs/duseinterfaces/iprojectcontroller.h:53:7: error:                 struct TestNamespace::QMetaModelPlugin
  shell/projectcontroller.h:69:60: error: ‘QMetaModelPlugin’ has not been declared
  shell/projectcontroller.h:73:29: error: template argument 1 is invalid
  shell/projectcontroller.h:62:39: error: conflicting return type specified for ‘virtual int DuSE::ProjectController::currentModelElements() const’
  ../libs/duseinterfaces/iprojectcontroller.h:71:39: error:   overriding ‘virtual TestNamespace::QList<TestNamespace::QModelingElement*> DuSE::IProjectController::currentModelElements() const’
  shell/projectcontroller.cpp:83:25: error: template argument 1 is invalid
  shell/projectcontroller.cpp: In member function ‘virtual bool DuSE::ProjectController::openModel(const TestNamespace::QString&)’:
  shell/projectcontroller.cpp:101:50: error: cannot convert ‘TestNamespace::QList<TestNamespace::QModelingElement*>’ to ‘int’ in assignment
  In file included from /work/build/qt/qtbase/include/QtCore/qglobal.h:1:0,
                   from /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qnamespace.h:45,
                   from /work/build/qt/qtbase/include/QtCore/qnamespace.h:1,
                   from /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:45,
                   from /work/build/qt/qtbase/include/QtCore/qobjectdefs.h:1,
                   from /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:48,
                   from /work/build/qt/qtbase/include/QtCore/qobject.h:1,
                   from /work/build/qt/qtbase/include/QtCore/QObject:1,
                   from ../libs/duseinterfaces/iprojectcontroller.h:44,
                   from shell/projectcontroller.h:44,
                   from shell/projectcontroller.cpp:41:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h: At global scope:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h: In instantiation of ‘TestNamespace::QForeachContainer<int>’:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:841:32: error: ‘int’ is not a class, struct, or union type
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:841:35: error: ‘int’ is not a class, struct, or union type
  shell/projectcontroller.cpp: In member function ‘virtual bool DuSE::ProjectController::openModel(const TestNamespace::QString&)’:
  shell/projectcontroller.cpp:104:131: error: ‘class TestNamespace::QForeachContainer<int>’ has no member named ‘i’
  shell/projectcontroller.cpp:104:148: error: ‘class TestNamespace::QForeachContainer<int>’ has no member named ‘e’
  shell/projectcontroller.cpp:104:201: error: ‘class TestNamespace::QForeachContainer<int>’ has no member named ‘i’
  shell/projectcontroller.cpp:104:213: error: reference to ‘QModelingElement’ is ambiguous
  shell/mainwindow.h:57:7: error: candidates are: struct QModelingElement
  /work/build/qt/qtbase/include/QtModeling/../../../qtmodeling/src/modeling/qmodelingelement.h:55:46: error:                 class TestNamespace::QModelingElement
  shell/projectcontroller.cpp:104:231: error: ‘element’ was not declared in this scope
  shell/projectcontroller.cpp:104:254: error: ‘class TestNamespace::QForeachContainer<int>’ has no member named ‘i’
  shell/projectcontroller.cpp: In member function ‘virtual bool DuSE::ProjectController::closeModel()’:
  shell/projectcontroller.cpp:119:27: error: request for member ‘clear’ in ‘((DuSE::ProjectController*)this)->DuSE::ProjectController::_currentModelElements’, which is of non-class type ‘int’
  shell/projectcontroller.cpp: At global scope:
  shell/projectcontroller.cpp:152:67: error: reference to ‘QMetaModelPlugin’ is ambiguous
  shell/mainwindow.h:59:7: error: candidates are: struct QMetaModelPlugin
  /work/build/qt/qtbase/include/QtModeling/../../../qtmodeling/src/modeling/qmetamodelplugin.h:55:46: error:                 class TestNamespace::QMetaModelPlugin
  shell/projectcontroller.cpp:152:67: error: ‘QMetaModelPlugin’ has not been declared
  shell/projectcontroller.cpp: In member function ‘virtual bool DuSE::ProjectController::createModel(const TestNamespace::QString&, int*, const TestNamespace::QString&)’:
  shell/projectcontroller.cpp:154:5: error: reference to ‘QModelingElement’ is ambiguous
  shell/mainwindow.h:57:7: error: candidates are: struct QModelingElement
  /work/build/qt/qtbase/include/QtModeling/../../../qtmodeling/src/modeling/qmodelingelement.h:55:46: error:                 class TestNamespace::QModelingElement
  shell/projectcontroller.cpp:154:23: error: ‘topLevelElement’ was not declared in this scope
  shell/projectcontroller.cpp:154:58: error: request for member ‘createModelingElement’ in ‘* metamodelPlugin’, which is of non-class type ‘int’
  shell/projectcontroller.cpp:158:31: error: request for member ‘clear’ in ‘((DuSE::ProjectController*)this)->DuSE::ProjectController::_currentModelElements’, which is of non-class type ‘int’
  In file included from /work/build/qt/qtbase/include/QtCore/qglobal.h:1:0,
                   from /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qnamespace.h:45,
                   from /work/build/qt/qtbase/include/QtCore/qnamespace.h:1,
                   from /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:45,
                   from /work/build/qt/qtbase/include/QtCore/qobjectdefs.h:1,
                   from /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:48,
                   from /work/build/qt/qtbase/include/QtCore/qobject.h:1,
                   from /work/build/qt/qtbase/include/QtCore/QObject:1,
                   from ../libs/duseinterfaces/iprojectcontroller.h:44,
                   from shell/projectcontroller.h:44,
                   from shell/projectcontroller.cpp:41:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h: In constructor ‘TestNamespace::QForeachContainer<T>::QForeachContainer(const T&) [with T = int]’:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:838:81: error: using invalid field ‘TestNamespace::QForeachContainer<T>::i’
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:838:81: error: request for member ‘begin’ in ‘((TestNamespace::QForeachContainer<int>*)this)->TestNamespace::QForeachContainer<int>::c’, which is of non-class type ‘const int’
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:838:81: error: using invalid field ‘TestNamespace::QForeachContainer<T>::e’
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:838:81: error: request for member ‘end’ in ‘((TestNamespace::QForeachContainer<int>*)this)->TestNamespace::QForeachContainer<int>::c’, which is of non-class type ‘const int’
  In file included from /work/build/qt/qtbase/include/QtCore/qalgorithms.h:1:0,
                   from /work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:45,
                   from /work/build/qt/qtbase/include/QtCore/qlist.h:1,
                   from /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:51,
                   from /work/build/qt/qtbase/include/QtCore/qobject.h:1,
                   from /work/build/qt/qtbase/include/QtCore/QObject:1,
                   from ../libs/duseinterfaces/iprojectcontroller.h:44,
                   from shell/projectcontroller.h:44,
                   from shell/projectcontroller.cpp:41:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qalgorithms.h: In function ‘void TestNamespace::qDeleteAll(const Container&) [with Container = int]’:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qalgorithms.h:331:5: error: request for member ‘begin’ in ‘c’, which is of non-class type ‘const int’
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qalgorithms.h:331:5: error: request for member ‘end’ in ‘c’, which is of non-class type ‘const int’
  make[5]: *** [.obj/projectcontroller.o] Error 1
  In file included from shell/core.cpp:43:0:
  shell/plugincontroller.h:66:52: error: template argument 2 is invalid
  shell/plugincontroller.h:71:38: error: template argument 2 is invalid
  shell/plugincontroller.h:66:55: error: conflicting return type specified for ‘virtual const int& DuSE::PluginController::metamodelPlugins() const’
  ../libs/duseinterfaces/iplugincontroller.h:67:55: error:   overriding ‘virtual const TestNamespace::QHash<TestNamespace::QString, TestNamespace::QMetaModelPlugin*>& DuSE::IPluginController::metamodelPlugins() const’
  In file included from shell/projectcontroller.h:44:0,
                   from shell/core.cpp:44:
  ../libs/duseinterfaces/iprojectcontroller.h:78:60: error: reference to ‘QMetaModelPlugin’ is ambiguous
  shell/plugincontroller.h:49:7: error: candidates are: struct QMetaModelPlugin
  ../libs/duseinterfaces/iplugincontroller.h:50:7: error:                 struct TestNamespace::QMetaModelPlugin
  ../libs/duseinterfaces/iprojectcontroller.h:78:60: error: ‘QMetaModelPlugin’ has not been declared
  In file included from shell/projectcontroller.h:46:0,
                   from shell/core.cpp:44:
  shell/mainwindow.h:99:22: error: reference to ‘QModelingElement’ is ambiguous
  shell/mainwindow.h:57:7: error: candidates are: struct QModelingElement
  ../libs/duseinterfaces/iprojectcontroller.h:52:7: error:                 struct TestNamespace::QModelingElement
  shell/mainwindow.h:99:22: error: ‘QModelingElement’ has not been declared
  shell/mainwindow.h:106:34: error: reference to ‘QModelingElement’ is ambiguous
  shell/mainwindow.h:57:7: error: candidates are: struct QModelingElement
  ../libs/duseinterfaces/iprojectcontroller.h:52:7: error:                 struct TestNamespace::QModelingElement
  shell/mainwindow.h:106:34: error: ‘QModelingElement’ has not been declared
  shell/mainwindow.h:108:29: error: template argument 1 is invalid
  shell/mainwindow.h:109:29: error: template argument 1 is invalid
  In file included from shell/core.cpp:44:0:
  shell/projectcontroller.h:62:37: error: template argument 1 is invalid
  shell/projectcontroller.h:69:60: error: reference to ‘QMetaModelPlugin’ is ambiguous
  shell/plugincontroller.h:49:7: error: candidates are: struct QMetaModelPlugin
  ../libs/duseinterfaces/iplugincontroller.h:50:7: error:                 struct TestNamespace::QMetaModelPlugin
  shell/projectcontroller.h:69:60: error: ‘QMetaModelPlugin’ has not been declared
  shell/projectcontroller.h:73:29: error: template argument 1 is invalid
  shell/projectcontroller.h:62:39: error: conflicting return type specified for ‘virtual int DuSE::ProjectController::currentModelElements() const’
  ../libs/duseinterfaces/iprojectcontroller.h:71:39: error:   overriding ‘virtual TestNamespace::QList<TestNamespace::QModelingElement*> DuSE::IProjectController::currentModelElements() const’
  In file included from shell/uicontroller.h:44:0,
                   from shell/core.cpp:45:
  ../libs/duseinterfaces/iuicontroller.h:82:53: error: reference to ‘QQuickItem’ is ambiguous
  shell/mainwindow.h:46:7: error: candidates are: struct QQuickItem
  ../libs/duseinterfaces/iuicontroller.h:55:7: error:                 struct TestNamespace::QQuickItem
  ../libs/duseinterfaces/iuicontroller.h:82:53: error: ‘QQuickItem’ has not been declared
  make[5]: *** [.obj/core.o] Error 1
  In file included from shell/plugincontroller.cpp:41:0:
  shell/plugincontroller.h:66:52: error: template argument 2 is invalid
  shell/plugincontroller.h:71:38: error: template argument 2 is invalid
  shell/plugincontroller.h:66:55: error: conflicting return type specified for ‘virtual const int& DuSE::PluginController::metamodelPlugins() const’
  ../libs/duseinterfaces/iplugincontroller.h:67:55: error:   overriding ‘virtual const TestNamespace::QHash<TestNamespace::QString, TestNamespace::QMetaModelPlugin*>& DuSE::IPluginController::metamodelPlugins() const’
  shell/plugincontroller.cpp: In member function ‘virtual bool DuSE::PluginController::initialize()’:
  shell/plugincontroller.cpp:80:13: error: reference to ‘QMetaModelPlugin’ is ambiguous
  shell/plugincontroller.h:49:7: error: candidates are: struct QMetaModelPlugin
  /work/build/qt/qtbase/include/QtModeling/../../../qtmodeling/src/modeling/qmetamodelplugin.h:55:46: error:                 class TestNamespace::QMetaModelPlugin
  shell/plugincontroller.cpp:80:31: error: ‘metamodelPlugin’ was not declared in this scope
  shell/plugincontroller.cpp:81:46: error: parse error in template argument list
  shell/plugincontroller.cpp:81:85: error: no matching function for call to ‘qobject_cast(TestNamespace::QObject*&)’
  shell/plugincontroller.cpp:81:85: note: candidates are:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:517:10: note: template<class T> T TestNamespace::qobject_cast(TestNamespace::QObject*)
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:526:10: note: template<class T> T TestNamespace::qobject_cast(const TestNamespace::QObject*)
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:861:1: note: template<class X, class T> TestNamespace::QSharedPointer<typename TestNamespace::QtSharedPointer::RemovePointer<X>::Type> TestNamespace::qobject_cast(const TestNamespace::QSharedPointer<T>&)
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:867:1: note: template<class X, class T> TestNamespace::QSharedPointer<typename TestNamespace::QtSharedPointer::RemovePointer<X>::Type> TestNamespace::qobject_cast(const TestNamespace::QWeakPointer<X>&)
  shell/plugincontroller.cpp:84:35: error: request for member ‘insert’ in ‘((DuSE::PluginController*)this)->DuSE::PluginController::_metamodelPlugins’, which is of non-class type ‘int’
  shell/plugincontroller.cpp: At global scope:
  shell/plugincontroller.cpp:152:40: error: template argument 2 is invalid
  make[5]: *** [.obj/plugincontroller.o] Error 1
  make[4]: *** [sub-app-make_first-ordered] Error 2
  make[3]: *** [sub-src-make_first-ordered] Error 2
  make[2]: *** [sub-duse-mt-make_first] Error 2
  make[1]: *** [sub-uml-make_first] Error 2
  make: *** [sub-examples-make_first] Error 2

  Build log: http://testresults.qt-project.org/ci/QtModeling_master_Integration/build_00045/linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64/log.txt.gz

  Tested changes (refs/builds/master_1386340077):
    http://codereview.qt-project.org/73425 [PS2] - Fix wrong use of -z parameter when linking DuSE-MT on Mac



More information about the Ci-reports mailing list