summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/WebCore/DerivedSources.pri2
-rw-r--r--Tools/WebKitTestRunner/InjectedBundle/DerivedSources.pri2
-rw-r--r--Tools/qmake/mkspecs/features/default_pre.prf4
3 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebCore/DerivedSources.pri b/Source/WebCore/DerivedSources.pri
index 7e2245fd8..3457f3515 100644
--- a/Source/WebCore/DerivedSources.pri
+++ b/Source/WebCore/DerivedSources.pri
@@ -651,6 +651,8 @@ enable?(MEDIA_SOURCE) {
$$PWD/Modules/mediasource/SourceBufferList.idl
}
+qtPrepareTool(QMAKE_MOC, moc)
+
mathmlnames.output = MathMLNames.cpp
mathmlnames.input = MATHML_NAMES
mathmlnames.depends = $$PWD/mathml/mathattrs.in
diff --git a/Tools/WebKitTestRunner/InjectedBundle/DerivedSources.pri b/Tools/WebKitTestRunner/InjectedBundle/DerivedSources.pri
index c8e4f5b81..54e4d34b8 100644
--- a/Tools/WebKitTestRunner/InjectedBundle/DerivedSources.pri
+++ b/Tools/WebKitTestRunner/InjectedBundle/DerivedSources.pri
@@ -21,6 +21,8 @@ IDL_BINDINGS += \
Bindings/TestRunner.idl \
Bindings/TextInputController.idl \
+qtPrepareTool(QMAKE_MOC, moc)
+
# GENERATOR 1: IDL compiler
idl.output = JS${QMAKE_FILE_BASE}.cpp
idl.input = IDL_BINDINGS
diff --git a/Tools/qmake/mkspecs/features/default_pre.prf b/Tools/qmake/mkspecs/features/default_pre.prf
index 39eec9bb5..d64956739 100644
--- a/Tools/qmake/mkspecs/features/default_pre.prf
+++ b/Tools/qmake/mkspecs/features/default_pre.prf
@@ -11,10 +11,6 @@ eval($$env_cache)
load(functions)
-# Derived sources often need QMAKE_MOC
-load(qt_functions)
-load(moc)
-
# FIXME: In this case we probably want to exit early so that we
# don't load all of the custom build tweaks needlessly.
pro_file = $$_PRO_FILE_ # Checking the variable directly does not work