QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix
This is because Qt6 expects the desktopFileName to be just the file name of the desktop without path or .desktop suffix.
This is the file name, without the full path or the trailing ".desktop" extension of the desktop entry that represents this application according to the freedesktop desktop entry specification.
Currently we get this warning from Qt6.
This is because Qt6 expects the
desktopFileName
to be just the file name of the desktop without path or.desktop
suffix.This PR removes the
.desktop
suffix