[Bug 408131] Multiple problems compiling qt3 applications on 64bit platform