setWindowTitle() linux/OSX creates new window

asked 2015-07-27 18:20:27 -0600

cl gravatar image

Hi,

So when I try:

setWindowTitle(oldName,newName);

a new window gets created instead of updating the title of current window. Any idea why ? I am basically trying to update the title of the window displaying the image based on some logic (already inside the cpp file). How else can this be done ?

Thanks

edit retag flag offensive close merge delete

Comments

Strange behaviour indeed, but please why would you want to change the window title? If you really need exhaustive use of windows, than using OpenCV for that is actually not a good way to go. The windows are there mainly for debugging purposes, so you should use Qt or some other GUI interface for that.

StevenPuttemans gravatar imageStevenPuttemans ( 2015-07-28 03:45:43 -0600 )edit