I'am trying to compile qt-everywhere-opensource-src-5.8.0.tar.gz for static linking on macOS 10.12.4 using this options: ./configure -opensource -confirm-license -release -static -ssl -openssl-linked -opengl -nomake examples -prefix /Developer/Qt -recheck-all
The compilation of Qt finishes ok. But when I compile my application with this static Qt then compiler says me this:
This application failed to start because it could not find or load the Qt platform plugin "minimal"
in "".
Available platform plugins are: cocoa.
Reinstalling the application may fix this problem.
Why? Did I build Qt wrongly?
I think I need a precompiled -static Qt package with full support of everything. Where can I find it?
If such does not exist then may be a list of proper configure parameters and libraries (like icu and openssl) will help me.