qtdeclarative failed to compile :(

  In file included from /work/build/qt/qtbase/include/QtCore/qmetatype.h:1:0,
                   from 
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:56,
                   from /work/build/qt/qtbase/include/QtCore/qobject.h:1,
                   from 
/work/build/qt/qtbase/include/QtCore/../../src/corelib/animation/qabstractanimation.h:45,
                   from 
/work/build/qt/qtbase/include/QtCore/qabstractanimation.h:1,
                   from /work/build/qt/qtbase/include/QtCore/QtCore:4,
                   from /work/build/qt/qtbase/include/QtTest/QtTestDepends:2,
                   from /work/build/qt/qtbase/include/QtTest/QtTest:3,
                   from tst_qv4debugger.cpp:41:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h: In 
function 'constexpr int TestNamespace::qMetaTypeId() [with T = long long 
unsigned int (*)(TestNamespace::QV4::CallContext*)]':
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1620:5:
 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"
  In file included from /work/build/qt/qtbase/include/QtCore/qmetatype.h:1:0,
                   from 
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:56,
                   from /work/build/qt/qtbase/include/QtCore/qobject.h:1,
                   from 
/work/build/qt/qtbase/include/QtCore/../../src/corelib/animation/qabstractanimation.h:45,
                   from 
/work/build/qt/qtbase/include/QtCore/qabstractanimation.h:1,
                   from /work/build/qt/qtbase/include/QtCore/QtCore:4,
                   from /work/build/qt/qtbase/include/QtTest/QtTestDepends:2,
                   from /work/build/qt/qtbase/include/QtTest/QtTest:3,
                   from tst_qv4debugger.cpp:41:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h: In 
static member function 'static constexpr int 
TestNamespace::QMetaTypeId2<T>::qt_metatype_id() [with T = long long unsigned 
int (*)(TestNamespace::QV4::CallContext*)]':
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1621:44:
   instantiated from 'constexpr int TestNamespace::qMetaTypeId() [with T = long 
long unsigned int (*)(TestNamespace::QV4::CallContext*)]'
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1481:90:
 error: 'qt_metatype_id' is not a member of 'TestNamespace::QMetaTypeId<long 
long unsigned int (*)(TestNamespace::QV4::CallContext*)>'
  tst_qv4debugger.cpp: At global scope:
  tst_qv4debugger.cpp:99:46: error: specialization of 
'TestNamespace::QMetaTypeId<long long unsigned int 
(*)(TestNamespace::QV4::CallContext*)>' after instantiation
  tst_qv4debugger.cpp:99:46: error: redefinition of 'struct 
TestNamespace::QMetaTypeId<long long unsigned int 
(*)(TestNamespace::QV4::CallContext*)>'
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1473:8:
 error: previous definition of 'struct TestNamespace::QMetaTypeId<long long 
unsigned int (*)(TestNamespace::QV4::CallContext*)>'
  In file included from tst_qv4debugger.cpp:545:0:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h: In 
static member function 'static constexpr int 
TestNamespace::QMetaTypeId2<T>::qt_metatype_id() [with T = long long unsigned 
int (*)(TestNamespace::QV4::CallContext*)]':
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1481:93:
 warning: control reaches end of non-void function [-Wreturn-type]
  make[5]: *** [.obj/tst_qv4debugger.o] Error 1
  make[4]: *** [sub-qv4debugger-make_first] Error 2
  make[3]: *** [sub-qml-make_first] Error 2
  make[2]: *** [sub-auto-make_first] Error 2
  make[1]: *** [sub-tests-make_first] Error 2
  make: *** [module-qtdeclarative] Error 2

  Build log: 
http://testresults.qt-project.org/ci/QtBase_dev_Integration/build_02294/revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64/log.txt.gz

  Tested changes (refs/builds/dev_1386892270):
    http://codereview.qt-project.org/51302 [PS4] - Move the C++11 enable into 
the build config mkspecs
_______________________________________________
Ci-reports mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/ci-reports

Reply via email to