I’d like to implement a popup window to warn users about specific things relating to our pipeline. Ideally I’d like to call this from a core hook like
I’ve been trying to use the
tk-framework-qtwidgets message box from the demo app to do this but with no luck.
within the engine init hook I’ve tried this
self.load_framework("tk-framework-qtwidgets") but get a:
tank.errors.TankError: Cannot load framework tk-framework-qtwidgets for <Sgtk Core HEAD@0x1a41a2e0548 Config c:\SG\.......\cfg> - it does not have a valid engine property!
This is strange as I’d think this hook runs after the engine is initialized?
End goal here is just to have a popup warning to inform users to do XYZ or check something if I’ve detected a problem that cant be automatically fixed.