Qt QPushButton (4) Jump to open a URL on the interface
Create a button in the ui interface, create a slot function, and click to trigger.
QDesktopServices::openUrl(QUrl(QLatin1String("https://blog.csdn.net/qq_45646951")));
In this way, you can jump to the web page, not only buttons, but also QLine, QLable, etc. can be triggered.