[Interest] Android: WARNING: QApplication was not created in the main() thread.
Thiago Macieira
thiago.macieira at intel.com
Fri Dec 2 23:50:46 CET 2016
On sexta-feira, 2 de dezembro de 2016 21:25:51 PST Jason H wrote:
> I OpenGLRenderer: Initialized EGL, version 1.4
> W : (null):0 ((null)): WARNING: QApplication was not created in the
> main() thread.
>
> What's the significance of that warning on Android? I don't think it's
> possible to create it in the main() thread?
You must create QApplication in the thread that created the first QObject.
In fact, you should make QApplication *be* the first QObject.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list