Qt 5.11 + Embedded Linux + QtVirtualKeyboard segmentation fault
-
Run your app with a debugger - it will show you exactly where the crash happened.
Not running Boot2Qt is not in itself a problem. Check the documentation on Qt Virtual Keyboard (it contains a guide on how to deploy and use it), make sure you have it installed/ compiled with your Qt version.
-
Hello,
I'vd finish run my program with both desktop and arm in remote debut mode, but I cannot step into the process after enter engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
I also enabled the QT_DEBUG and QT_DEBUG_PLUGINS, the difference between both configuration is that the arm version stopped after load "libqtquicktemplates2plugin.so", the desktop version still loading following library:
loaded library "/usr/local/Qt-5.11.1/plugins/imageformats/libqgif.so"
loaded library "/usr/local/Qt-5.11.1/plugins/imageformats/libqicns.so"
loaded library "/usr/local/Qt-5.11.1/plugins/imageformats/libqico.so"
loaded library "/usr/local/Qt-5.11.1/plugins/imageformats/libqjpeg.so"
loaded library "/usr/local/Qt-5.11.1/plugins/imageformats/libqsvg.so"
loaded library "/usr/local/Qt-5.11.1/plugins/imageformats/libqtga.so"
loaded library "/usr/local/Qt-5.11.1/plugins/imageformats/libqtiff.so"
loaded library "/usr/local/Qt-5.11.1/plugins/imageformats/libqwbmp.so"
loaded library "/usr/local/Qt-5.11.1/plugins/imageformats/libqwebp.so"is the arm version crashed whiling loading libqgif.so?
how can I know what happen inside the qml loading process?
besides, my application runs correctly in both desktop and arm version without the "Input Panel" in the main.qml.
-
Do you have QtVirtualoKeyboard compiled in your ARM version of Qt?
-
Hello,
Yes, the program loaded the plugin,QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt/plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so" Found metadata in lib /usr/local/qt/plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so, metadata= { "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1", "MetaData": { "Keys": [ "qtvirtualkeyboard" ] }, "className": "QVirtualKeyboardPlugin", "debug": false, "version": 330497 } Got keys from plugin meta data ("qtvirtualkeyboard")
-
Hi Jason, We are too facing similar keyboard integration error for embedded linux. In this case did you rebuild the whole QT source code of v5.11 OR just QtQuickControl2 module only?