diff --git a/modules/gui/qt/qt.cpp b/modules/gui/qt/qt.cpp
index 1214f9fada0bf3f58c63e4467ac18d786ae3edab..8acfbaa744a1b08c432431d854edd287541f80b2 100644
--- a/modules/gui/qt/qt.cpp
+++ b/modules/gui/qt/qt.cpp
@@ -268,7 +268,7 @@ static const char *const compositor_vlc[] = {
     "auto",
 #ifdef _WIN32
 #ifdef HAVE_DCOMP_H
-    "dcomp"
+    "dcomp",
 #endif
     "win7",
 #endif