Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QXCBEGLWindow problem in cross-compile
Qt 6.11 is out! See what's new in the release blog

QXCBEGLWindow problem in cross-compile

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 442 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    FelipeMenezes
    wrote on last edited by
    #1

    I'm trying to cross-compile qt5 with a raspberry pi 3

    After the configure when a i run make I get the following error

    This is my configure options
    ./configure -release -opengl es2 -no-use-gold-linker -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=$RPI_TOOLCHAIN -sysroot $RPI_SYSROOT -opensource -confirm-license -make libs -optimized-qmake -reduce-exports -release -prefix /usr/local/qt5pi -v

    this is the error i got
    qxcbeglwindow.cpp: Na função membro ‘virtual void QXcbEglWindow::create()’:
    qxcbeglwindow.cpp:96:92: erro: conversão de ‘xcb_window_t {aka unsigned int}’ para ‘EGLNativeWindowType {aka void*}’ inválida [-fpermissive]
    m_surface = eglCreateWindowSurface(m_glIntegration->eglDisplay(), m_config, m_window, 0);
    ^
    In file included from ../../../../../../include/QtEglSupport/5.9.3/QtEglSupport/private/../../../../../src/platformsupport/eglconvenience/qt_egl_p.h:65:0,
    from ../../../../../../include/QtEglSupport/5.9.3/QtEglSupport/private/qt_egl_p.h:1,
    from qxcbeglinclude.h:49,
    from qxcbeglwindow.h:45,
    from qxcbeglwindow.cpp:40:
    /mnt/rasp_pi_root_fs/opt/vc/include/EGL/egl.h:265:31: erro: inicializando argumento 3 de ‘void* eglCreateWindowSurface(EGLDisplay, EGLConfig, EGLNativeWindowType, const EGLint*)’ [-fpermissive]
    EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config,
    ^
    Makefile:2844: recipe for target '.obj/qxcbeglwindow.o' failed
    make[7]: *** [.obj/qxcbeglwindow.o] Error 1
    make[7]: Leaving directory '/home/felipe/Qt/5.9.3/Src/qtbase/src/plugins/platforms/xcb/gl_integrations/xcb_egl'
    Makefile:44: recipe for target 'sub-xcb_egl-make_first' failed
    make[6]: *** [sub-xcb_egl-make_first] Error 2
    make[6]: Leaving directory '/home/felipe/Qt/5.9.3/Src/qtbase/src/plugins/platforms/xcb/gl_integrations'
    Makefile:104: recipe for target 'sub-gl_integrations-make_first-ordered' failed
    make[5]: *** [sub-gl_integrations-make_first-ordered] Error 2
    make[5]: Leaving directory '/home/felipe/Qt/5.9.3/Src/qtbase/src/plugins/platforms/xcb'
    Makefile:100: recipe for target 'sub-xcb-make_first' failed
    make[4]: *** [sub-xcb-make_first] Error 2
    make[4]: Leaving directory '/home/felipe/Qt/5.9.3/Src/qtbase/src/plugins/platforms'
    Makefile:101: recipe for target 'sub-platforms-make_first' failed
    make[3]: *** [sub-platforms-make_first] Error 2

    Sorry for any mistakes in writing this post.
    This is my first post

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved