@xnview: Do you actually call it like this?
QGuiApplication::setDesktopFileName("XnView");
It has to be called before creating the QApplication.
Notice that the .desktop extension must NOT be used for it to work (full .desktop filename in /usr/share/applications/: XnView.desktop).
Make sure you ...
Search found 1 match
- Sun Dec 21, 2025 10:25 am
- Forum: Retest
- Topic: Wayland W yellow icon displayed instead of XnView MP icon
- Replies: 9
- Views: 5491