cjhosken / NCCARenderFarmTools

My attempt at improving the NCCA renderfarm.
GNU General Public License v3.0
1 stars 0 forks source link

Application not running on linux (qt.qpa.plugin) #11

Closed cjhosken closed 2 months ago

cjhosken commented 3 months ago
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
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, vkkhrdisplay, vnc, wayland-egl, wayland, xcb.

The quick fix for this should be sudo yum install xcb-cursor0

cjhosken commented 3 months ago

I've switch to now building the python application into a executable. When building on linux I see these errors. 30077 WARNING: Library not found: could not resolve 'libxcb-cursor.so.0', dependency of '/home/s5605094/.pyenv/versions/3.8.10/lib/python3.8/site-packages/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so'. 30077 WARNING: Library not found: could not resolve 'libxcb-cursor.so.0', dependency of '/home/s5605094/.pyenv/versions/3.8.10/lib/python3.8/site-packages/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so'. 30077 WARNING: Library not found: could not resolve 'libxcb-cursor.so.0', dependency of '/home/s5605094/.pyenv/versions/3.8.10/lib/python3.8/site-packages/PyQt6/Qt6/plugins/platforms/libqxcb.so'. 30077 WARNING: Library not found: could not resolve 'libxcb-cursor.so.0', dependency of '/home/s5605094/.pyenv/versions/3.8.10/lib/python3.8/site-packages/PyQt6/Qt6/lib/libQt6XcbQpa.so.6'.

cjhosken commented 2 months ago

dnf --enablerepo=devel install xcb-util-cursor-devel

https://pkgs.org/download/libxcb-cursor.so.0()(64bit)

this should get xcb-cursor0 to work on the lab machines