22.03.2019, 19:11, "Denis Shienkov" <denis.shien...@gmail.com>: > Hi all, > > I'm trying to build a Yocto image, but the config tests fails on 'executing > config test egl-x11' test with: > >> In file included from main.cpp:7:0: >> main.cpp: In function 'int main(int, char**)': >> main.cpp:15:20: error: cannot convert 'EGLNativeDisplayType {aka >> wl_display*}' to 'Display* {aka _XDisplay*}' in initialization >> Display *dpy = EGL_DEFAULT_DISPLAY; >> ^ >> In file included from >> /mnt/data/Yocto-miatech/yocto-miatech/build-apalis-imx6/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.11.2+gitAUTOINC+5b6eb8e247-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:38:0, >> from >>/mnt/data/Yocto-miatech/yocto-miatech/build-apalis-imx6/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.11.2+gitAUTOINC+5b6eb8e247-r0/recipe-sysroot/usr/include/EGL/egl.h:39, >> from main.cpp:7: >> /mnt/data/Yocto-miatech/yocto-miatech/build-apalis-imx6/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.11.2+gitAUTOINC+5b6eb8e247-r0/recipe-sysroot/usr/include/EGL/eglvivante.h:111:16: >> note: class type 'wl_display' is incomplete >> typedef struct wl_display * EGLNativeDisplayType;
it seems like your EGL implementation is configured to use Wayland instead of X11 -- Regards, Konstantin _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development