Hello list folk:

Under OSX/IOS, no problem.

Under Android, nasty and obscure segment fault

Qt 5.4.2, NDK 10e

Do NOT under any circumstance forget the "&" before the argc parameter on
the constructor
if you override QGuiApplication (QApplication too)

Good:

Trpzapp::Trpzapp(int& argc, char** argv) : QGuiApplication(argc,argv)


Bad:

Trpzapp::Trpzapp(int argc, char** argv) : QGuiApplication(argc,argv)


It WILL compile on all the platforms, runs fine on OSX/IOS Simulator, but
on Android it will surely DIE.

This maybe is a bug, or maybe just user error that is not caught by the
compiler error system. (except maybe a compile warning)
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to