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

Compiling static version fails due to missing EGL/egl.h

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.14.0
    • Build System
    • None
    • Win10, 1909, mingw32_730 from qt package
    • Windows

    Description

      Using the source package 5.14.0 and using the original PowerShell Script with following params

      $QtSrcUrl = "http://download.qt-project.org/official_releases/qt/5.14/5.14.0/single/qt-everywhere-opensource-src-5.14.0.zip", 
      $QtStaticDir = "C:\Qt5.14\Static", 
      $QtVersion = "", 
      $MingwDir = "C:\Qt5.14\Tools\mingw730_32", [switch]
      $NoPause = $false
      cmd /c "configure.bat -static -debug-and-release -platform win32-g++ -prefix $QtDir ` -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -qt-sql-sqlite -no-openssl ` -opensource -confirm-license ` -make libs -nomake tools -nomake examples -nomake tests"

      it stops because of missing

      EGL/egl.h

      .

      With this modified script it again complains about missing egl.h.

      cmd /c "configure.bat -static -no-pch -release -platform win32-g++ -prefix $QtDir ` -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -qt-sql-sqlite -no-openssl ` -opensource -confirm-license -skip qtwebengine -static-runtime ` -make libs -nomake tools -nomake examples -nomake tests"

      Output:

      In file included from qwindowsintegration.cpp:85:0:
      qwindowseglcontext.h:45:10: fatal error: EGL/egl.h: No such file or directory
       #include <EGL/egl.h>
                ^~~~~~~~~~~
      compilation terminated.
      mingw32-make[5]: *** [Makefile:3571: .obj/qwindowsintegration.o] Error 1
      
      ...
      
      In file included from qwindowseglcontext.cpp:40:0:
      qwindowseglcontext.h:45:10: fatal error: EGL/egl.h: No such file or directory
       #include <EGL/egl.h>
                ^~~~~~~~~~~
      compilation terminated.
      mingw32-make[5]: *** [Makefile:9567: .obj/qwindowseglcontext.o] Error 1
      
      ...
      
      In file included from ..\windows\qwindowsintegration.cpp:85:0:
      ..\windows\qwindowseglcontext.h:45:10: fatal error: EGL/egl.h: No such file or directory
       #include <EGL/egl.h>
                ^~~~~~~~~~~
      compilation terminated.
      mingw32-make[5]: *** [Makefile:3604: .obj/qwindowsintegration.o] Error 1
      

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            zenmeister Frank Zimmermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes