Macdeployqt does not create workable package
-
wrote on 7 Mar 2024, 11:00 last edited by philmaubois 3 Jul 2024, 11:01
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.
-
wrote on 7 Mar 2024, 14:52 last edited by philmaubois 3 Jul 2024, 14:54
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/2