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. Could not load the Qt platform plugin "cocoa" in "" even though it was found.

Could not load the Qt platform plugin "cocoa" in "" even though it was found.

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 3.9k Views
  • 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.
  • R Offline
    R Offline
    RahibeMeryem
    wrote on last edited by
    #1

    I have strange this strange error which program running few hours ago. Other programs runs withoıut problem.

    qt.qpa.plugin: Could not load the Qt platform plugin "cocoa" 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: cocoa.
    
    The program has unexpectedly finished.
    The process was ended forcefully.
    

    Any idea ?

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

      Hi,

      How are you starting that application ?

      Did you use macdeployqt on it before running it ?

      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
      • R RahibeMeryem

        I have strange this strange error which program running few hours ago. Other programs runs withoıut problem.

        qt.qpa.plugin: Could not load the Qt platform plugin "cocoa" 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: cocoa.
        
        The program has unexpectedly finished.
        The process was ended forcefully.
        

        Any idea ?

        A Offline
        A Offline
        ambershark
        wrote on last edited by
        #3

        @RahibeMeryem It's possible you are mixing Qt versions. What does otool -L yourapp show?

        My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

        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