From eabe281b1875bc8921bbb9aced393c030ac4df94 Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Wed, 3 Jun 2020 18:45:12 +0200 Subject: 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 (cherry picked from commit f392d134198bcce565ccb009d51cd29ac9b31639) Reviewed-by: Cristian Adam --- share/qtcreator/indexer_preincludes/QtCore/qglobal.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) mode change 120000 => 100644 share/qtcreator/indexer_preincludes/QtCore/qglobal.h diff --git a/share/qtcreator/indexer_preincludes/QtCore/qglobal.h b/share/qtcreator/indexer_preincludes/QtCore/qglobal.h deleted file mode 120000 index 1ff1b44512..0000000000 --- a/share/qtcreator/indexer_preincludes/QtCore/qglobal.h +++ /dev/null @@ -1 +0,0 @@ -../qglobal.h \ No newline at end of file diff --git a/share/qtcreator/indexer_preincludes/QtCore/qglobal.h b/share/qtcreator/indexer_preincludes/QtCore/qglobal.h new file mode 100644 index 0000000000..f41cee00e2 --- /dev/null +++ b/share/qtcreator/indexer_preincludes/QtCore/qglobal.h @@ -0,0 +1,12 @@ +#include_next + +#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 -- cgit v1.2.3