arm - QQmlPropertyCache: QQuickItem has FastProperty class info, but has not installed property accessors -
built raspberry pi 2 linux distro including qt5.4 + qtwebkit + qml plugin using yocto on fido
branch see tutorial
testing following qml script
root@raspberrypi2:~# more webkit.qml import qtwebkit 3.0 webview { url: "http://www.nokia.com" preferredwidth: 490 preferredheight: 400 scale: 0.5 smooth: false }
when running script getting following error:
root@raspberrypi2:~# /usr/bin/qt5/qmlscene --platform eglfs webkit.qml unable query physical screen size, defaulting 100 dpi. override, set qt_qpa_eglfs_physical_width , qt_qpa_eglfs_physical_height (in millimeters). qqmlpropertycache: qquickitem has fastproperty class info, has not installed property accessors aborted
any pointers?
i had same problem. solution add line
import qtquick 2.0
to qml file.
Comments
Post a Comment