I am trying to compile Qt 5.3.2 for i.MX6, using Yocto. I am using the "dizzy" branches of both "fsl-community-bsp" and "meta-qt5".
The compilation succeeds, I compile "meta-toolchain-qt5" and I configure QtCreator... actually I am able to run minimal Qt applications (both widget-based and QML-based). My problem comes when I want to use the QML WebView element... In such a scenario the application crashes with various (random?) errors: SIGILL, SIGABRT, pointer exceptions and so on... as if someone is overwriting the code memory with garbage... Here it the full stacktrace (taken from QtCreator):
My source code is very simple... my "main.cpp" is the following:
int main(int argc, char *argv)
QApplication app(argc, argv);
My "main.qml" is the following:
import QtQuick 2.3
import QtWebKit 3.0
text: qsTr("Hello World")
"test.html" is a standard HTML page (only some sample text in it)...
If I remove "WebView" from my QML the application works fine... Any ideas about what is causing the problem? Does someone else has similar problems?
If it helps, please consider that using Yocto I have compiled the image named "fsl-image-multimedia-full" and all Yocto and meta-qt5 files are unchanged, except for the fact that I made some modifications to avoid compiling Qt examples, to exclude xcb and dbus support and to include sqlite support.