Как запустить рекламу qt bluetooth на андроидеAndroid

Форум для тех, кто программирует под Android
Anonymous
Как запустить рекламу qt bluetooth на андроиде

Сообщение Anonymous »

Я разрабатываю рекламу qt bluetooth для android. У меня проблема с запуском рекламы
F libc: Фатальный сигнал 11 (SIGSEGV), код 1 (SEGV_MAPERR), адрес ошибки 0x8 в tid 3099 (qtMainLoopThrea), pid 3072 ( e.appAndroidBLE)
Вот мой код

Код: Выделить всё

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 

int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);

QBluetoothLocalDevice localDevice;
if (localDevice.hostMode() == QBluetoothLocalDevice::HostPoweredOff) {
qDebug() startAdvertising(advertisingParameters, advertisingData, advertisingData);

qDebug() 

Подробнее здесь: [url]https://stackoverflow.com/questions/79104015/how-to-start-qt-bluetooth-advertising-on-android[/url]

Вернуться в «Android»