probonopd / linuxdeployqt

Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications
Other
2.22k stars 414 forks source link

Icons on buttons are not displayed #583

Closed i-and closed 1 year ago

i-and commented 1 year ago

When the application is launched from a successfully assembled image, the icons on the control buttons of the library https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System interface stop being displayed . At the same time, the corresponding buttons are functioning. In the figure, these buttons are circled in red. image_1

Running the code showed that the button images themselves are successfully read and installed in the line https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System/blob/2d2de53dcd556aeddef2fea02c5d367f1de4b384/src/ads_globals.cpp#L416C2-L416C2 (checked for StandarPixmap=QStyle::SP_TitleBarCloseButton). That is, they are present in the resources and the problem is something else.

i-and commented 1 year ago

The reason was that under the Ubuntu 18.04 , the qt5-default package does not install the libqt5svg5 package, but it is required to display the specified icons. After installing the libqt5svg5 package, everything became fine.