QCad Installation, Desktop-Entry under Ubuntu 22.04.2 LTS

Post your question about installing or upgrading QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Post one question per topic.

Post Reply
mue.de
Registered Member
Posts: 2
Joined: Fri Mar 17, 2023 5:24 pm

QCad Installation, Desktop-Entry under Ubuntu 22.04.2 LTS

Post by mue.de » Fri Mar 17, 2023 6:21 pm

Hello,

I've used QCad a long time ago (i think under Windows) and discovered it accidently new as an alternative to <I><s></s>LibreCAD<e></e></I>.<br/>
I purchased and downloaded the qcad-3.27.9-pro-linux-x86_64.tar.gz - Version of the program, extracted it to

Code: Select all

/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:

Code: Select all

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:

Code: Select all

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):

Code: Select all

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

mue.de
Registered Member
Posts: 2
Joined: Fri Mar 17, 2023 5:24 pm

Re: QCad Installation, Desktop-Entry under Ubuntu 22.04.2 LTS

Post by mue.de » Fri Mar 17, 2023 6:36 pm

Sorry for my early question, i found myself a solution by 'click-i-bunt-i' ( :oops: ;-) ), that means i created an '.desktop'-entry under GUI:

Code: Select all

[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

Post Reply

Return to “QCAD Installation and Upgrades”