I see QCAD has again a port to Qt6. Now no info about Wayland support. I tested now, and it seems Wayland is now fully supported ? “xlsclients” report that QCad is not with a X client… So ?
Please, communicate a little more your progress !! You do such a nice work so…
I am also having a problem running QCAD since upgrading to Pop_OS 24.04 LTS which relates to wayland. Any advice appreciated.
@johnnyzee Please be more specific about what problem exactly you are experiencing, so we can help efficiently (error messages, behavior, etc.), thanks.
Hi Andrew
Thanks for getting back to me. I love this program and really want to be able to use it.
I have been trying to install qcad 3.32.4 on a pc running Pop!_OS 24.04 LTS. It ran great on Pop!_OS 22.04. I have installed both the .tar.gz file and the .run
Below is what I am getting when trying to run the file loaded from tar.gz. I do not understand what the Qt platform is all about. I noticed that apps for Qt5 and Qt6 came with the update but have no idea how they relate to this. I wrote a bash script with the the line QT_QPA_PLATFORM=xcb ./qcad to load the program. That did not work so I tried to run it directly from terminal and got the following:
jwz@pop-os:/opt/qcad-3.32.4-pro-linux-x86_64$ ./qcad
QCAD version 3.32.4
Fatal: This application failed to start because it could not find or load the Qt platform plugin “wayland;xcb”
in “”.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Reinstalling the application may fix this problem.
./qcad: line 13: 3622 Aborted (core dumped) QT_AUTO_SCREEN_SCALE_FACTOR=0 LD_LIBRARY_PATH=“$DIR” “$binary” “$@”
QCAD has unexpectedly quit.
Please use the offscreen or minimal platform plugin for headless systems
(without a running X11 server):
./qcad -platform offscreen
In addition, you might have to override the default Qt style
to prevent the loading of a native desktop style (such as GTK):
./qcad -style plastique
jwz@pop-os:/opt/qcad-3.32.4-pro-linux-x86_64$ ./qcad -style plastique
QCAD version 3.32.4
Fatal: This application failed to start because it could not find or load the Qt platform plugin “wayland;xcb”
in “”.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Reinstalling the application may fix this problem.
./qcad: line 13: 3633 Aborted (core dumped) QT_AUTO_SCREEN_SCALE_FACTOR=0 LD_LIBRARY_PATH=“$DIR” “$binary” “$@”
QCAD has unexpectedly quit.
Please use the offscreen or minimal platform plugin for headless systems
(without a running X11 server):
./qcad -platform offscreen
In addition, you might have to override the default Qt style
to prevent the loading of a native desktop style (such as GTK):
./qcad -style plastique
Okay I got the program to run with the following command
jwz@pop-os:/opt/qcad-3.32.4-pro-linux-x86_64$ QT_QPA_PLATFORM=xcb ./qcad
but I cannot seem to get the bash file to run it
#!usr/bin/bash
echo “Open QCAD in X11 mode”
#open directory
cd /opt/qcad-3.32.4-pro-linux-x86_64
#run the program in X11 mode
QT_QPA_PLATFORM=xcb ./qcad