Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make[1]: Entering directory `/home/mersdk/src/sowatch/libsowatchbt'
- g++ -c -m32 -pipe -g -Wall -W -D_REENTRANT -fPIC -DSOWATCHBT_LIBRARY -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_BLUETOOTH_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++-32 -I. -I../libsowatch -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtBluetooth -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Imoc -o obj/bluetoothwatch.o bluetoothwatch.cpp
- In file included from bluetoothwatch.cpp:1:0:
- bluetoothwatch.h:55:56: error: 'sowatch::QBluetoothLocalDevice::HostMode' has not been declared
- bluetoothwatch.h:58:43: error: 'sowatch::QBluetoothSocket::SocketError' has not been declared
- bluetoothwatch.h:59:43: error: 'sowatch::QBluetoothSocket::SocketState' has not been declared
- bluetoothwatch.h:65:20: error: field '_address' has incomplete type
- bluetoothwatch.cpp: In constructor 'sowatch::BluetoothWatch::BluetoothWatch(const sowatch::QBluetoothAddress&, QObject*)':
- bluetoothwatch.cpp:14:47: error: invalid use of incomplete type 'struct sowatch::QBluetoothLocalDevice'
- bluetoothwatch.h:23:1: error: forward declaration of 'struct sowatch::QBluetoothLocalDevice'
- bluetoothwatch.cpp:15:7: error: class 'sowatch::BluetoothWatch' does not have any field named '_address'
- bluetoothwatch.cpp:23:1: error: expected identifier before '{' token
- bluetoothwatch.cpp:25:2: error: '_connectAlignedTimer' was not declared in this scope
- bluetoothwatch.cpp:32:74: error: no matching function for call to 'sowatch::BluetoothWatch::connect(sowatch::QBluetoothLocalDevice*&, const char*, const char*)'
- bluetoothwatch.cpp:32:74: note: candidates are:
- /usr/include/qt5/QtCore/qobject.h:198:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
- /usr/include/qt5/QtCore/qobject.h:198:36: note: candidate expects 5 arguments, 3 provided
- /usr/include/qt5/QtCore/qobject.h:201:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
- /usr/include/qt5/QtCore/qobject.h:201:36: note: candidate expects 5 arguments, 3 provided
- /usr/include/qt5/QtCore/qobject.h:440:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
- /usr/include/qt5/QtCore/qobject.h:440:32: note: no known conversion for argument 1 from 'sowatch::QBluetoothLocalDevice*' to 'const QObject*'
- /usr/include/qt5/QtCore/qobject.h:214:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func1>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
- /usr/include/qt5/QtCore/qobject.h:244:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func1>::Object*, Func1, Func2)
- /usr/include/qt5/QtCore/qobject.h:267:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func1>::Object*, Func1, Func2)
- bluetoothwatch.cpp:35:15: error: invalid use of incomplete type 'struct sowatch::QBluetoothLocalDevice'
- bluetoothwatch.h:23:1: error: forward declaration of 'struct sowatch::QBluetoothLocalDevice'
- bluetoothwatch.cpp:36:19: error: invalid use of incomplete type 'struct sowatch::QBluetoothLocalDevice'
- bluetoothwatch.h:23:1: error: forward declaration of 'struct sowatch::QBluetoothLocalDevice'
- bluetoothwatch.cpp:36:35: error: incomplete type 'sowatch::QBluetoothLocalDevice' used in nested name specifier
- bluetoothwatch.cpp: In destructor 'virtual sowatch::BluetoothWatch::~BluetoothWatch()':
- bluetoothwatch.cpp:48:10: error: invalid use of incomplete type 'struct sowatch::QBluetoothSocket'
- bluetoothwatch.h:21:1: error: forward declaration of 'struct sowatch::QBluetoothSocket'
- bluetoothwatch.cpp:49:10: warning: possible problem detected in invocation of delete operator: [enabled by default]
- bluetoothwatch.cpp:49:10: warning: invalid use of incomplete type 'struct sowatch::QBluetoothSocket' [enabled by default]
- bluetoothwatch.h:21:1: warning: forward declaration of 'struct sowatch::QBluetoothSocket' [enabled by default]
- bluetoothwatch.cpp:49:10: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined
- bluetoothwatch.cpp: In member function 'void sowatch::BluetoothWatch::scheduleRetryConnect()':
- bluetoothwatch.cpp:99:66: error: no matching function for call to 'QTimer::start(int, int)'
- bluetoothwatch.cpp:99:66: note: candidates are:
- /usr/include/qt5/QtCore/qtimer.h:85:10: note: void QTimer::start(int)
- /usr/include/qt5/QtCore/qtimer.h:85:10: note: candidate expects 1 argument, 2 provided
- /usr/include/qt5/QtCore/qtimer.h:87:10: note: void QTimer::start()
- /usr/include/qt5/QtCore/qtimer.h:87:10: note: candidate expects 0 arguments, 2 provided
- bluetoothwatch.cpp:100:24: error: 'class QTimer' has no member named 'lastError'
- bluetoothwatch.cpp:100:39: error: 'QSystemTimer' has not been declared
- bluetoothwatch.cpp: In member function 'virtual void sowatch::BluetoothWatch::connectToWatch()':
- bluetoothwatch.cpp:119:9: warning: possible problem detected in invocation of delete operator: [enabled by default]
- bluetoothwatch.cpp:119:9: warning: invalid use of incomplete type 'struct sowatch::QBluetoothSocket' [enabled by default]
- bluetoothwatch.h:21:1: warning: forward declaration of 'struct sowatch::QBluetoothSocket' [enabled by default]
- bluetoothwatch.cpp:119:9: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined
- bluetoothwatch.cpp:120:33: error: incomplete type 'sowatch::QBluetoothSocket' used in nested name specifier
- bluetoothwatch.cpp:120:63: error: invalid use of incomplete type 'struct sowatch::QBluetoothSocket'
- bluetoothwatch.h:21:1: error: forward declaration of 'struct sowatch::QBluetoothSocket'
- bluetoothwatch.cpp:122:69: error: no matching function for call to 'sowatch::BluetoothWatch::connect(sowatch::QBluetoothSocket*&, const char*, const char*)'
- bluetoothwatch.cpp:122:69: note: candidates are:
- /usr/include/qt5/QtCore/qobject.h:198:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
- /usr/include/qt5/QtCore/qobject.h:198:36: note: candidate expects 5 arguments, 3 provided
- /usr/include/qt5/QtCore/qobject.h:201:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
- /usr/include/qt5/QtCore/qobject.h:201:36: note: candidate expects 5 arguments, 3 provided
- /usr/include/qt5/QtCore/qobject.h:440:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
- /usr/include/qt5/QtCore/qobject.h:440:32: note: no known conversion for argument 1 from 'sowatch::QBluetoothSocket*' to 'const QObject*'
- /usr/include/qt5/QtCore/qobject.h:214:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func1>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
- /usr/include/qt5/QtCore/qobject.h:244:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func1>::Object*, Func1, Func2)
- /usr/include/qt5/QtCore/qobject.h:267:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func1>::Object*, Func1, Func2)
- bluetoothwatch.cpp:123:75: error: no matching function for call to 'sowatch::BluetoothWatch::connect(sowatch::QBluetoothSocket*&, const char*, const char*)'
- bluetoothwatch.cpp:123:75: note: candidates are:
- /usr/include/qt5/QtCore/qobject.h:198:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
- /usr/include/qt5/QtCore/qobject.h:198:36: note: candidate expects 5 arguments, 3 provided
- /usr/include/qt5/QtCore/qobject.h:201:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
- /usr/include/qt5/QtCore/qobject.h:201:36: note: candidate expects 5 arguments, 3 provided
- /usr/include/qt5/QtCore/qobject.h:440:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
- /usr/include/qt5/QtCore/qobject.h:440:32: note: no known conversion for argument 1 from 'sowatch::QBluetoothSocket*' to 'const QObject*'
- /usr/include/qt5/QtCore/qobject.h:214:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func1>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
- /usr/include/qt5/QtCore/qobject.h:244:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func1>::Object*, Func1, Func2)
- /usr/include/qt5/QtCore/qobject.h:267:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func1>::Object*, Func1, Func2)
- bluetoothwatch.cpp:125:58: error: no matching function for call to 'sowatch::BluetoothWatch::connect(sowatch::QBluetoothSocket*&, const char*, const char*)'
- bluetoothwatch.cpp:125:58: note: candidates are:
- /usr/include/qt5/QtCore/qobject.h:198:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
- /usr/include/qt5/QtCore/qobject.h:198:36: note: candidate expects 5 arguments, 3 provided
- /usr/include/qt5/QtCore/qobject.h:201:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
- /usr/include/qt5/QtCore/qobject.h:201:36: note: candidate expects 5 arguments, 3 provided
- /usr/include/qt5/QtCore/qobject.h:440:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
- /usr/include/qt5/QtCore/qobject.h:440:32: note: no known conversion for argument 1 from 'sowatch::QBluetoothSocket*' to 'const QObject*'
- /usr/include/qt5/QtCore/qobject.h:214:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func1>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
- /usr/include/qt5/QtCore/qobject.h:244:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func1>::Object*, Func1, Func2)
- /usr/include/qt5/QtCore/qobject.h:267:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func1>::Object*, Func1, Func2)
- bluetoothwatch.cpp:127:58: error: no matching function for call to 'sowatch::BluetoothWatch::connect(sowatch::QBluetoothSocket*&, const char*, const char*)'
- bluetoothwatch.cpp:127:58: note: candidates are:
- /usr/include/qt5/QtCore/qobject.h:198:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
- /usr/include/qt5/QtCore/qobject.h:198:36: note: candidate expects 5 arguments, 3 provided
- /usr/include/qt5/QtCore/qobject.h:201:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
- /usr/include/qt5/QtCore/qobject.h:201:36: note: candidate expects 5 arguments, 3 provided
- /usr/include/qt5/QtCore/qobject.h:440:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
- /usr/include/qt5/QtCore/qobject.h:440:32: note: no known conversion for argument 1 from 'sowatch::QBluetoothSocket*' to 'const QObject*'
- /usr/include/qt5/QtCore/qobject.h:214:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func1>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
- /usr/include/qt5/QtCore/qobject.h:244:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func1>::Object*, Func1, Func2)
- /usr/include/qt5/QtCore/qobject.h:267:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func1>::Object*, Func1, Func2)
- bluetoothwatch.cpp:129:9: error: invalid use of incomplete type 'struct sowatch::QBluetoothSocket'
- bluetoothwatch.h:21:1: error: forward declaration of 'struct sowatch::QBluetoothSocket'
- bluetoothwatch.cpp:129:28: error: '_address' was not declared in this scope
- bluetoothwatch.cpp: At global scope:
- bluetoothwatch.cpp:137:71: error: variable or field 'handleLocalDevModeChanged' declared void
- bluetoothwatch.cpp:137:48: error: incomplete type 'sowatch::QBluetoothLocalDevice' used in nested name specifier
- make[1]: Leaving directory `/home/mersdk/src/sowatch/libsowatchbt'
- make[1]: *** [obj/bluetoothwatch.o] Error 1
- make: *** [sub-libsowatchbt-make_first] Error 2
- 09:04:38: The process "/home/dm8tbr/.config/SailfishAlpha2/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/make" exited with code 2.
- Error while building/deploying project sowatch (kit: MerSDK-SailfishOS-i486-x86)
- When executing step 'Make'
- 09:04:38: Elapsed time: 01:33.
Add Comment
Please, Sign In to add comment