[Interest] Android: WARNING: QApplication was not created in the main() thread.
Thiago Macieira
thiago.macieira at intel.com
Mon Dec 5 06:34:19 CET 2016
On domingo, 4 de dezembro de 2016 18:25:07 PST Jason H wrote:
> > You must create QApplication in the thread that created the first QObject.
>
> You'd think that'd be easy to do, but... This is android. I don't always get
> to have a QApplication. I only get a QAppplication after the activity is
> started. I get QObjects created before my QApplication when the OS
> interacts with my app without the QtActivity running.
It doesn't matter how easy or hard it is.
You will do it.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list