Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-68342

Unable to cross-compile with Raspbian Stretch sysroot and toolchain

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.12.1
    • Build System

      When the user follows the instructions of Qt document (https://wiki.qt.io/RaspberryPi2EGLFS) to cross-compile Qt with Raspbian Stretch sysroot and toolchain, they will get compile error because of EGL header (eglext.h) mismatch.

      There was also a discussion on Qt forum complaining about this.
      > qtbase compilation error with --device linux-rasp-pi3-g++ qeglfskmsgbmwindow.cpp

      https://forum.qt.io/topic/88588/qtbase-compilation-error-with-device-linux-rasp-pi3-g-qeglfskmsgbmwindow-cpp

      eglfskmsgbmwindow.cpp: In member function ‘virtual void QEglFSKmsGbmWindow::resetSurface()’: qeglfskmsgbmwindow.cpp:58:5: error:
      
      ‘PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC’ was not declared in this scope
      
      PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC createPlatformWindowSurface = nullptr;
      ...
      Makefile:3473: recipe for target '.obj/qeglfskmsgbmwindow.o' failed
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ryan_chu Ryan Chu
            ryan_chu Ryan Chu
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes