QUrl url = QUrl::fromLocalFile("/path_to_binary_file");QDesktopServices::openUrl(url);
C # if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde; # elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome; # elif xprop -root _DT_SAVE_MODE | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce; # elif [ x"$DESKTOP_SESSION" == x"LXDE" ]; then DE=lxde; # fi DE=kde