[Ci-reports] fail on QtConnectivity_dev_Integration #341

Qt Continuous Integration System ci-noreply at qt-project.org
Wed Jan 21 09:53:27 CET 2015


qtconnectivity failed to compile :(

  In file included from /work/build/qt/qtbase/include/QtCore/qglobal.h:1:0,
                   from /work/build/qt/qtbase/include/QtCore/../../src/corelib/io/qloggingcategory.h:37,
                   from /work/build/qt/qtbase/include/QtCore/qloggingcategory.h:1,
                   from /work/build/qt/qtbase/include/QtCore/QLoggingCategory:1,
                   from android/serveracceptancethread.cpp:34:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:681:47: 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
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1688:5: note: in expansion of macro 'Q_STATIC_ASSERT_X'
  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:48,
                   from /work/build/qt/qtbase/include/QtCore/qobject.h:1,
                   from /work/build/qt/qtbase/include/QtCore/../../src/corelib/io/qiodevice.h:39,
                   from /work/build/qt/qtbase/include/QtCore/qiodevice.h:1,
                   from /work/build/qt/qtbase/include/QtCore/../../src/corelib/io/qtextstream.h:37,
                   from /work/build/qt/qtbase/include/QtCore/qtextstream.h:1,
                   from /work/build/qt/qtbase/include/QtCore/../../src/corelib/io/qdebug.h:42,
                   from /work/build/qt/qtbase/include/QtCore/qdebug.h:1,
                   from /work/build/qt/qtbase/include/QtCore/../../src/corelib/io/qloggingcategory.h:38,
                   from /work/build/qt/qtbase/include/QtCore/qloggingcategory.h:1,
                   from /work/build/qt/qtbase/include/QtCore/QLoggingCategory:1,
                   from android/serveracceptancethread.cpp:34:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h: In instantiation of 'static constexpr int QMetaTypeId2<T>::qt_metatype_id() [with T = QBluetoothServer::Error]':
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1689:44:   required from 'constexpr int qMetaTypeId() [with T = QBluetoothServer::Error]'
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1695:27:   required from 'constexpr int qRegisterMetaType() [with T = QBluetoothServer::Error]'
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1547:97: error: 'qt_metatype_id' is not a member of 'QMetaTypeId<QBluetoothServer::Error>'
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1547:100: error: body of constexpr function 'static constexpr int QMetaTypeId2<T>::qt_metatype_id() [with T = QBluetoothServer::Error]' not a return-statement
  make[3]: *** [.obj/serveracceptancethread.o] Error 1
  In file included from /work/build/qt/qtbase/include/QtCore/qglobal.h:1:0,
                   from ../../include/QtBluetooth/../../src/bluetooth/qbluetoothglobal.h:36,
                   from ../../include/QtBluetooth/qbluetoothglobal.h:1,
                   from qbluetoothdevicediscoveryagent.h:37,
                   from qbluetoothdevicediscoveryagent_p.h:48,
                   from qbluetoothdevicediscoveryagent_android.cpp:35:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:681:47: 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
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1688:5: note: in expansion of macro 'Q_STATIC_ASSERT_X'
  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:48,
                   from /work/build/qt/qtbase/include/QtCore/qobject.h:1,
                   from /work/build/qt/qtbase/include/QtCore/QObject:1,
                   from qbluetoothdevicediscoveryagent.h:39,
                   from qbluetoothdevicediscoveryagent_p.h:48,
                   from qbluetoothdevicediscoveryagent_android.cpp:35:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h: In instantiation of 'static constexpr int QMetaTypeId2<T>::qt_metatype_id() [with T = QBluetoothDeviceInfo]':
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1689:44:   required from 'constexpr int qMetaTypeId() [with T = QBluetoothDeviceInfo]'
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1695:27:   required from 'constexpr int qRegisterMetaType() [with T = QBluetoothDeviceInfo]'
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1547:97: error: 'qt_metatype_id' is not a member of 'QMetaTypeId<QBluetoothDeviceInfo>'
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1547:100: error: body of constexpr function 'static constexpr int QMetaTypeId2<T>::qt_metatype_id() [with T = QBluetoothDeviceInfo]' not a return-statement
  make[3]: *** [.obj/qbluetoothdevicediscoveryagent_android.o] Error 1
  make[2]: *** [sub-bluetooth-make_first] Error 2
  make[1]: *** [sub-src-make_first] Error 2
  make: *** [module-qtconnectivity] Error 2

  Build log: http://testresults.qt-project.org/ci/QtConnectivity_dev_Integration/build_00341/linux-android-g++_Ubuntu_12.04_x64/log.txt.gz

  Tested changes (refs/builds/dev_1421826762):
    http://codereview.qt-project.org/103830 [PS1] - qRegisterMetaType cleanup
    http://codereview.qt-project.org/103829 [PS2] - Convert qRegisterMetaType<T>(const char*) to qRegisterMetaType<T>()



More information about the Ci-reports mailing list