diff --git a/modules/highgui/src/window_QT.h b/modules/highgui/src/window_QT.h index b08d7133cf..8be4bf4f48 100644 --- a/modules/highgui/src/window_QT.h +++ b/modules/highgui/src/window_QT.h @@ -42,6 +42,10 @@ #include "precomp.hpp" +#ifndef _DEBUG +#define QT_NO_DEBUG_OUTPUT +#endif + #if defined( HAVE_QT_OPENGL ) #include #include