Advertisement

Fixing QT compile error: invalid conversion from 'Window' (aka 'long unsigned int') to 'EGLNativeWindowType'

阅读量:

问题

在瑞萨开发板上进行QT编译操作时,所采用的显示环境为wayland,但在编译流程中遇到了以下错误问题。

复制代码
    compiling camera/qcameraexposure.cpp
    ../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp: In member function ‘void QtWaylandClient::QWaylandXCompositeEGLWindow::createEglSurface()’:
    ../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:124:82: error: invalid conversion from ‘Window’ {aka ‘long unsigned int’} to ‘EGLNativeWindowType’ {aka ‘void*’} [-fpermissive]
     m_surface = eglCreateWindowSurface(m_glxIntegration->eglDisplay(), m_config, m_xWindow,0);

全部评论 (0)

还没有任何评论哟~