Gigabyte Laptop I7 5th gen or 4th gen?

I would go with the P35 as its got more GPU memory. CPU's aren't used as much in games anymore so as-long as you have one that isn't going to cause a bottleneck you will be okay. The CPU in that laptop will be fine for any game now and in the foreseeable future.