diff options
author | Marco Bubke <marco.bubke@qt.io> | 2019-04-24 14:07:39 +0200 |
---|---|---|
committer | Marco Bubke <marco.bubke@qt.io> | 2019-04-29 12:52:05 +0000 |
commit | 2d520140d01a8c6d9ff88c7f7205dfa28cc06d2d (patch) | |
tree | 04113edcfbf43f62552acfe226b5a6bd307f5ded /tests/unit/mockup | |
parent | 1975641a3d0ccb3f36452524a57f7d2303b62b25 (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.h | 5 |
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 |