QT modify the icon and name in the upper left corner

One, modify the name

In the constructor, set

	this.setWindowTitle("新名称");

Re-run in this way, you can find that the name has been modified.

Two, modify the icon

1. First prepare an .ico (icon) file

如果不会的,可以提前准备一张图片,网上有在线转换的,可以直接转换。

Guess you like

Origin blog.csdn.net/qq_45646951/article/details/109067934