PS4 controller not connects to PC due to some reasons. Some of them are bluetooth connectivity issues that your bluetooth is of old version or you are using external adapter for bluetooth. Then you just need to connect your controller using USB cable and also using Steam or DS4Windows on your PC makes controller to perform more better