aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/mockup
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2019-04-24 14:07:39 +0200
committerMarco Bubke <marco.bubke@qt.io>2019-04-29 12:52:05 +0000
commit2d520140d01a8c6d9ff88c7f7205dfa28cc06d2d (patch)
tree04113edcfbf43f62552acfe226b5a6bd307f5ded /tests/unit/mockup
parent1975641a3d0ccb3f36452524a57f7d2303b62b25 (diff)
Clang: Fix system pre include search path
We now get the resource path from creator. The -fPIC case is working now too. Change-Id: Id191e89e6d46706748d50440038a06a349972cc9 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'tests/unit/mockup')
-rw-r--r--tests/unit/mockup/coreplugin/icore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit/mockup/coreplugin/icore.h b/tests/unit/mockup/coreplugin/icore.h
index 579fbc3b56..8cf88f7037 100644
--- a/tests/unit/mockup/coreplugin/icore.h
+++ b/tests/unit/mockup/coreplugin/icore.h
@@ -12,5 +12,10 @@ inline static QString cacheResourcePath()
return QDir::tempPath();
}
+inline static QString resourcePath()
+{
+ return QDir::tempPath();
+}
+
} // namespace ICore
} // namespace Core