Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Pls Help macOS: Error could not load Qt platform plugin "xcb" even though it was found
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 759 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    marylizzle
    wrote on last edited by
    #1

    Hello,
    I'm trying to download open foam following the instructions on 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) [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) [successful]
    7. Testing openfoam8-macos (using commands in step 7 on open 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

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      The usual way to start debugging that is to start your application with the QT_DEBUG_PLUGINS environment variable set to 1.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved