Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing Categories for generating default.desktop file #587

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lenrys29
Copy link

Hi,

We've got this error while using linuxdeployqt without desktop file :

linuxdeployqt  (commit 6fcaf74), build 55 built on 2023-09-23 13:33:41 UTC
WARNING: Not checking glibc on the host system.
         The resulting AppDir or AppImage may not run on older systems.
         This mode is unsupported and discouraged.
         For more information, please see
         https://github.com/probonopd/linuxdeployqt/issues/340
Not using FHS-like mode
app-binary: "~/my_project/install/app/my_application/my_application"
appDirPath: "~/my_project/install/app/my_application"
relativeBinPath: "my_application"
ERROR: Desktop file missing, creating a default one (you will probably want to edit it)
ERROR: Icon file missing, creating a default one (you will probably want to edit it)
appimagetool, continuous build (commit 8bbf694), build <local dev build> built on 2020-12-31 11:48:33 UTC
NOTE: Using the output of 'git rev-parse --short HEAD' as the version:
      16c130f
      Please set the $VERSION environment variable if this is not intended
Desktop file: ~/my_project/install/app/my_application/default.desktop
Categories entry not found in desktop file
.desktop file is missing a Categories= key

@probonopd probonopd closed this Oct 28, 2023
@probonopd probonopd reopened this Oct 28, 2023
@probonopd
Copy link
Owner

Well, if you do it like this, then less skilled developers may just go with "Utility" rather than putting together a proper desktop file. Hence, the provided template. Maybe Categories=PutInAValidCategoryHere would be better.

@probonopd
Copy link
Owner

probonopd commented Oct 28, 2023

Also, you are using unsupported command line arguments. This is highly discouraged! For more information, please see

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants