[Interest] QApplication was not created in the main() thread.

Konstantin Shegunov kshegunov at gmail.com
Sat Jul 1 07:09:12 CEST 2023


On Fri, Jun 30, 2023 at 11:12 AM Yauheni Pervenenka via Interest <
interest at qt-project.org> wrote:

> Hi community,
> I was faced with a warning QApplication was not created in the main()
> thread. on windows only, it is very rare happen,
>

Almost certainly you're creating a static `QObject` instance that sets the
"main" thread, and whenever the application constructor runs it reports
this as error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20230701/3b1c3f73/attachment.htm>


More information about the Interest mailing list