Under the Windows compiled QT program icon can't display properly problems,
(1) create plugins folder on the release folder;
(2) install QT directory plugins \ imageformats folder copy to release \ plugins folder (imageformats plugins folder contains many image formats such as jpeg),
(3) in the main. CPP add the following statement
QApplication: : addLibraryPath ("./plugins ");
Qaction Settings icon or, after the release procedure, it opens at no,
Is how to solve? Where and what need to be aware of the above method to succeed, to solve
CodePudding user response:
Under Windows with windeployqt tools to packageCodePudding user response:
Add a PRO:RC_ICONS=program icon. Ico