[Linux] Add Qr-Code to sync irk and enc key (#142)

This commit is contained in:
Tim Gromeyer
2025-06-05 09:03:29 +02:00
committed by GitHub
parent dcb25e2e52
commit 43d703423a
8 changed files with 1514 additions and 0 deletions

View File

@@ -23,6 +23,7 @@
#include "deviceinfo.hpp"
#include "ble/blemanager.h"
#include "ble/bleutils.h"
#include "QRCodeImageProvider.hpp"
using namespace AirpodsTrayApp::Enums;
@@ -940,6 +941,7 @@ int main(int argc, char *argv[]) {
qmlRegisterType<DeviceInfo>("me.kavishdevar.DeviceInfo", 1, 0, "DeviceInfo");
AirPodsTrayApp *trayApp = new AirPodsTrayApp(debugMode, hideOnStart, &engine);
engine.rootContext()->setContextProperty("airPodsTrayApp", trayApp);
engine.addImageProvider("qrcode", new QRCodeImageProvider());
trayApp->loadMainModule();
QLocalServer server;