Add input state to Qt, as required
Fix resource loading for Qt