[Interest] Qt-5.11.0 - QtWebEngine Compilation Broken for Windows 32-bit Builds

coroberti . coroberti at gmail.com
Fri Jul 6 08:37:35 CEST 2018

On Thu, Jul 5, 2018 at 12:01 PM, Alexandru Croitor
<alexandru.croitor at qt.io> wrote:
>> On 4. Jul 2018, at 18:59, coroberti . <coroberti at gmail.com> wrote:
>> 1. Using the cross compiler and running in MSVC prompt:
>> "C:\Program Files (x86)\Microsoft Visual
>> Studio\2017\Community\VC\Auxiliary\Build\vcvarsamd64_x86.bat"
>> 2. Configuring qt-5.11.1 as:
>> configure -prefix C:\\Users\\robert\\dev\\qt-5.11.1-webeng-build
>> -shared -opensource -platform win32-msvc -nomake tests -nomake
>> examples -skip qt3d -skip qtactiveqt -skip qtcanvas3d -skip
>> qtconnectivity -skip qtdatavis3d -skip qtlocation -skip qtmultimedia
>> -skip qtscript -skip qtsensors -skip qtserialport -skip qttranslations
>> -no-opengl -no-openvg -qt-zlib -qt-libpng -qt-libjpeg -no-avx -no-avx2
>> -openssl -I C:\Users\robert\dev\OpenSSLShared\include -L
>> C:\Users\robert\dev\OpenSSLShared\lib
>> 3. Running nmake.
>> All compilation of qt including qtwebengine passes properly (with nmake /I)
>> but with compilation error at one module that seems to be dependent on openGL?
>> See the below:
>> C:/Users/robert/dev/qt-src-5.11.1/qtwebengine/src/core/web_engine_context.cpp(190):
>> error C2027: use of undefined type 'QOpenGLCon
>> text'
>> c:\users\robert\dev\qt-src-5.11.1\qtbase\include\qtgui\5.11.1\qtgui\qpa\../../../../../src/gui/kernel/qplatformnativeinterface.h(6
>> 0): note: see declaration of 'QOpenGLContext'
>> C:/Users/robert/dev/qt-src-5.11.1/qtwebengine/src/core/web_engine_context.cpp(190):
>> error C3861: 'openGLModuleHandle': identifier not found
>> Is it correct to say that qtwebengine cannot be compiled without
>> openGL or this is some additional bug in Qt?
>> Thanks in advance!
>> Kind regards,
>> Robert

> I believe that building webengine without opengl has regressed a few times, so it's plausible that it could happen.

Dear Alexandru,
Thank you for your reply.

Yes, correct.

The procedure of Kai using cross-compilation 64-for-32 works when adding
opengl -dynamic.

It was also mentioned by Thiago in the bug-report as a suggestion.

And yes, building of Qt-5.11.1 with -no-opengl is once more broken on
windows in webengine.

Thanks once more to you and Thiago.


More information about the Interest mailing list