PDA

View Full Version : Qt 5 on OS X: raise() doesn't work anymore?



agarny
11th January 2013, 11:57
Hi,

I have just converted my project to Qt 5 and, in some cases, I need to bring my application to the foreground. With Qt 4.8, I used to have:


activateWindow();
raise();

and it would nicely bring application to the foreground. However, the above code doesn't work anymore using Qt 5. Anyone, any ideas?

Cheers, Alan.

agarny
12th January 2013, 19:52
FWIW, it seems to be yet another bug in Qt 5. I have filed a bug report for it: https://bugreports.qt-project.org/browse/QTBUG-29087.

johnlamericain
4th June 2013, 09:44
Hi agarny,

Did you make any progress on this issue or find a workaround ? I try to migrate my project over Qt 5 and I'm block by this issue.

I will try to look at Qt code and if I come back with something I will let you know as well.

Cheers,
John

agarny
4th June 2013, 09:58
Unfortunately, no. The Qt guys seem to be completely ignoring this bug (and a few others)... :(

agarny
10th July 2014, 18:01
FWIW, this issue has now been addressed by the Qt team.