summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorMichael Krasnyk <michael.krasnyk@gmail.com>2013-10-29 09:42:20 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-30 14:50:02 +0100
commitebf0524186177158edde1de01c44aacae8e51d19 (patch)
tree1b6eb4c5f6a511fb7732a7195f5aafc96a00f857 /mkspecs
parentb280182053a8ccd912eb165b59928e88a6d62c92 (diff)
dbuscommon.pri: Fix source file dependency
Make already the creation of the generated cpp file depend on the creation of the generated h file, which transitively ensures that the cpp won't be compiled before the h is there. Change-Id: Idd3aec8d72dac341e835a3d1ef8f2986dbc1ab9f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/dbuscommon.pri1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkspecs/features/dbuscommon.pri b/mkspecs/features/dbuscommon.pri
index 6e1e5659c3..2f2e6b831f 100644
--- a/mkspecs/features/dbuscommon.pri
+++ b/mkspecs/features/dbuscommon.pri
@@ -67,6 +67,7 @@ for(group, groups) {
$${group}_source.name = DBUSXML2CPP $${dbus_TYPE} SOURCE ${QMAKE_FILE_IN}
$${group}_source.variable_out = SOURCES
$${group}_source.input = $$input_list
+ $${group}_source.depends = $$eval($${group}_header.output) # this actually belongs to the object file
$${group}_moc.commands = $$moc_header.commands
$${group}_moc.output = $$moc_header.output