BUG : fix qt4 backends

in 1889c043576c1d0c79cc96fafe03ddfd6df98479 I missed some subtleties of
how the imports were working.  This reverts the change that breaks qt4.
Merge pull request #3159 from tacaswell/qt4_fix

BUG : fix qt4 backends