diff --git a/src/main.cpp b/src/main.cpp index 9d32b8dd9e2c9ebfc9b75b136877754c2d6d2c7b..473dbb94b517cf0292cba4649b2ff1ee8b803ab8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -151,8 +151,12 @@ int main(int argc, char *argv[]) nooObj->setQmlEngine(e); e->load(QUrl(QStringLiteral("qrc:/wizard/Wizard.qml"))); if (firstLoop) { +#if defined (Q_OS_ANDROID) + qDebug() << "Nootka wizard launch time" << startElapsed.nsecsElapsed() / 1000000.0 << " [ms]"; +#else QTextStream o(stdout); o << "\033[01;35m Nootka wizard launch time: " << startElapsed.nsecsElapsed() / 1000000.0 << " [ms]\033[01;00m\n"; +#endif } exitCode = a->exec(); e->deleteLater(); // Android crashes without a delayed destroy