jurplel / install-qt-action

Install Qt on your Github Actions workflows with just one simple action
MIT License
446 stars 78 forks source link

Add libxcb-cursor0 to Linux dependencies for Qt 6.5 and up #221

Closed IgKh closed 5 months ago

IgKh commented 5 months ago

Starting Qt 6.5.0, the XCB platform plugin for Linux/X11 also depends on xcb-cursor0 at runtime, logging as much if the compiled application is started without it being present:

from 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform 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.

To resolve this in cases where the application needs to be run within the actions workflow, this PR add the requisite Ubuntu package to the dependency packages installed by the action.

IgKh commented 5 months ago

Thanks @pzhlkj6612! I've applied your suggestion.

jurplel commented 5 months ago

Thank you for your contribution!