On Monday, 18 May 2020 19:33:03 PDT David M. Cotter wrote: > >> Specifically: both i_qGeneratorP and i_qOutputP are allocated there. I > >> think they're the only Qt objects use within the new thread? > > > > If you say so, but I can't confirm that you've done the right thing since > > I > > can't see those classes > > they are both QObjects, and are allocated with "new" during i_auP->Start()
Ok, that would be in the started thread. > > Note that you do initialise the i_auP pointer in your constructor's > > initialisation list > which is not a QObject, it's my own wrapper class Irrelevant what it derives from. Are you saying that this calls a function that returned null? I repeat my request for a compileable example. > no. 25 years ago, we use "i_" to indicate "instance (member) variables" in > the "THINK Class Library" i've had that habit ever since Most people use "m_" for that... No matter, it was just surprising? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel System Software Products _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest