I’m using the development version of MXE.
The ANGLE library that is included in qtbase does not appear to be getting built. I suspect that is because the configure command in
qtbase.mk has “—opengl desktop” in the configure command.
I tried running XXXXXXX-qmake in the src/angle directory. Then run “make”.
I get the feeling no one has attempted to cross-compile angle like this before because:
(1) the build tries to use “win_flex” rather than “flex”, as though it were on Windows
(2) a file Internal.h is included with lower-case name, “internal.h” in qtbase’s src/3rdPart/angle
(3) there is a deprecated flex feature used that cause flex output files to not compile
I worked past these issues until the build started running an FXC.EXE command which I’m not familiar with. Again, the commands were issued as though intended to run on windows rather than cross-compiled.
So, I’m wondering if cross compiling the ANGLE library included in qtbase is going to work and if anyone has any success with this.
I’m now considering building ANGLE separately on Windows (not cross compiling) and seeing if my QT-based application can simply be linked to the ANGLE OpenGL libraries at the last step of our build.\.
It seems to me that problems with OpenGL driver libraries on Windows are so common that the approach to using ANGLE to use Direct3D makes a great deal of sense.
I hope this provides the information you were looking for. Any comments, suggestions, etc would be greatly appreciated. Especially from someone who has attempted/succeeded at this.
best, Mark