Skip to content
Snippets Groups Projects
Commit bb4d281b authored by SeeLook's avatar SeeLook :musical_note:
Browse files

[Android] Mute clang warning, log wizard launch time

parent 3eb93dac
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment