Launching QtGui dialogs from tk-desktop hooks


When running shotgun desktop on windows 7, I'm trying to show some message boxes to the user in the 'before_app_launch' tk-desktop hook, however nothing I've tried so far resulted in the dialog showing up anywhere. I tried vanialla PySide, using sgtk.platform.qt, using engine.show_dialog, using tk-dektop engines qt_base, etc... The only thing I did manage was to hang shotgun desktop with a modal dialog that never showed up anywhere...

Anything that can be done in this case? It might be enough if I can just show&raise the shotgun desktop console, but so far no luck doing that automatically from within a hook either...


Sebastian H


Please sign in to leave a comment.