Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Building Qt for Win32 fails due to lack of libEGL.lib
pderocco last edited by pderocco
I used to be able to build static win32 libraries for 5.12.3, but now I'm having a problem building it for 5.13.0. It eventually barfs looking for libEGL.lib. I'm using -combined-angle-lib in my configure command, which according to the configure help means that that functionality should be in libANGLE, but I don't have either file in qtbase/lib, which is where the linker is looking. I've provided a zip here with the following files:
qtbuild.bat -- the batch file I build with, which includes my configure options
config.log -- what configure spits out
configresult.txt -- the captured console out from configure
nmakeresult.txt -- the captured console output from nmake
installresult.txt -- the captured console output from install
Needless to say, I can't link my application, because of the lack of EGL. I'm hoping someone can point out what tweak I need to make to my configure options. The ones I've got were obtained from some post either here or at StackOverflow that were needed to get the graphics to work on my old 32-bit Windows 7 machine, which is to say, I don't have any idea how these graphics options interact.
I noticed the config.log ended with:
ERROR: The OpenGL functionality tests failed!
You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.
Is someone building Qt from source supposed to know what this means, what or where the "mkspec for your platform" is, or what paths to add? I don't. I'm just following the directions.