diff options
author | Cristian Adam <cristian.adam@qt.io> | 2020-06-03 18:45:12 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@qt.io> | 2020-06-12 17:33:43 +0000 |
commit | eabe281b1875bc8921bbb9aced393c030ac4df94 (patch) | |
tree | 47d18ea8369fbfa24121166693a371386aaa87db | |
parent | 182c460a2b257c821f82c2708d84529a99f3e7de (diff) | |
download | qt-creator-eabe281b1875bc8921bbb9aced393c030ac4df94.tar.gz |
CMake: Fix for installation
With CMake 3.17-dev the install step is failing because of the symlink.
Change-Id: I012ce95f5cc61f4b5b9d6a4c48ded0f738b581f1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
(cherry picked from commit f392d134198bcce565ccb009d51cd29ac9b31639)
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
-rw-r--r--[l---------] | share/qtcreator/indexer_preincludes/QtCore/qglobal.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/share/qtcreator/indexer_preincludes/QtCore/qglobal.h b/share/qtcreator/indexer_preincludes/QtCore/qglobal.h index 1ff1b44512..f41cee00e2 120000..100644 --- a/share/qtcreator/indexer_preincludes/QtCore/qglobal.h +++ b/share/qtcreator/indexer_preincludes/QtCore/qglobal.h @@ -1 +1,12 @@ -../qglobal.h
\ No newline at end of file +#include_next <qglobal.h> + +#ifdef Q_DECL_IMPORT +#undef Q_DECL_IMPORT +#endif + +#ifdef Q_DECL_EXPORT +#undef Q_DECL_EXPORT +#endif + +#define Q_DECL_IMPORT +#define Q_DECL_EXPORT |