Group top level imports
Fix an issue introduced by bootstrap script when the
default qt api cannot be imported