install on centos 8.2 error

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
Ivan1
Newbie Member
Posts: 7
Joined: Wed Aug 31, 2022 9:52 am

install on centos 8.2 error

Post by Ivan1 » Wed Aug 31, 2022 9:55 am

[root@iZ2ze6ta7dum4os0vjq46jZ qcad-3.27.6-pro-linux-x86_64]# ./dwg2maptiles
QCAD version 3.27.6
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 13: 25441 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

User avatar
andrew
Site Admin
Posts: 9052
Joined: Fri Mar 30, 2007 6:07 am

Re: install on centos 8.2 error

Post by andrew » Wed Aug 31, 2022 9:59 am

Please try instead the package:

QCAD Professional 3.27.6 for Linux Qt 5.14 64bit (Installer)

qcad-3.27.6-pro-linux-qt5.14-x86_64.run

Ivan1
Newbie Member
Posts: 7
Joined: Wed Aug 31, 2022 9:52 am

Re: install on centos 8.2 error

Post by Ivan1 » Wed Aug 31, 2022 10:08 am

[root@iZ2ze6ta7dum4os0vjq46jZ qcad-3.27.6-pro-linux-qt5.14-x86_64]# ./dwg2maptiles
QCAD version 3.27.6
17:07:48: Info: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

./qcad: line 13: 1681 Aborted (core dumped) QT_AUTO_SCREEN_SCALE_FACTOR=1 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

User avatar
andrew
Site Admin
Posts: 9052
Joined: Fri Mar 30, 2007 6:07 am

Re: install on centos 8.2 error

Post by andrew » Wed Aug 31, 2022 11:02 am

Do you have a graphical user interface or just a console? In the latter case, try:

Code: Select all

./dwg2maptiles -platform offscreen -h
It seems to work fine on CentOS 8.2 here.

Ivan1
Newbie Member
Posts: 7
Joined: Wed Aug 31, 2022 9:52 am

Re: install on centos 8.2 error

Post by Ivan1 » Sat Sep 03, 2022 3:34 pm

it's ok,thanks!

Post Reply

Return to “QCAD Installation and Upgrades”