[Ci-reports] fail on QtConnectivity_btle_Integration #79
Qt Continuous Integration System
ci-noreply at qt-project.org
Wed Jun 18 17:26:21 CEST 2014
qtconnectivity failed to compile :(
compiling qlowenergyserviceprivate.cpp
qlowenergyserviceprivate.cpp:44:1: error: reference to 'QLowEnergyServicePrivate' is ambiguous
qlowenergyserviceprivate_p.h:52:7: error: candidates are: class QLowEnergyServicePrivate
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: struct TestNamespace::QLowEnergyServicePrivate
qlowenergyserviceprivate.cpp:44:1: error: 'QLowEnergyServicePrivate' does not name a type
qlowenergyserviceprivate.cpp:52:1: error: reference to 'QLowEnergyServicePrivate' is ambiguous
qlowenergyserviceprivate_p.h:52:7: error: candidates are: class QLowEnergyServicePrivate
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: struct TestNamespace::QLowEnergyServicePrivate
qlowenergyserviceprivate.cpp:52:1: error: 'QLowEnergyServicePrivate' does not name a type
qlowenergyserviceprivate.cpp:56:6: error: reference to 'QLowEnergyServicePrivate' is ambiguous
qlowenergyserviceprivate_p.h:52:7: error: candidates are: class QLowEnergyServicePrivate
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: struct TestNamespace::QLowEnergyServicePrivate
qlowenergyserviceprivate.cpp:56:6: error: reference to 'QLowEnergyServicePrivate' is ambiguous
qlowenergyserviceprivate_p.h:52:7: error: candidates are: class QLowEnergyServicePrivate
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: struct TestNamespace::QLowEnergyServicePrivate
qlowenergyserviceprivate.cpp: In function 'void setController(TestNamespace::QLowEnergyControllerNewPrivate*)':
qlowenergyserviceprivate.cpp:61:5: error: 'state' was not declared in this scope
qlowenergyserviceprivate.cpp:62:5: error: 'controller' was not declared in this scope
qlowenergyserviceprivate.cpp: At global scope:
qlowenergyserviceprivate.cpp:65:6: error: reference to 'QLowEnergyServicePrivate' is ambiguous
qlowenergyserviceprivate_p.h:52:7: error: candidates are: class QLowEnergyServicePrivate
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: struct TestNamespace::QLowEnergyServicePrivate
qlowenergyserviceprivate.cpp:65:6: error: reference to 'QLowEnergyServicePrivate' is ambiguous
qlowenergyserviceprivate_p.h:52:7: error: candidates are: class QLowEnergyServicePrivate
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: struct TestNamespace::QLowEnergyServicePrivate
qlowenergyserviceprivate.cpp: In function 'void setError(TestNamespace::QLowEnergyService::ServiceError)':
qlowenergyserviceprivate.cpp:67:5: error: 'lastError' was not declared in this scope
qlowenergyserviceprivate.cpp:68:19: error: 'error' was not declared in this scope
qlowenergyserviceprivate.cpp: At global scope:
qlowenergyserviceprivate.cpp:71:6: error: reference to 'QLowEnergyServicePrivate' is ambiguous
qlowenergyserviceprivate_p.h:52:7: error: candidates are: class QLowEnergyServicePrivate
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: struct TestNamespace::QLowEnergyServicePrivate
qlowenergyserviceprivate.cpp:71:6: error: reference to 'QLowEnergyServicePrivate' is ambiguous
qlowenergyserviceprivate_p.h:52:7: error: candidates are: class QLowEnergyServicePrivate
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: struct TestNamespace::QLowEnergyServicePrivate
qlowenergyserviceprivate.cpp: In function 'void setState(TestNamespace::QLowEnergyService::ServiceState)':
qlowenergyserviceprivate.cpp:73:5: error: 'state' was not declared in this scope
qlowenergyserviceprivate.cpp:74:26: error: 'stateChanged' was not declared in this scope
make[3]: *** [.obj/qlowenergyserviceprivate.o] Error 1
qlowenergycontrollernew.cpp: In member function ‘void TestNamespace::QLowEnergyControllerNewPrivate::invalidateServices()’:
qlowenergycontrollernew.cpp:106:16: error: invalid use of incomplete type ‘struct TestNamespace::QLowEnergyServicePrivate’
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: forward declaration of ‘struct TestNamespace::QLowEnergyServicePrivate’
make[3]: *** [.obj/qlowenergycontrollernew.o] Error 1
qlowenergyservice.cpp: In constructor ‘TestNamespace::QLowEnergyService::QLowEnergyService(TestNamespace::QSharedPointer<TestNamespace::QLowEnergyServicePrivate>, TestNamespace::QObject*)’:
qlowenergyservice.cpp:65:115: error: no matching function for call to ‘TestNamespace::QLowEnergyService::connect(TestNamespace::QLowEnergyServicePrivate*, const char*, TestNamespace::QLowEnergyService* const, const char*)’
qlowenergyservice.cpp:65:115: note: candidates are:
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:198:36: note: static TestNamespace::QMetaObject::Connection TestNamespace::QObject::connect(const TestNamespace::QObject*, const char*, const TestNamespace::QObject*, const char*, TestNamespace::Qt::ConnectionType)
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:198:36: note: no known conversion for argument 1 from ‘TestNamespace::QLowEnergyServicePrivate*’ to ‘const TestNamespace::QObject*’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:201:36: note: static TestNamespace::QMetaObject::Connection TestNamespace::QObject::connect(const TestNamespace::QObject*, const TestNamespace::QMetaMethod&, const TestNamespace::QObject*, const TestNamespace::QMetaMethod&, TestNamespace::Qt::ConnectionType)
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:201:36: note: no known conversion for argument 1 from ‘TestNamespace::QLowEnergyServicePrivate*’ to ‘const TestNamespace::QObject*’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:479:32: note: TestNamespace::QMetaObject::Connection TestNamespace::QObject::connect(const TestNamespace::QObject*, const char*, const char*, TestNamespace::Qt::ConnectionType) const
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:479:32: note: no known conversion for argument 1 from ‘TestNamespace::QLowEnergyServicePrivate*’ to ‘const TestNamespace::QObject*’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:215:43: note: template<class Func1, class Func2> static TestNamespace::QMetaObject::Connection TestNamespace::QObject::connect(const typename TestNamespace::QtPrivate::FunctionPointer<Func1>::Object*, Func1, const typename TestNamespace::QtPrivate::FunctionPointer<Func2>::Object*, Func2, TestNamespace::Qt::ConnectionType)
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:247:13: note: template<class Func1, class Func2> static typename TestNamespace::QtPrivate::QEnableIf<((int)(TestNamespace::QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), TestNamespace::QMetaObject::Connection>::Type TestNamespace::QObject::connect(const typename TestNamespace::QtPrivate::FunctionPointer<Func1>::Object*, Func1, Func2)
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:256:13: note: template<class Func1, class Func2> static typename TestNamespace::QtPrivate::QEnableIf<(((int)(TestNamespace::QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! TestNamespace::QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), TestNamespace::QMetaObject::Connection>::Type TestNamespace::QObject::connect(const typename TestNamespace::QtPrivate::FunctionPointer<Func1>::Object*, Func1, const TestNamespace::QObject*, Func2, TestNamespace::Qt::ConnectionType)
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:287:13: note: template<class Func1, class Func2> static typename TestNamespace::QtPrivate::QEnableIf<(TestNamespace::QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), TestNamespace::QMetaObject::Connection>::Type TestNamespace::QObject::connect(const typename TestNamespace::QtPrivate::FunctionPointer<Func1>::Object*, Func1, Func2)
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:295:13: note: template<class Func1, class Func2> static typename TestNamespace::QtPrivate::QEnableIf<(TestNamespace::QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), TestNamespace::QMetaObject::Connection>::Type TestNamespace::QObject::connect(const typename TestNamespace::QtPrivate::FunctionPointer<Func1>::Object*, Func1, const TestNamespace::QObject*, Func2, TestNamespace::Qt::ConnectionType)
qlowenergyservice.cpp:67:122: error: no matching function for call to ‘TestNamespace::QLowEnergyService::connect(TestNamespace::QLowEnergyServicePrivate*, const char*, TestNamespace::QLowEnergyService* const, const char*)’
qlowenergyservice.cpp:67:122: note: candidates are:
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:198:36: note: static TestNamespace::QMetaObject::Connection TestNamespace::QObject::connect(const TestNamespace::QObject*, const char*, const TestNamespace::QObject*, const char*, TestNamespace::Qt::ConnectionType)
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:198:36: note: no known conversion for argument 1 from ‘TestNamespace::QLowEnergyServicePrivate*’ to ‘const TestNamespace::QObject*’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:201:36: note: static TestNamespace::QMetaObject::Connection TestNamespace::QObject::connect(const TestNamespace::QObject*, const TestNamespace::QMetaMethod&, const TestNamespace::QObject*, const TestNamespace::QMetaMethod&, TestNamespace::Qt::ConnectionType)
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:201:36: note: no known conversion for argument 1 from ‘TestNamespace::QLowEnergyServicePrivate*’ to ‘const TestNamespace::QObject*’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:479:32: note: TestNamespace::QMetaObject::Connection TestNamespace::QObject::connect(const TestNamespace::QObject*, const char*, const char*, TestNamespace::Qt::ConnectionType) const
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:479:32: note: no known conversion for argument 1 from ‘TestNamespace::QLowEnergyServicePrivate*’ to ‘const TestNamespace::QObject*’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:215:43: note: template<class Func1, class Func2> static TestNamespace::QMetaObject::Connection TestNamespace::QObject::connect(const typename TestNamespace::QtPrivate::FunctionPointer<Func1>::Object*, Func1, const typename TestNamespace::QtPrivate::FunctionPointer<Func2>::Object*, Func2, TestNamespace::Qt::ConnectionType)
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:247:13: note: template<class Func1, class Func2> static typename TestNamespace::QtPrivate::QEnableIf<((int)(TestNamespace::QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), TestNamespace::QMetaObject::Connection>::Type TestNamespace::QObject::connect(const typename TestNamespace::QtPrivate::FunctionPointer<Func1>::Object*, Func1, Func2)
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:256:13: note: template<class Func1, class Func2> static typename TestNamespace::QtPrivate::QEnableIf<(((int)(TestNamespace::QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! TestNamespace::QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), TestNamespace::QMetaObject::Connection>::Type TestNamespace::QObject::connect(const typename TestNamespace::QtPrivate::FunctionPointer<Func1>::Object*, Func1, const TestNamespace::QObject*, Func2, TestNamespace::Qt::ConnectionType)
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:287:13: note: template<class Func1, class Func2> static typename TestNamespace::QtPrivate::QEnableIf<(TestNamespace::QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), TestNamespace::QMetaObject::Connection>::Type TestNamespace::QObject::connect(const typename TestNamespace::QtPrivate::FunctionPointer<Func1>::Object*, Func1, Func2)
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:295:13: note: template<class Func1, class Func2> static typename TestNamespace::QtPrivate::QEnableIf<(TestNamespace::QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), TestNamespace::QMetaObject::Connection>::Type TestNamespace::QObject::connect(const typename TestNamespace::QtPrivate::FunctionPointer<Func1>::Object*, Func1, const TestNamespace::QObject*, Func2, TestNamespace::Qt::ConnectionType)
qlowenergyservice.cpp: In member function ‘TestNamespace::QLowEnergyService::ServiceState TestNamespace::QLowEnergyService::state() const’:
qlowenergyservice.cpp:84:17: error: invalid use of incomplete type ‘struct TestNamespace::QLowEnergyServicePrivate’
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: forward declaration of ‘struct TestNamespace::QLowEnergyServicePrivate’
qlowenergyservice.cpp: In member function ‘TestNamespace::QLowEnergyService::ServiceType TestNamespace::QLowEnergyService::type() const’:
qlowenergyservice.cpp:90:17: error: invalid use of incomplete type ‘struct TestNamespace::QLowEnergyServicePrivate’
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: forward declaration of ‘struct TestNamespace::QLowEnergyServicePrivate’
qlowenergyservice.cpp: In member function ‘TestNamespace::QBluetoothUuid TestNamespace::QLowEnergyService::serviceUuid() const’:
qlowenergyservice.cpp:104:17: error: invalid use of incomplete type ‘struct TestNamespace::QLowEnergyServicePrivate’
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: forward declaration of ‘struct TestNamespace::QLowEnergyServicePrivate’
qlowenergyservice.cpp: In member function ‘TestNamespace::QString TestNamespace::QLowEnergyService::serviceName() const’:
qlowenergyservice.cpp:111:26: error: invalid use of incomplete type ‘struct TestNamespace::QLowEnergyServicePrivate’
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: forward declaration of ‘struct TestNamespace::QLowEnergyServicePrivate’
qlowenergyservice.cpp: In member function ‘void TestNamespace::QLowEnergyService::discoverDetails()’:
qlowenergyservice.cpp:126:10: error: invalid use of incomplete type ‘struct TestNamespace::QLowEnergyServicePrivate’
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: forward declaration of ‘struct TestNamespace::QLowEnergyServicePrivate’
qlowenergyservice.cpp:129:11: error: invalid use of incomplete type ‘struct TestNamespace::QLowEnergyServicePrivate’
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: forward declaration of ‘struct TestNamespace::QLowEnergyServicePrivate’
qlowenergyservice.cpp:130:10: error: invalid use of incomplete type ‘struct TestNamespace::QLowEnergyServicePrivate’
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: forward declaration of ‘struct TestNamespace::QLowEnergyServicePrivate’
qlowenergyservice.cpp:134:6: error: invalid use of incomplete type ‘struct TestNamespace::QLowEnergyServicePrivate’
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: forward declaration of ‘struct TestNamespace::QLowEnergyServicePrivate’
qlowenergyservice.cpp:134:44: error: invalid use of incomplete type ‘struct TestNamespace::QLowEnergyServicePrivate’
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: forward declaration of ‘struct TestNamespace::QLowEnergyServicePrivate’
qlowenergyservice.cpp: In member function ‘TestNamespace::QLowEnergyService::ServiceError TestNamespace::QLowEnergyService::error() const’:
qlowenergyservice.cpp:139:17: error: invalid use of incomplete type ‘struct TestNamespace::QLowEnergyServicePrivate’
/work/build/qt/qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:49:7: error: forward declaration of ‘struct TestNamespace::QLowEnergyServicePrivate’
qlowenergyservice.cpp:140:1: warning: control reaches end of non-void function [-Wreturn-type]
qlowenergyservice.cpp: In member function ‘TestNamespace::QBluetoothUuid TestNamespace::QLowEnergyService::serviceUuid() const’:
qlowenergyservice.cpp:105:1: warning: control reaches end of non-void function [-Wreturn-type]
qlowenergyservice.cpp: In member function ‘TestNamespace::QLowEnergyService::ServiceType TestNamespace::QLowEnergyService::type() const’:
qlowenergyservice.cpp:91:1: warning: control reaches end of non-void function [-Wreturn-type]
qlowenergyservice.cpp: In member function ‘TestNamespace::QLowEnergyService::ServiceState TestNamespace::QLowEnergyService::state() const’:
qlowenergyservice.cpp:85:1: warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [.obj/qlowenergyservice.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_btle_Integration/build_00079/linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64/log.txt.gz
Tested changes (refs/builds/btle_1403104771):
http://codereview.qt-project.org/87751 [PS2] - Unify the shared data types between controller and service class
http://codereview.qt-project.org/87732 [PS3] - Connect QLowEnergyService and QLowEnergyControllerNew classes
More information about the Ci-reports
mailing list