[NAME] de Oro is spot on, it is indeed the same socket but I believe the Q170 chipset does not support that CPU. This list of Q170 supported CPUs may help. Also the Dell technical data here does not list the XEON as compatible.
Will the xeon e3-1220 v5 work on a optiplwx 7040 sff?
Cpu compatibility