qt 5.8 raspberry pi plugin load error
<p>i just managed cross compilation using mac os x 10.12 (Sierra) and qt 5.8 for ARM (rasprerry pi). However it would be too easy if i do not encounter any problems. I create a very simple app, configure enviroment to execute it remotely from qt creator however i still got error once i try to execute:</p>

<pre><code>Cannot load library /usr/local/qt5pi/plugins/platforms/libqeglfs.so: (This platform does not support dynamic libraries.)
QLibraryPrivate::loadPlugin failed on "/usr/local/qt5pi/plugins/platforms/libqeglfs.so" : "Cannot load library /usr/local/qt5pi/plugins/platforms/libqeglfs.so: (This platform does not support dynamic libraries.)"
This application failed to start because it could not find or load the Qt platform plugin "eglfs"
in "".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc.

Reinstalling the application may fix this problem.
Aborted
</code></pre>

<p>looks like plugin is properly loaded:</p>

<pre><code>QT_DEBUG_PLUGINS=1 ./testrpi 
QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/qt5pi/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5pi/plugins/platforms/libqeglfs.so"
Found metadata in lib /usr/local/qt5pi/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 329728
}
</code></pre>

<p>but i think this line explains everything:</p>

<pre><code>QLibraryPrivate::loadPlugin failed on "/usr/local/qt5pi/plugins/platforms/libqeglfs.so" : "Cannot load library /usr/local/qt5pi/plugins/platforms/libqeglfs.so: (This platform does not support dynamic libraries.)"
</code></pre>

<p>and now my question is - what does it mean "This platform does not support dynamic libraries". How can i make my app working?</p>

<p>ldd shows that all libs exist, strace never shows open with negative resutlt. Im stuck, so any help appreciated!</p>