Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Macdeployqt does not create workable package
Forum Update on Monday, May 27th 2025

Macdeployqt does not create workable package

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 1 Posters 209 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.
  • P Offline
    P Offline
    philmaubois
    wrote on 7 Mar 2024, 11:00 last edited by philmaubois 3 Jul 2024, 11:01
    #1

    Hello all,
    My setup as follow: Mac os Big Sur, QT6.6.2, Qt Creator 12.0.2.
    I have developped a c++ widgets app using qmake .pro file which works properly in debug and release mode, but I am stucked when I use "macdeployqt".
    The app scrashes on the same computer and I get this message if I launch derectly the app file:
    "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."

    I have tried several times but I don't know what I am doing wrong!!
    Could someone help me please ?

    Thanks a lot by advance,

    Best regards.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      philmaubois
      wrote on 7 Mar 2024, 14:52 last edited by philmaubois 3 Jul 2024, 14:54
      #2

      Hello,
      I have just tried to run again the macdeployqt app on another mac computer using macos Monterey (12.7.1) and Qt6.0.0 .
      I was able to create the dmg file that I have installed without any problem. The app runs well.
      I think that something was wrong with my own mac installation somewhere, thus I am upgrading the imac to Ventura and reinstall completely Qt Creator with the last release,
      Hope that everything will doing well,
      Thanks anyway

      1 Reply Last reply
      1

      1/2

      7 Mar 2024, 11:00

      • Login

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