QCad Installation, Desktop-Entry under Ubuntu 22.04.2 LTS

Hello,

I’ve used QCad a long time ago (i think under Windows) and discovered it accidently new as an alternative to LibreCAD.

I purchased and downloaded the qcad-3.27.9-pro-linux-x86_64.tar.gz - Version of the program, extracted it to

/home/muelux/Software/QCadProfessional/qcad-3.27.9-pro-linux-qt5.14-x86_64/

and started it succesfully from within a terminal (‘./qcad’).
Now i want to have a desktop entry like there is one for LibreCAD, but it don’t works.
I get the error message:

Unbekannter Fehlercode 100
Die Desktop-Datei
/home/muelux/.local/share/applications/qcad.desktop
ist ungültig.
Bitte senden Sie einen ausführlichen Problembericht an https://bugs.kde.org.

My System:

Betriebssystem: Kubuntu 22.04
KDE-Plasma-Version: 5.24.7
KDE-Frameworks-Version: 5.92.0
Qt-Version: 5.15.3
Kernel-Version: 5.15.0-67-generic (64-bit)
Grafik-Plattform: X11
Prozessoren: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Speicher: 7,3 GiB Arbeitsspeicher
Grafikprozessor: Mesa Intel® Xe Graphics

My Trial ‘.desktop’-File (under ~/.local/share/applications):

muelux@NB7AA-Flex5i:~/.local/share/applications$ cat qcad.desktop 
[Desktop Entry]
Categories=Graphics;Engineering;
Comment[de_DE]=Ein professionelles CAD-System
Comment=Ein professionelles CAD-System
Exec=/home/muelux/Software/QCadProfessional/qcad-3.27.9-pro-linux-qt5.14-x86_64/qcad %F
GenericName[de_DE]=System für computerunterstützte Konstruktion
GenericName=System für computerunterstützte Konstruktion
Icon=/home/muelux/Software/QCadProfessional/qcad-3.27.9-pro-linux-qt5.14-x86_64/qcad_icon.png
Keywords=design;CAD;diagrams;graphics
MimeType=image/vnd.dxf;
Name[de_DE]=QCAD
Name=QCAD
Path=/home/muelux/Software/QCadProfessional/qcad-3.27.9-pro-linux-qt5.14-x86_64/
StartupNotify=true
# Terminal=false
# TerminalOptions=
TryExec=qcad
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
muelux@NB7AA-Flex5i:

Thanks for any advice

Ewald

Sorry for my early question, i found myself a solution by ‘click-i-bunt-i’ ( :blush: :wink: ), that means i created an ‘.desktop’-entry under GUI:

[Desktop Entry]
Comment=
Exec=/home/muelux/Software/QCadProfessional/qcad-3.27.9-pro-linux-qt5.14-x86_64/qcad
Icon=/home/muelux/Software/QCadProfessional/qcad-3.27.9-pro-linux-qt5.14-x86_64/qcad_icon.png
Name=QCad-Professional
NoDisplay=false
Path=/home/muelux/CAD/QCad
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=

This entry works as it should.

Thanks

Funny,
FYI: LibreCAD was forked from QCAD Community Edition in 2010 …
I don’t think that QCAD is the alternative. :wink:

Regards,
CVH