A
A
Alexander2018-02-26 15:43:14
Chromium
Alexander, 2018-02-26 15:43:14

How to defeat QtWebEngineProcess on Windows XP?

Good day.
I am using Qt 5.5.1 (MSVC13). It is required to build an application with WebEngine so that it works under Windows XP.
For my application in the project, I wrote: QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01
The application began to run, but not 1 site is displayed. As it turned out later, in the official Qt assembly, the clumsy QtWebEngineProcess.exe was uploaded , which in Windows XP says at startup that it "is not a Win32 application".
Googled one single solution: rebuild QtWebEngineProcess.exe under MSVC13 with a target under XP. Found the project in the Qt sources

qt-everywhere-opensource-src-5.5.1\qtwebengine\src\process
, added to it
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01 /ENTRY:"mainCRTStartup"

/ENTRY had to be added to resolve the error
qtmain.lib(qtmain_win.obj):-1: ошибка: LNK2019: unresolved external symbol [email protected] referenced in function [email protected]

This part was assembled and honestly installed in the directory with Qt installed, as a result, in Windows 10 (without Qt installed), my WebEngine application works with this rebuilt QtWebEngineProcess.exe, but in Windows XP it starts (the application window appears), then immediately crashes "Detected error. The application will close."
If you start QtWebEngineProcess.exe manually, then it hangs quietly in the process and does not touch anyone, but the application itself crashes ... despite the fact that it works properly in any other version of Windows.
Does anyone have any ideas or experience building WebEngine under XP?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ighor July, 2018-02-26
@IGHOR

Qt build under MSVC13 is not compatible with Windows XP, Qt needs to be rebuilt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question