[Interest] can the QRegExpEngine cache acces objects belonging to an unloaded library during global destruction?

Thiago Macieira thiago.macieira at intel.com
Tue Jan 30 21:20:15 CET 2018


On terça-feira, 30 de janeiro de 2018 11:41:22 PST René J. V. Bertin wrote:
> Thiago Macieira wrote:
> > .cpp files can be moc'ed too. You just need to #include the output at the
> > end of the file.
> 
> I know that, what I've never figured out is how to generate it. Maybe you
> have to rebuild from scratch?

Rerun qmake. It'll scan the files in SOURCES and HEADERS for the Q_OBJECT or 
Q_GADGET macros, then automatically moc them. Headers produce 
moc_headername.cpp, sources produce sourcename.moc. #including both is a good 
idea

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Interest mailing list