How to use CPack IFW to generate desktop shortcuts?

How to use CPack IFW to generate desktop shortcuts?
How to use CPack IFW to overwrite an existing installation?

I use the Install frame work that comes with Qt to write scripts that can complete the function, but I want to use CPack to implement it directly. I checked a lot of information, but it didn’t solve my problem. I hope to get your help, thank you!