# Pls Help macOS: Error could not load Qt platform plugin "xcb" even though it was found

**URL:** https://discourse.paraview.org/t/pls-help-macos-error-could-not-load-qt-platform-plugin-xcb-even-though-it-was-found/9134
**Category:** ParaView Support
**Created:** [March 7, 2022, 4:35am UTC](https://discourse.paraview.org/t/pls-help-macos-error-could-not-load-qt-platform-plugin-xcb-even-though-it-was-found/9134 "2022-03-07T04:35:46Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![marylizzle](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/54ee81/32.png) [@marylizzle](https://discourse.paraview.org/u/marylizzle)
#### Post date: [March 7, 2022, 4:35am UTC](https://discourse.paraview.org/t/pls-help-macos-error-could-not-load-qt-platform-plugin-xcb-even-though-it-was-found/9134/1 "2022-03-07T04:35:46Z")

</div>

Hello,  
I’m trying to download open foam following the instructions on [Download OpenFOAM v8 | macOS | OpenFOAM – OpenFOAM](https://openfoam.org/download/8-macos/)

1. Downloaded Docker [successful]
2. Downloaded XQuartz (XQuartz-2.8.1) [successful]
3. Created an openfoam directory to later store pitzDaily [successful]
4. Installed openfoam-8macos (using commands in step 3 on [openfoam.org](http://openfoam.org)) [successful]
5. Downloaded ParaView-5.9.1-MPI-OSX10.13-Python3.8-64bit.pkg [successful]
6. Launched open foam with ParaView (using commands in step 6 on open [foam.org](http://foam.org)) [successful]
7. Testing openfoam8-macos (using commands in step 7 on open [foam.org](http://foam.org)) [–ERROR–]

Error Faced: When executing the final command paraFoam the following error pops up-

“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, vnc, xcb.”

How can I resolve this issue? Any help is appreciated :(☹

About this Mac: MacBook Air (Retina, 13-inch, 2019) Processor 1.6 GHz Dual-Core Intel Core i5 Memory 8 GB 2133 MHz LPDDR3 Startup Disk Macintosh HD Graphics Intel UHD Graphics 617 1536 MB

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 7, 2022, 9:57am UTC](https://discourse.paraview.org/t/pls-help-macos-error-could-not-load-qt-platform-plugin-xcb-even-though-it-was-found/9134/2 "2022-03-07T09:57:53Z")

</div>

Not a ParaView issue (as I already pointed to you on reddit).

Do not use ParaFOAM, use ParaView:

> [@I want to visualize my OpenFOAM simulation results with ParaView but I'm confused, which version should I use ?](https://discourse.paraview.org/t/i-want-to-visualize-my-openfoam-simulation-results-with-paraview-but-im-confused-which-version-should-i-use/7232):
>
> Short Answer: go to [paraview.org/download](http://paraview.org/download) download the last version of ParaView available Use it to visualize your results Long Answer: OpenFOAM ships with a script named paraFoam, which can be used to call ParaView with custom OpenFOAM-specific reader modules, as well as with the standard reader that comes with ParaView/VTK. As stated in the OpenFOAM wiki, There is almost no reason to use these particular reader modules instead of the official binary release. Also, this discourse can…

---

<div class="post-metadata">

### Author: ![marylizzle](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/54ee81/32.png) [@marylizzle](https://discourse.paraview.org/u/marylizzle)
#### Post date: [March 7, 2022, 11:04am UTC](https://discourse.paraview.org/t/pls-help-macos-error-could-not-load-qt-platform-plugin-xcb-even-though-it-was-found/9134/3 "2022-03-07T11:04:33Z")

</div>

Ive tried these suggestions but it didn’t work for me, that’s why I posted here for more opinions. Tried paraFoam -vtk or paraFoam -builtin didn’t work. Tried to load my open foam file directly into Paraview didn’t work as it said the file couldn’t be read.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 7, 2022, 11:05am UTC](https://discourse.paraview.org/t/pls-help-macos-error-could-not-load-qt-platform-plugin-xcb-even-though-it-was-found/9134/4 "2022-03-07T11:05:19Z")

</div>

> [@marylizzle](#):
>
> Tried to load my open foam file directly into Paraview didn’t work as it said the file couldn’t be read.

Share your data.
