Paraview cannot be launched (missing Qt libraries)

Created by Alice König, Modified on Mon, 1 Jun at 10:43 AM by Alice König

Problem description


The simulation could be launched successfully, and output data should have been written to the drive already. The
"Start Paraview" button in the visualiuation section is active but Paraview does not launch.


(Reported for

  • Ubuntu 22.04 and 24.04 and Paraview 5.12.1 and 5.13.1 (libqt5x11extras5)
  • Ubuntu 22.04 and Paraview 6.0.1 (xcb-cursor0; libxcb-cursor0)


Cause


ParaView does not ship all required libraries.

Possible missing libraries:

  1. libqt5x11extras5
  2. xcb-cursor0 or libxcb-cursor0


For identifying the root cause please go to the installation path of Paraview and try to launch it from the terminal. Have a look at the error message.


Example for error message:

/home/user/DCS-Computing/Aspherix-7.1.0/ParaView-6.0.1-MPI-Linux-Python3.12-x86_64/bin/paraview
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: xcb.


error: exception occurred: Subprocess aborted


Measure


Install the missing library:

  • sudo apt install libqt5x11extras5 
  • sudo apt install libxcb-cursor0 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article