[Interest] all of QtBase depends on qregexp.cpp (or almost)?

Thiago Macieira thiago.macieira at intel.com
Tue Jan 30 17:14:17 CET 2018

On terça-feira, 30 de janeiro de 2018 02:20:19 PST René J. V. Bertin wrote:
> Giuseppe D'Angelo wrote:
> > Probably it triggers rebuilding of qmake, which may trigger further
> > rebuilds down the line somehow.
> "Fun" fact, after touching qregexp.cpp :
> %> (cd build/qtbase/src/corelib ; make)
> Only rebuilds QtCore
> %> (cd build/qtbase/src ; make)
> rebuilds all of QtBase, including the bootstrapping part.

qregexp.cpp is part of the bootstrap library, so that rebuilds the library, 
which in turn rebuilds moc and uic, and those in turn cause he moc and uic 
outputs to be rebuilt. And since QtCore relinks, all libraries need to be 
relinked too.

It shouldn't recompile other .cpp, though.

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

More information about the Interest mailing list