Unsolved qt5.4 with platform eglfs is Segmentation fault
-
Hello, I have a question.
I use qt5.4 example on my imx6 board, then commad:
./usr/local/qt5/examples/widgets/richtext/textedit/textedit -platform linuxfb -plugin tslib
My board screen could show the "textedit".
But, if I command:
./usr/local/qt5/examples/widgets/richtext/textedit/textedit -platform eglfs -plugin tslib
The textedit application isn't work, and I got error:
Segmentation fault
I check /usr/local/qt5/plugins/platforms/, there are:
libqdirectfb.so libqeglfs.so libqlinuxfb.so libqminimalegl.so libqminimal.so libqoffscreen.so
I command export QT_DEBUG_PLUGINS=1, then run textedit with platform eglfs, I got the message:
root@freescale /usr/local/qt5$ ./examples/widgets/richtext/textedit/textedit -platform egl fs -plugin EvdevMouse QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/qt5/plugins/platforms" ... QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5/plugins/platforms/libqdirectfb.so" Found metadata in lib /usr/local/qt5/plugins/platforms/libqdirectfb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2", "MetaData": { "Keys": [ "directfb", "directfbegl" ] }, "className": "QDirectFbIntegrationPlugin", "debug": false, "version": 328704 } Got keys from plugin meta data ("directfb", "directfbegl") QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5/plugins/platforms/libqeglfs.so" Found metadata in lib /usr/local/qt5/plugins/platforms/libqeglfs.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2", "MetaData": { "Keys": [ "eglfs" ] }, "className": "QEglFSIntegrationPlugin", "debug": false, "version": 328704 } Got keys from plugin meta data ("eglfs") QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5/plugins/platforms/libqlinuxfb.so" Found metadata in lib /usr/local/qt5/plugins/platforms/libqlinuxfb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2", "MetaData": { "Keys": [ "linuxfb" ] }, "className": "QLinuxFbIntegrationPlugin", "debug": false, "version": 328704 } Got keys from plugin meta data ("linuxfb") QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5/plugins/platforms/libqminimal.so" Found metadata in lib /usr/local/qt5/plugins/platforms/libqminimal.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2", "MetaData": { "Keys": [ "minimal" ] }, "className": "QMinimalIntegrationPlugin", "debug": false, "version": 328704 } Got keys from plugin meta data ("minimal") QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5/plugins/platforms/libqminimalegl.so" Found metadata in lib /usr/local/qt5/plugins/platforms/libqminimalegl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2", "MetaData": { "Keys": [ "minimalegl" ] }, "className": "QMinimalEglIntegrationPlugin", "debug": false, "version": 328704 } Got keys from plugin meta data ("minimalegl") QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5/plugins/platforms/libqoffscreen.so" Found metadata in lib /usr/local/qt5/plugins/platforms/libqoffscreen.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2", "MetaData": { "Keys": [ "offscreen" ] }, "className": "QOffscreenIntegrationPlugin", "debug": false, "version": 328704 } Got keys from plugin meta data ("offscreen") QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/qt5/examples/widgets/richtext/textedit/platforms" ... loaded library "/usr/local/qt5/plugins/platforms/libqeglfs.so" Segmentation fault
Is the error have any patch to fix it ?
If you know the answer. Please help me, thx. -
This post is deleted!