Приветствую. Разрабатываю qml приложения для openembedded. Железка Atom T640, gma600. Для этой железки была выбрана ветка Daisy https://www.yoctoproject.org/downloads/bsps/daisy161/crown-bay, qt5.2.1. В Qt есть пример QCinematicExpirience, на этой сборке он работает без проблем. На хостовую машину поставил тоже qt5.2.1 и скомпилил шаблонный проеки qml и включил его в сборку
import QtQuick 2.0
Rectangle {
width: 360
height: 360
Text {
text: qsTr("Hello world!")
anchors.centerIn: parent
}
MouseArea {
anchors.fill: parent
onClicked: {
Qt.quit();
}
}
}
И тоже все гуд. Но при попытке изменить надпись на кириллицу, приложений падает (Segmentation Fault). Вот что показывает gdb:
(gdb) start
Temporary breakpoint 1 at 0x8049a50: file ../test_qml3/untitled/main.cpp, line 5.
Starting program: /home/root/./untitled
To enable execution of this file add
add-auto-load-safe-path /lib/libthread_db-1.0.so
line to your configuration file "/home/root/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
Temporary breakpoint 1, main (argc=1, argv=0xbffffc04)
at ../test_qml3/untitled/main.cpp:5
(gdb) next
8 in ../test_qml3/untitled/main.cpp
(gdb)
5 in ../test_qml3/untitled/main.cpp
(gdb) next
6 in ../test_qml3/untitled/main.cpp
(gdb)
8 in ../test_qml3/untitled/main.cpp
(gdb)
9 in ../test_qml3/untitled/main.cpp
(gdb) next
[New LWP 845]
10 in ../test_qml3/untitled/main.cpp
(gdb)
12 in ../test_qml3/untitled/main.cpp
(gdb)
[New LWP 846]
Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 846]
0xb6cc2669 in ?? () from /usr/lib/libEMGDOGL.so
(gdb) q
Перемещено shell-script из general