--- a/src/qtgui/ssearch_w.cpp
+++ b/src/qtgui/ssearch_w.cpp
@@ -305,7 +305,7 @@
 
 #undef SHOWEVENTS
 #if defined(SHOWEVENTS)
-static const char *eventTypeToStr(int tp)
+const char *eventTypeToStr(int tp)
 {
     switch (tp) {
     case  0: return "None";