scons: add test compilations for qt version, headers