diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index b618574f85aa91d7a0ac7b24cb71da8119851ca6..a7c790a77e901cfbe4c8003707e1c962f9c6cbf7 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -233,6 +233,13 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             ui.hwYUVBox->setVisible( false );
 #endif
 
+#ifdef __OS2__
+            CONFIG_BOOL( "kva-fixt23", kvaFixT23 );
+            CONFIG_GENERIC( "kva-video-mode", StringList, ui.kvaVideoModeLabel,
+                            kvaVideoMode );
+#else
+            ui.kvaBox->setVisible( false );
+#endif
 
             CONFIG_GENERIC( "deinterlace", IntegerList, ui.deinterLabel, deinterlaceBox );
             CONFIG_GENERIC( "deinterlace-mode", StringList, ui.deinterModeLabel, deinterlaceModeBox );
diff --git a/modules/gui/qt4/ui/sprefs_video.ui b/modules/gui/qt4/ui/sprefs_video.ui
index 764b94f99f8c4a258393a0996bcb1006d29a5d99..c231a565520e9bff888a352353c76fe4821d6100 100644
--- a/modules/gui/qt4/ui/sprefs_video.ui
+++ b/modules/gui/qt4/ui/sprefs_video.ui
@@ -133,6 +133,41 @@
      </layout>
     </widget>
    </item>
+   <item>
+    <widget class="QGroupBox" name="kvaBox" >
+     <property name="title" >
+      <string>KVA</string>
+     </property>
+     <layout class="QGridLayout" >
+      <property name="margin" >
+       <number>9</number>
+      </property>
+      <property name="spacing" >
+       <number>6</number>
+      </property>
+      <item row="1" column="1" colspan="2" >
+       <widget class="QComboBox" name="kvaVideoMode" />
+      </item>
+      <item row="1" column="0" >
+       <widget class="QLabel" name="kvaVideoModeLabel" >
+        <property name="text" >
+         <string>Video mode</string>
+        </property>
+        <property name="buddy" >
+         <cstring>kvaVideoMode</cstring>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="0" colspan="2" >
+       <widget class="QCheckBox" name="kvaFixT23" >
+        <property name="text" >
+         <string>Enable a workaround for T23</string>
+        </property>
+       </widget>
+      </item>
+     </layout>
+     </widget>
+   </item>
    <item>
     <widget class="QGroupBox" name="groupBox_2">
      <property name="title">
@@ -301,6 +336,8 @@
   <tabstop>outputModule</tabstop>
   <tabstop>wallpaperMode</tabstop>
   <tabstop>dXdisplayDevice</tabstop>
+  <tabstop>kvaFixT23</tabstop>
+  <tabstop>kvaVideoMode</tabstop>
   <tabstop>deinterlaceBox</tabstop>
   <tabstop>deinterlaceModeBox</tabstop>
   <tabstop>arLine</tabstop>