Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.10.0, 5.11, 5.12.1, 5.13, 5.14
-
None
-
* Windows 10 FCU, latest Update, x64, W10 SDK 16299, C++ only, no UWP
* Qt 5.10 Git, latest Submodule Merge, x86, x64
* VS 2017 15.5.2, 15.5.3, native CMD Window for x86 and x64
* ICU 60.2 SVN
* OpenSSL 1.1.0 Git Branch
* Python 2.7.14, x86, x64
* Strawberry Perl 5.26.1.1, x86, x64
* Vulkan 1.0.65.1* Windows 10 FCU, latest Update, x64, W10 SDK 16299, C++ only, no UWP * Qt 5.10 Git, latest Submodule Merge, x86, x64 * VS 2017 15.5.2, 15.5.3, native CMD Window for x86 and x64 * ICU 60.2 SVN * OpenSSL 1.1.0 Git Branch * Python 2.7.14, x86, x64 * Strawberry Perl 5.26.1.1, x86, x64 * Vulkan 1.0.65.1
Description
EDIT01:
After a lot of testing, it turns out, that disabling the use of Precompiled Headers for QtWebEngine is the Solution. To save time, Precompiled Headers can be left enabled for the rest of the Modules.
More tests are necessary to be sure, if it is a Ninja Problem or if something is broken with the Current Compiler Version.
When I try to build QtWebEngine, I always run into the following Error:
[15733/17092] STAMP obj/services/data_decoder/lib.inputdeps.stamp [15734/17092] STAMP obj/third_party/WebKit/Source/bindings/core/v8/bindings_core_impl.inputdeps.stamp [15735/17092] CXX obj/pdf/pdf/document_loader.obj [15736/17092] CXX obj/third_party/WebKit/Source/bindings/core/v8/bindings_core_impl/Precompile-core.cc.obj FAILED: obj/third_party/WebKit/Source/bindings/core/v8/bindings_core_impl/Precompile-core.cc.obj ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX64\x64/cl.exe" /nologo /showIncludes @obj/third_party/WebKit/Source/bindings/core/v8/bindings_core_impl/Precompile-core.cc.obj.rsp /c ../../../../../qt5srcgit/qt5/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/core/win/Precompile-core.cpp /Foobj/third_party/WebKit/Source/bindings/core/v8/bindings_core_impl/Precompile-core.cc.obj /Fd"obj/third_party/WebKit/Source/bindings/core/v8/bindings_core_impl_cc.pdb" ../../../../../qt5srcgit/qt5/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/core/win/Precompile-core.cpp: fatal error C1083: Cannot open include file: '../../../../../qt5srcgit/qt5/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/core/Precompile-core.h': No such file or directory [15737/17092] CXX obj/pdf/pdf/pdfium_mem_buffer_file_read.obj [15738/17092] CXX obj/pdf/pdf/pdfium_page.obj [15739/17092] CXX obj/services/data_decoder/lib/image_decoder_impl.obj [15740/17092] CXX obj/pdf/pdf/pdfium_engine.obj [15741/17092] CXX obj/services/data_decoder/lib/data_decoder_service.obj ninja: build stopped: subcommand failed. jom: C:\QtSourceReleasex64\qtwebengine\src\core\Makefile.gn_run.Release [run_ninja] Error 1 jom: C:\QtSourceReleasex64\qtwebengine\src\core\Makefile.gn_run [release] Error 2 jom: C:\QtSourceReleasex64\qtwebengine\src\core\Makefile [sub-gn_run-pro-make_first] Error 2 jom: C:\QtSourceReleasex64\qtwebengine\src\Makefile [sub-core-make_first] Error 2 jom: C:\QtSourceReleasex64\qtwebengine\Makefile [sub-src-make_first] Error 2 jom: C:\QtSourceReleasex64\Makefile [module-qtwebengine-make_first] Error 2
Configure Line and Parameters (called from Command Script / Batch File):
SET CL=/MP4 /cgthreads1 /utf-8 /errorReport:prompt /nologo SET OPENSSL_LIBS="-llibssl -llibcrypto" SET PATH=%SystemDrive%\qt5srcgit\qt5\gnuwin32\bin\;%SystemDrive%\jom\;%SystemDrive%\pscpx64\;%SystemDrive%\ICUx64\bin\;%SystemDrive%\ICUx64\include\;%SystemDrive%\ICUx64\lib\;%SystemDrive%\OpenSSL11x64\include\;%SystemDrive%\OpenSSL11x64\lib\;%SystemDrive%\Perlx64\perl\bin\;%SystemDrive%\Pythonx64\;%PATH%;%SystemDrive%\git\bin\ %SystemDrive%\qt5srcgit\qt5\configure -verbose -make-tool jom -opensource -confirm-license -prefix %SystemDrive%\qt-x64\ -opengl dynamic -release -optimize-size -openssl-linked -I%SystemDrive%\OpenSSL11x64\include -L%SystemDrive%\OpenSSL11x64\lib OPENSSL_LIBS="-llibssl -llibcrypto" -icu -I%SystemDrive%\ICUx64\include -L%SystemDrive%\ICUx64\lib -mp -nomake tests -nomake examples -no-warnings-are-errors -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtgamepad -skip qtlocation -skip qtmacextras -skip qtnetworkauth -skip qtpurchasing -skip qtqa -skip qtremoteobjects -skip qtrepotools -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qtvirtualkeyboard -skip qtwayland -skip qtwebglplugin -skip qtx11extras && jom /nologo /j4
The last time I tried to compile QtWebEngine was around 5.10 Beta time (which ended successfully, so I am quite behind about all the changes since then. No Idea what is causing this. Have not seen this Include Error before.)
The File does exist. I also recreated the local Repository from Scratch. Still the same Error. The File also is not Write Protected (Read-Only) etc.
FWIW: Without QtWebEngine, I compiled Qt x86 and x64 successfully from 5.10 Git and Dev Git multiple times the last 2 Days.
Thanks!
Attachments
Issue Links
- is duplicated by
-
QTBUG-73471 Out-of-tree build failed with missing precompile_platform.h on Windows
- Closed
-
QTBUG-80174 Qt build from source failed in missing webengine file
- Closed