add example 'wear-os' (android WearOS 2+ watches only)

This commit is contained in:
pls.153 2022-05-10 11:02:23 +02:00
parent df358fa5ae
commit 9e30041dba
20 changed files with 1598 additions and 6 deletions

View file

@ -8,8 +8,8 @@ QT_BEGIN_NAMESPACE
QObject* ini() {
// any QObject inherited class will do
static QObject* cpp = 0;
if(!cpp) {
static QObject* cpp = nullptr;
if (!cpp) {
cpp = new CPP;
// needed for QMessageBox