had the same problem and this solved it:

DEFINES += QWT3D_DLL