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. Qt 5.5 OSX - This application failed to start because it could not find or load the Qt platform plugin "cocoa".
Qt 6.11 is out! See what's new in the release blog

Qt 5.5 OSX - This application failed to start because it could not find or load the Qt platform plugin "cocoa".

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.7k 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.
  • D Offline
    D Offline
    dan_ibis
    wrote on last edited by
    #1

    When I build my app in Qt Creator, it runs fine under Debug mode. When I switch to Release mode, clean, run qmake, and rebuild... I get the following error when running the Release version:

    This application failed to start because it could not find or load the Qt platform plugin "cocoa".

    Any ideas??

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dan_ibis
      wrote on last edited by
      #2

      I found that if I run macdeployqt after I build it, I get that error. I have to delete the whole build directory content before running it again and it's fine after.

      1 Reply Last reply
      0

      • Login

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