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

coroberti . coroberti at gmail.com
Wed Jul 4 18:59:08 CEST 2018


Hi,

I was trying to follow the recommendations of Kai by:


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


On Fri, May 25, 2018 at 11:54 AM, coroberti . <coroberti at gmail.com> wrote:
> Hi,
> Trying to compile the recently released Qt-5.11.0 for 32-bit Windows (x86),
> everything compiles fine except QtWebEngine where build is broken.
>
> It seems that MSVC-2017 is the only compiler for QtWebEngine sing 5.11,
> and theoretically 32-builds are supposed to be supported.
>
> The bug report is here:
> https://bugreports.qt.io/browse/QTBUG-68462
>
> Please, vote there and/or provide your solutions/workarounds.
>
> Thanks.
>
> Kind regards,
> Robert



More information about the Interest mailing list