mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-07 02:51:09 -08:00
16 lines
406 B
C++
16 lines
406 B
C++
#include "qtandroidservice_ro.h"
|
|
#include "../ble/ble_meshtastic.h"
|
|
#include <QAndroidService>
|
|
|
|
int main(int argc, char* argv[]) {
|
|
QAndroidService app(argc, argv);
|
|
|
|
QRemoteObjectHost srcNode(QUrl(QStringLiteral("local:replica")));
|
|
QtAndroidService qtAndroidService;
|
|
srcNode.enableRemoting(&qtAndroidService);
|
|
|
|
BLE_ME ble(&qtAndroidService);
|
|
qtAndroidService.ble = &ble;
|
|
|
|
return app.exec();
|
|
}
|