I'm trying to get the QCAD command line tools running on a Centos 7.4 machine.
Here's one attempt:
Code: Select all
[root@localhost qcad-3.19.2-pro-linux-x86_64]# ./dwg2svg
QCAD version 3.19.2
Fatal: This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Reinstalling the application may fix this problem.
./qcad: line 8: 2030 Aborted LD_LIBRARY_PATH="$DIR" "$binary" "$@"
QCAD has unexpectedly quit.
Please use the offscreen 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
OK, so I tried QCAD directly:
Code: Select all
[root@localhost qcad-3.19.2-pro-linux-x86_64]# ./qcad -no-dock-icon -no-gui -platform offscreen
QCAD version 3.19.2
Fatal: This application failed to start because it could not find or load the Qt platform plugin "offscreen"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Reinstalling the application may fix this problem.
./qcad: line 8: 2037 Aborted LD_LIBRARY_PATH="$DIR" "$binary" "$@"
QCAD has unexpectedly quit.
Please use the offscreen 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
Code: Select all
[root@localhost qcad-3.19.2-pro-linux-x86_64]# echo $LD_LIBRARY_PATH
/root/opt/qcad-3.19.2-pro-linux-x86_64/platforms:/
Code: Select all
export QT_STYLE_OVERRIDE=""
Code: Select all
export QT_QPA_FONTDIR=fonts/qt
Any help you could provide on this would be greatly appreciated. I want to buy a server license, but I want to make sure what I'm trying will work correctly first!