summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-10-13 17:50:25 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-10-13 17:50:56 +0200
commit067e46c2b3371b7b4f952276ddcfc3e5af0d9551 (patch)
treee36723270bea6b2a84db30b605bf208a9e3b6fcd /mkspecs
parent052e79299f4ada27eacc89ab36ddafda2e91a4db (diff)
parentee5070f95be237b0ced7e53c5ce7ffde68e57c99 (diff)
Merge branch '5.10' into dev
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/gn_generator.prf3
1 files changed, 2 insertions, 1 deletions
diff --git a/mkspecs/features/gn_generator.prf b/mkspecs/features/gn_generator.prf
index c59bc0d98..a819e146b 100644
--- a/mkspecs/features/gn_generator.prf
+++ b/mkspecs/features/gn_generator.prf
@@ -177,7 +177,8 @@ GN_CONTENTS += " if (!defined(include_dirs)) {"\
" }"
GN_CONTENTS += " include_dirs += ["
for (path, INCLUDEPATH): GN_CONTENTS += " \"$$path\","
-GN_CONTENTS += " rebase_path(\"$target_gen_dir/.moc/\")"
+GN_CONTENTS += " rebase_path(\"$target_gen_dir/.moc/\"),"
+GN_CONTENTS += " \"$$QMAKESPEC\""
GN_CONTENTS += " ]"
GN_CONTENTS += " if (!defined(ldflags)) {"\