aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/templates/wizards/qtcreatorplugin/myplugin_global.h
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/templates/wizards/qtcreatorplugin/myplugin_global.h')
-rw-r--r--share/qtcreator/templates/wizards/qtcreatorplugin/myplugin_global.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/qtcreator/templates/wizards/qtcreatorplugin/myplugin_global.h b/share/qtcreator/templates/wizards/qtcreatorplugin/myplugin_global.h
index b8b387bc01f..ad863f17945 100644
--- a/share/qtcreator/templates/wizards/qtcreatorplugin/myplugin_global.h
+++ b/share/qtcreator/templates/wizards/qtcreatorplugin/myplugin_global.h
@@ -6,6 +6,8 @@
#define %{GLOBAL_GUARD}
@endif
+#include <qglobal.h>
+
#if defined(%{LibraryDefine})
# define %{LibraryExport} Q_DECL_EXPORT
#else