summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/statemachine/qstatemachine_p.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/corelib/statemachine/qstatemachine_p.h b/src/corelib/statemachine/qstatemachine_p.h
index 5d8c788..387e42e 100644
--- a/src/corelib/statemachine/qstatemachine_p.h
+++ b/src/corelib/statemachine/qstatemachine_p.h
@@ -214,7 +214,11 @@ public:
f_cloneEvent cloneEvent;
};
- static const Handler *handler;
+ static
+#ifndef QT_BUILD_INTERNAL // otherwise Q_AUTOTEST_EXPORT exports it all
+ Q_CORE_EXPORT
+#endif
+ const Handler *handler;
};
QT_END_NAMESPACE