[Qt-interest] Making VS links faster

Tony Rietwyk tony.rietwyk at rightsoft.com.au
Tue Aug 25 10:02:36 CEST 2009


Thiago wrote:

> Yes. QMake detects whether the moc output was included by the 
> .cpp file. If it 
> is, then it doesn't generate the compilation rule for the file.
> 
> Just be careful because the output names have to be of a 
> specific format. See 
> the Qt unit tests in 
> http://qt.gitorious.org/qt/qt/trees/tests/auto for 
> examples of included moc outputs with qmake.

Hi Thiago, 

Found via web browser at
http://qt.gitorious.org/qt/qt/trees/master/tests/auto ?

tst_collections.cpp just has at the end:

	#include "tst_collections.moc"

and collections.pro has:

	load(qttest_p4)
	SOURCES  += tst_collections.cpp
	QT = core


qcombobox seems to be similar. 

I'm not sure what 'output names' I'm looking for? 

Regards, 

Tony.




More information about the Qt-interest-old mailing list