Well here are some comparison shots between the DA 18-55mm and the Pentax-M F1.7. The name tells you what lens and what aperture.
There is a clear IQ difference between the two, maybe not as much as you would expect, but this lens is also older than me! The 50mm F1.7 that is, the DA is virtually brand new!
Also as you can see from the F1.7 and F5.6 (best aperture for 50mm) there is a HUGE jump in IQ. And Im not saying there is more areas in DOF that makes it better, the parts that are equally in focus , far right of the crops , clearly shows the jump.
Pentax-M F1.7
DA F5.6
Pentax-M F5.6
DA F8
Pentax-M F8
DA F22
Pentax-M F22
Thanks