[Interest] Cryptic moc warning

André Somers andre at familiesomers.nl
Thu Nov 3 10:34:22 CET 2011


Hi,

On Thu, Nov 3, 2011 at 10:04 AM, Schimkowitsch Robert <
Robert.Schimkowitsch at andritz.com> wrote:

> And we have a winner!
>
> Thanks! This has been bugging me for months. It's not easy to keep track
> of all your .pri files in large projects.
>
> Kind regards
>
> Robert Schimkowitsch
>
> What I usually do in .pri files to prevent these issues, is use the *=
instead of the += operator for the sources and the headers. The *= only
adds if the value isn't in the list already.

Andre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20111103/f7fc3fbf/attachment.html>


More information about the Interest mailing list