Index: trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc
===================================================================
--- trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc	(revision 19692)
+++ trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc	(revision 19978)
@@ -32,4 +32,8 @@
 #undef ACTUAL_NUM_PIXELS
 #define ACTUAL_NUM_PIXELS 1440
+
+#ifndef HAVE_QT4 // required with not qwt5-qt4 (assuming that this is the default for not Qt4)
+#define setMajPen setMajorPen
+#endif
 
 //bounding box for diplaying the impulse curve
