[Qt] change setup of QMAKE_MOC
authorhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Dec 2012 15:14:13 +0000 (15:14 +0000)
committerhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Dec 2012 15:14:13 +0000 (15:14 +0000)
commita333c4a5dbcaa287b3411c0184450e0624711675
tree3ce87a4202e6834b9caf8806e75e134cfff0687d
parent61fdb7b76733d729381a476468a6ab659d5d1a4e
[Qt] change setup of QMAKE_MOC

Patch by Oswald Buddenhagen <oswald.buddenhagen@digia.com> on 2012-12-11
Reviewed by Simon Hausmann.

don't load(moc) explicitly - turns out that this breaks
debug_and_release builds (the feature does not like being loaded before
default_post has been loaded).
so instead just do a minimal call to find the moc executable.

as it's in fact only two files which need it, so de-centralize this call
for the sake of saving some cpu cycles spent in qmake.

Source/WebCore:

* DerivedSources.pri:

Tools:

* WebKitTestRunner/InjectedBundle/DerivedSources.pri:
* qmake/mkspecs/features/default_pre.prf:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@137307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.pri
Tools/ChangeLog
Tools/WebKitTestRunner/InjectedBundle/DerivedSources.pri
Tools/qmake/mkspecs/features/default_pre.prf