[Newbies] qtcreator无法设置程序启动图标和任务栏图标吗?
Tofloor
poster avatar
fax928
deepin
Q&A Team
2023-03-12 03:25
Author

如题。捣鼓了老半天还是没反应。。。

Reply Favorite View the author
All Replies
派了个萌
deepin
2023-03-12 04:32
#1

系统学一下qt就会了

Reply View the author
fax928
deepin
Q&A Team
2023-03-13 00:36
#2
派了个萌

系统学一下qt就会了

应该是因为qtcreator或qt版本不同的原因。

同样的代码 this->setWindowIcon(QICON(XXX));

在V23a2上和20.8上运行,v23a2是窗口左上角有图标而任务栏没有,v20.8是左上角没有而任务栏有图标。tail

Reply View the author