diff --git a/modules/highgui/src/window_QT.cpp b/modules/highgui/src/window_QT.cpp index 420d2a1dc6..1233993e0a 100644 --- a/modules/highgui/src/window_QT.cpp +++ b/modules/highgui/src/window_QT.cpp @@ -994,6 +994,7 @@ void GuiReceiver::createWindow(QString name, int flags) nb_windows++; new CvWindow(name, flags); + cvWaitKey(1); }