Note that I have inserted following statement in the qt project file (Pro file):
QMAKE_CXXFLAGS +=-m32