Ask Your Question
0

Supressing "init done" and "opengl support available"

asked 2016-03-30 15:13:12 -0600

ralff gravatar image

When displaying an image using OpenCV, the following two lines are output to the terminal.

init done
opengl support available

Is there a way to suppress these outputs? These messages are kind of annoying.

edit retag flag offensive close merge delete

Comments

you can delete these lines and rebuild the library

sturkmen gravatar imagesturkmen ( 2016-03-30 17:32:29 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-31 04:06:31 -0600

That is because the interface is actually flawed. If you would really want to see it disappear in Release build, you should build your project with an extra parameter

Also you can completly disable QDebug with QT_NO_DEBUG_OUTPUT define if you're concerned about performance lost with qDebug present within code.

Source: http://stackoverflow.com/questions/13...

edit flag offensive delete link more

Comments

But some way or the other it should be possible to add this parameter through CMAKE in the Release build. Will take a look at it later this week.

StevenPuttemans gravatar imageStevenPuttemans ( 2016-03-31 04:13:27 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-03-30 15:13:12 -0600

Seen: 2,432 times

Last updated: Mar 31 '16