On Tuesday, 28 March 2023 06:16:52 PDT Stefan Seefeld wrote:
> First I see
> the error / warning message
> 
>   `WARNING: QApplication was not created in the main() thread.`
> 
> the main window appears, but isn't fully constructed and it doesn't look
> like the event loop is ever started. (The window's content isn't updated,
> no button appears, and the app isn't receiving input events.)
> What am I doing wrong ?

You must create the QCoreApplication (including QApplication) in the thread 
that the first QObject is created in. That warning message tells you that you 
didn't.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to