From cd7f0a517731133144dbf345dbb916c69653df87 Mon Sep 17 00:00:00 2001 From: Vladislav Sovrasov Date: Tue, 7 Mar 2017 15:41:07 +0300 Subject: [PATCH] QT: disable debug output in Release mode --- modules/highgui/src/window_QT.h | 4 ++++ 1 file changed, 4 insertions(+) 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