For a g17 and g34, you can use a gen4 silde but need a gen5 barrel and a gen5 backplate. Also use a gen4 slide release.
Would also need to swap out the firing pin safety to a gen 5
You cant put a gen5 firing pin safety in a gen4 slide, that would literally be trying to fit a rectangular part into a round hole.
you are correct, slipped my mind