QEvent error when compiling KVT

When compiling on a Libranext 4.0 alpha3.2 system, KVT makes the following error:

In file included from /usr/include/X11/Xlib.h:44,
                 from /opt/kde1/include/kwm.h:29,
                 from /home/abloss/mide/base/kvt/main.C:35:
/home/abloss/mide/base/kvt/main.C: In member function ‘virtual bool kVt::eventFilter(QObject*, QEvent*)’:
/home/abloss/mide/base/kvt/main.C:1207:18: error: expected unqualified-id before numeric constant
 1207 |     case QEvent::KeyPress: case QEvent::KeyRelease:
      |                  ^~~~~~~~
/home/abloss/mide/base/kvt/main.C:1207:16: error: expected ‘:’ before numeric constant
 1207 |     case QEvent::KeyPress: case QEvent::KeyRelease:
      |                ^
      |                :
/home/abloss/mide/base/kvt/main.C:1207:26: error: expected ‘;’ before ‘:’ token
 1207 |     case QEvent::KeyPress: case QEvent::KeyRelease:
      |                          ^
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information