Icon is not showing up in Qt Main Window

前端 未结 1 607
走了就别回头了
走了就别回头了 2021-01-16 03:44

My Qt application contains a Main Window. I added resource into project and added an icon to the resource. From the main window source file I used the following line to load

相关标签:
1条回答
  • 2021-01-16 04:15

    Put qico.dll in the imageformats directore near executable.

    MyAppDir\YourApp.exe
    MyAppDir\imageformats\qico.dll
    

    On future, every format except of png should have dll. For example qgif.dll and so on.

    0 讨论(0)
提交回复
热议问题