Do you include any different headers then QT? Like <cstring> <vector> etc... ?
Do you use precompiled headers(stdafx)?
If so, include all this headers before including Qt headers....