[Qtwebengine] qt 5.5.0 beta
Andras Becsi
andras.becsi at theqtcompany.com
Mon Jun 15 11:02:50 CEST 2015
Hi Tom,
QtWebEngine does not support embedded setups with X11 out-of-the-box, so
yes, your config can possibly work if you enable use_x11 in the config
pri, but it is not guaranteed to be functional, since the only supported
reference platform is the one provided by the Qt Enterprise Embedded /
Boot2Qt stack, which uses the eglfs platform plugin.
This means you'll probably have to dig into the configuration and try
out things yourself, but since your setup is basically equivalent with a
desktop setup, you could also try using the desktop_linux.pri
configuration. For this you'll probably have to tweak gyp_run.pro a bit.
/Andras
On 06/15/2015 10:42 AM, Tom Deblauwe wrote:
> Hello,
>
> I am trying out Qt 5.5.0-beta with webengine on buildroot. I am using
> X11, with the xcb platform plugin. I can succesfully start regular Qt
> apps, but when I want to use webengine in QML, then I have a crash when
> the webengine qml component initializes. It crashes in a call surrounded
> by an "USE_OZONE" ifdef:
>
> ui::OzonePlatform::GetInstance()
> ->GetGpuPlatformSupport()
> ->OnChannelEstablished(this);
>
> Is ozone always needed? I saw in the "embedded_linux.pri" that there is
> also a "use_x11=0" entry. Would it work if I would set that to
> "use_x11=1" and leave the rest as-is?
>
> This is the backtrace I get:
>
> 0 content::GpuChildThread::OnInitialize gpu_child_thread.cc 180
> 0xae3c2b4a
> 1 IPC::Message::Dispatch<content::GpuChildThread,
> content::GpuChildThread, void> ipc_message.h 152 0xae3c3e77
> 2 content::GpuChildThread::OnControlMessageReceived
> gpu_child_thread.cc 114 0xae3c2394
> 3 content::ChildThread::OnMessageReceived child_thread.cc 500
> 0xb026b2b9
> 4 IPC::ChannelProxy::Context::OnDispatchMessage
> ipc_channel_proxy.cc 274 0xb1ff09b9
> 5 base::internal::RunnableAdapter<void
> (IPC::ChannelProxy::Context::*)(IPC::Message const&)>::Run
> bind_internal.h 190 0xb1ff38bd
> 6 base::internal::InvokeHelper<false, void,
> base::internal::RunnableAdapter<void
> (IPC::ChannelProxy::Context::*)(IPC::Message const&)>, void
> (IPC::ChannelProxy::Context* const&, IPC::Message
> const&)>::MakeItSo(base::internal::RunnableAdapter<void
> (IPC::ChannelProxy::Context::*)(IPC::Message const&)>,
> IPC::ChannelProxy::Context* const&, IPC::Message const&)
> bind_internal.h 898 0xb1ff3588
> 7 base::internal::Invoker<2,
> base::internal::BindState<base::internal::RunnableAdapter<void
> (IPC::ChannelProxy::Context::*)(IPC::Message const&)>, void
> (IPC::ChannelProxy::Context*, IPC::Message const&), void
> (IPC::ChannelProxy::Context*, IPC::Message)>, void
> (IPC::ChannelProxy::Context*, IPC::Message
> const&)>::Run(base::internal::BindStateBase*) bind_internal.h 1253
> 0xb1ff30e2
> 8 base::Callback<void ()>::Run() const callback.h 401 0xae2c4af3
> 9 base::debug::TaskAnnotator::RunTask task_annotator.cc 63
> 0xb1f0a6a1
> 10 base::MessageLoop::RunTask message_loop.cc 447 0xb1f65ecd
> 11 base::MessageLoop::DeferOrRunPendingTask message_loop.cc 456
> 0xb1f65f9e
> 12 base::MessageLoop::DoWork message_loop.cc 565 0xb1f664e1
> 13 base::MessagePumpDefault::Run message_pump_default.cc 32
> 0xb1f6c438
> 14 base::MessageLoop::RunHandler message_loop.cc 415 0xb1f65bb9
> 15 base::RunLoop::Run run_loop.cc 55 0xb1f97aa5
> 16 base::MessageLoop::Run message_loop.cc 308 0xb1f6524b
> 17 base::Thread::Run thread.cc 174 0xb1fcae71
> 18 base::Thread::ThreadMain thread.cc 228 0xb1fcb122
> 19 base::(anonymous namespace)::ThreadFunc
> platform_thread_posix.cc 80 0xb1fc0729
> 20 start_thread pthread_create.c 310 0xb587211f
> ... <More>
>
> Best regards,
> Tom,
>
> _______________________________________________
> QtWebEngine mailing list
> QtWebEngine at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qtwebengine
>
--
Best regards,
András Bécsi
Software Engineer | The Qt Company
The Qt Company AS
Sandakerveien 116
0484 Oslo, Norway
Mailing address:
PO Box 23 Nydalen
0410 Oslo, Norway
Visit us on: http://www.qt.io
More information about the QtWebEngine
mailing list