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

Unable to cross-compile with Raspbian Stretch sysroot and toolchain

    XMLWordPrintable

Details

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

    Description

      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
      

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes