[Development] Possible bug in qwaylandbrcmeglintegration.h when cross compiling for Raspberry Pi

Giulio Camuffo giuliocamuffo at gmail.com
Sun Mar 29 10:51:55 CEST 2015


2015-03-28 16:37 GMT+02:00 Guido Seifert <wargand at gmx.de>:
> Hi,
> first I must say, I don't really know what I am doing here... new frontiers for me.
>
> I compile Qt 5.5 (latest git master) for Raspian. Not out of the box possible, but
> no rocket science either.
>
> The one of the problems was (is) in qtwayland. During compilation I get:
>
>> ../../../../hardwareintegration/client/brcm-egl/qwaylandbrcmeglintegration.cpp:60:120: error: cannot convert 'QtWaylandClient::wl_registry*' to
>> 'wl_registry*' for argument '1' to 'void* wl_registry_bind(wl_registry*, uint32_t, const wl_interface*, uint32_t)'
>> integration->m_waylandBrcm = static_cast<struct qt_brcm*>(wl_registry_bind(registry, id, &qt_brcm_interface, 1));
>
> I can fix this compile error by adding
>
>> #include <QtWaylandClient/private/qwayland-wayland.h>
>
> to qwaylandbrcmeglintegration.h.
>
> Question is... is this a genuine bug, or does it only happen due to some cross compile peculiarities or a configurion glitch?
> Even if it is due to compile peculiarities, any reason not to add this header file to qwaylandbrcmeglintegration.h?
> Would make it easier for others to cross compile Qt5.

Yes, it is a genuine bug. The problem is that few people have a
Raspberry to test qtwayland on so bugs may slip.
Anyway, see https://codereview.qt-project.org/#/c/109416/


--
Giulio

>
> Guido
>
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development



More information about the Development mailing list