Introduce WidgetInspectorInterface for typesafety.
Fix Qt5 build