Focus application for mac
Hi all. I use qt for develop mac. My programm run to system tray. If i open window of tray icon and focus on my app that window normal open. If i open window and focus on the other app, window open but it is under other window. How i can set the focus my window ?
P.S.: Sorry for my english :)
I found it :)
err = ::GetCurrentProcess(&psn);
if (err == noErr)
this help me :)
Calling "raise() ":/doc/qt-4.8/qwidget.html#raise should do the trick too.
This is indeed a rather complicated way to call "raise()" :-)