Update Qt symbol map usage.

Should fix #5256, not well tested.