QApplication::topLevelWidgets() fails to get the list of widgets
In Qt5 desktop application QApplication::topLevelWidgets() returns an empty list when switching the user from lock screen and logging in as the same user on Mac OS.
Is there a similar known issue in Qt5 and how to avoid the issue?
Thanks in advance
You should add which version of OS X and Qt you are currently using.
I use Qt5.1 on Mac OS X 10.8/10.9.
Can you try with a more recent of Qt 5 ?