Could not load the Qt platform plugin "cocoa" in "" even though it was found.
Unsolved
General and Desktop
-
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 ?
-
Hi,
How are you starting that application ?
Did you use
macdeployqt
on it before running it ? -
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 ?
@RahibeMeryem It's possible you are mixing Qt versions. What does
otool -L yourapp
show?