[Interest] Android: WARNING: QApplication was not created in the main() thread.
maitai
maitai at virtual-winds.org
Fri Dec 2 22:07:18 CET 2016
I have this message always on Android. It works so I didn't bother that
much, but still wondering if something hidden/nasty might pops up.
Le 02-12-2016 21:49, Konstantin Shegunov a écrit :
> It is possible to create the application outside the main thread, however you should make sure not to initialize any QThread objects (or other QObject instances) before the QApplication object is up. I have seen this (on desktop) when a QThread is started before the QApplicaiton is created. I hope that helps.
>
> Kind regards.
>
> On Fri, Dec 2, 2016 at 10:25 PM, Jason H <jhihn at gmx.com> 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?
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest [1]
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
Links:
------
[1] http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161202/d930ecb0/attachment.html>
More information about the Interest
mailing list