Yeah that's reasonable. However I noticed that QtMocScanner takes a lot of
time even after touching just single file, anyway I need to investigate it
more thoroughly and figure out why this happens. Anyway, thank you.

Best regards, Sergey Semushin

2015-04-18 13:19 GMT+03:00 Smirnov Vladimir <[email protected]>:

> On 18.04.2015 18:00, [email protected] wrote:
> > I noticed that scanning
> > for files in need of moc takes large amount of time
>
> cpp_scanner in QBS scans cpp and .h files for parsing include directives
> first of all.  As it does that, it also fetches Q_OBJECT and so tokens. I
> don't think that disabling it somehow by condition increase parsing
> dramatically.
>
> moc as is will be applied only to that files, where Q_OBJECT macro found.
>
> _______________________________________________
> QBS mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/qbs
>
_______________________________________________
QBS mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to