Results 1 to 5 of 5

Thread: Qt 5 on OS X: raise() doesn't work anymore?

  1. #1
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Qt 5 on OS X: raise() doesn't work anymore?

    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:

    Qt Code:
    1. activateWindow();
    2. raise();
    To copy to clipboard, switch view to plain text mode 

    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.

  2. #2
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt 5 on OS X: raise() doesn't work anymore?

    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.

  3. #3
    Join Date
    Jun 2013
    Posts
    1
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Windows

    Default Re: Qt 5 on OS X: raise() doesn't work anymore?

    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

  4. #4
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt 5 on OS X: raise() doesn't work anymore?

    Unfortunately, no. The Qt guys seem to be completely ignoring this bug (and a few others)...

  5. #5
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt 5 on OS X: raise() doesn't work anymore?

    FWIW, this issue has now been addressed by the Qt team.

Similar Threads

  1. Replies: 0
    Last Post: 31st May 2012, 10:33
  2. why on Linux ,doesn't work?
    By maider in forum Qt Programming
    Replies: 5
    Last Post: 11th March 2010, 08:57
  3. QNetworkAccessManager doesn't work
    By Floppy in forum Newbie
    Replies: 7
    Last Post: 14th November 2009, 16:32
  4. macdeployqt doesn't work at all.
    By pherthyl in forum Installation and Deployment
    Replies: 1
    Last Post: 10th July 2009, 00:42
  5. QAxObject does not work anymore?
    By jh in forum Qt Programming
    Replies: 3
    Last Post: 6th July 2007, 22:04

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.