[Qtwebengine] Welcome to the "QtWebEngine" mailing list
JacobZ
jacobzzz at gmail.com
Mon Jun 9 17:03:19 CEST 2014
Hi ,
I am trying to get QtWebengine, quicknanobrowser running on the Freescale
i.MX6 reference board using Yocto toolchain and sysroot ('bitbake
core-image-minimal' with eglfs (seen on
http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard ).
I built Qt-5.2.1 and have it running on the iMX6 with the
QCinematicExperience example. But the Qt-5.2.1/qml/QtQuick/'Controls',
'Layouts' folders, QtWebEngine are missing, and this causes
quicknanobrowser to fail with the error messages:
root at imx6qsabresd:/usr/lib/qt5# ~/quicknanobrowser -platform eglfs
...
QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
QQmlApplicationEngine failed to load component
qrc:/quickwindow.qml:42 module "QtWebEngine" is not installed
qrc:/quickwindow.qml:43 module "QtQuick.Controls" is not installed
qrc:/quickwindow.qml:45 module "QtQuick.Layouts" is not installed
qrc:/quickwindow.qml:47 module "QtQuick.Controls.Private" is not installed
qrc:/quickwindow.qml:44 module "QtQuick.Controls.Styles" is not installed
The Boot2Qt installation has these folders though. So I looked back at my
Qt-5.2.1 make log and I see
============================================
*make[1]: Entering directory
`/home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtquickcontrols'Some of the
required modules (contains(QT_CONFIG, accessibility)) are not
available.Skipped.*============================================
Is accessibility required for QtWebengine, quicknanobrowser to work? When I
add accessibility to the configure command, there are accessibility make
errors and the build fails.
============================================
*.obj/qeglfsintegration.o: In function
`QEglFSIntegration::QEglFSIntegration()':qeglfsintegration.cpp:(.text+0x668):
undefined reference to `vtable for
QFontconfigDatabase'.obj/qeglfsintegration.o:(.data.rel.ro
<http://data.rel.ro>+0x44): undefined reference to
`QPlatformIntegration::accessibility()
const'.obj/qeglfsintegration.o:(.data.rel.ro <http://data.rel.ro>+0x6c):
undefined reference to
`QPlatformIntegration::createPlatformSessionManager(QString const&, QString
const&) const'*
============================================
Can you advise a good configure command line (instructions?) to build
Qt-5.2.1 using Yocto for the i.MX6 board, and get QtWebengine,
quicknanobrowser running?
The configure line I used is below
~/qt/build-imx6-yocto-tc-Qt-5.2.1$
../qt-everywhere-opensource-src-5.2.1/configure -v -opensource
-confirm-license -device imx6 -device-option
CROSS_COMPILE=/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-
-sysroot ~/imx/fsl-bsp/build-imx6qsabresd/tmp/sysroots/imx6qsabresd -prefix
~/qt5.2.1-imx6 -platform linux-g++ -shared -no-pch -no-rpath -pkg-config
-no-accessibility -no-dbus -no-icu -no-directfb -evdev -no-fontconfig
-no-opengl -opengl es2 -eglfs -no-glib -no-gtkstyle -no-iconv
-system-libjpeg -no-kms -system-libpng -no-linuxfb -no-mitshm -no-nis
-openssl -qt-pcre -release -no-sm -no-sql-db2 -no-sql-ibase -no-sql-mysql
-no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2
-no-sql-tds -nomake tests -tslib -libudev -widgets -no-xcb -no-xcursor
-no-xfixes -no-xinerama -no-xinput -no-xinput2 -no-xkb -no-xrandr
-no-xrender -no-xshape -no-xsync -no-xvideo -system-zlib
Thanks in advance
==================
I can send the full make log (500K tgz), but here is the snippet from the
log showing the skipped qtquickcontrols .
Info: creating cache file
/home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtgraphicaleffects/.qmake.cache
Info: creating cache file
/home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtmultimedia/.qmake.cache
Checking for openal... Info: creating cache file
/home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtsensors/.qmake.cache
make[1]: Entering directory `/home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtdoc'
cd doc/ && ( test -e Makefile ||
/home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtbase/bin/qmake
/home/jz/qt/qt-everywhere-opensource-src-5.2.1/qtdoc/doc/doc.pro -o
Makefile ) && make -f Makefile
make[1]: Entering directory
`/home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtquickcontrols'
Some of the required modules (contains(QT_CONFIG, accessibility)) are not
available.
Skipped.
make[1]: Leaving directory
`/home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtquickcontrols'
make[1]: Entering directory
`/home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtgraphicaleffects'
cd src/ && ( test -e Makefile ||
/home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtbase/bin/qmake
/home/jz/qt/qt-everywhere-opensource-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20140609/1637862b/attachment.html>
More information about the QtWebEngine
mailing list