--- kirigami2-5.83.0/src/libkirigami/platformtheme.h.orig	2021-09-03 22:52:20.528455700 -0700
+++ kirigami2-5.83.0/src/libkirigami/platformtheme.h	2021-09-03 22:54:51.310277400 -0700
@@ -358,7 +358,7 @@
 // of these events.
 
 template<typename T>
-class KIRIGAMI2_EXPORT PropertyChangedEvent : public QEvent
+class PropertyChangedEvent : public QEvent
 {
 public:
     PropertyChangedEvent(PlatformTheme *theme, const T &previous, const T &current)
@@ -373,7 +373,7 @@
     T oldValue;
     T newValue;
 
-    static QEvent::Type type;
+    static KIRIGAMI2_EXPORT QEvent::Type type;
 };
 
 using DataChangedEvent = PropertyChangedEvent<std::shared_ptr<PlatformThemeData>>;
@@ -382,6 +382,17 @@
 using ColorChangedEvent = PropertyChangedEvent<QColor>;
 using FontChangedEvent = PropertyChangedEvent<QFont>;
 
+template<>
+KIRIGAMI2_EXPORT QEvent::Type DataChangedEvent::type;
+template<>
+KIRIGAMI2_EXPORT QEvent::Type ColorSetChangedEvent::type;
+template<>
+KIRIGAMI2_EXPORT QEvent::Type ColorGroupChangedEvent::type;
+template<>
+KIRIGAMI2_EXPORT QEvent::Type ColorChangedEvent::type;
+template<>
+KIRIGAMI2_EXPORT QEvent::Type FontChangedEvent::type;
+
 }
 
 } // namespace Kirigami
