On Mon, 05 Nov 2018 21:31:26 +0200, Konstantin Shegunov wrote: > 1) Is parenting to the application object a thing?
The title of the bug report is about QCoreApplication, while the demo code is a QApplication - so I'm not 100% sure if I completely understood the discussion. But at least for QApplication I would consider having children being common practice and actually Qt does this too: int main ( int argc, char **argv ) { QApplication a( argc, argv ); a.setStyle( "Windows" ); qDebug() << a.children(); ... } => QPAEventDispatcherGlib(0x10a9af0) QSessionManager(0x10ac560) QWindowsStyle(0x10b34f0, name = "windows") Uwe _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development