On 23/04/2019 21:20, Oliver Niebuhr wrote: > > > On 23/04/2019 20:56, Allan Sandfeld Jensen wrote: >> On Dienstag, 23. April 2019 19:45:14 CEST Oliver Niebuhr wrote: >>> Hi. >>> >>> I am constantly running into the following Error: >>> >>> Project MESSAGE: >>> C:\qt5srcgit\qt5\qtwebengine\src\3rdparty\gn\build\gen.py >>> --no-last-commit-position --out-path >>> C:/QtSrcx64/qtwebengine/src/3rdparty/gn/out/Release --cc "C:\Program >>> Files (x86)\Microsoft Visual >>> Studio\2019\Community\VC\Tools\MSVC\14.20.27508\bin\Hostx64\x64\cl.exe" >>> --cxx "C:\Program Files (x86)\Microsoft Visual >>> Studio\2019\Community\VC\Tools\MSVC\14.20.27508\bin\Hostx64\x64\cl.exe" >>> --ld "C:\Program Files (x86)\Microsoft Visual >>> Studio\2019\Community\VC\Tools\MSVC\14.20.27508\bin\Hostx64\x64\link.exe" >>> [1/11] CXX tools/gn/xml_element_writer.obj >>> [2/11] CXX util/sys_info.obj >>> [3/11] CXX util/semaphore.obj >>> [4/11] CXX util/ticks.obj >>> [5/11] CXX util/msg_loop.obj >>> [6/11] CXX util/exe_path.obj >>> [7/11] CXX util/worker_pool.obj >>> [8/11] CXX tools/gn/substitution_writer.obj >>> FAILED: tools/gn/substitution_writer.obj >>> ninja -t msvc -- C:\Program Files (x86)\Microsoft Visual >>> Studio\2019\Community\VC\Tools\MSVC\14.20.27508\bin\Hostx64\x64\cl.exe >>> /nologo /showIncludes /FC @tools/gn/substitution_writer.obj.rsp /c >>> C:\qt5srcgit\qt5\qtwebengine\src\3rdparty\gn\tools/gn/substitution_writer.cc >>> /Fotools/gn/substitution_writer.obj >>> C:\qt5srcgit\qt5\qtwebengine\src\3rdparty\gn\tools\gn\substitution_writer.h( >>> 91): error C2039: 'string': is not a member of 'std' >>> C:\Program Files (x86)\Microsoft Visual >>> Studio\2019\Community\VC\Tools\MSVC\14.20.27508\include\vector(19): >>> note: see declaration of 'std' >>> C:\qt5srcgit\qt5\qtwebengine\src\3rdparty\gn\tools\gn\substitution_writer.h( >>> 91): error C3646: 'ApplyPatternToSourceAsString': unknown override specifier >>> C:\qt5srcgit\qt5\qtwebengine\src\3rdparty\gn\tools\gn\substitution_writer.h >>> (92): error C2059: syntax error: 'const' >>> C:\qt5srcgit\qt5\qtwebengine\src\3rdparty\gn\tools\gn\substitution_writer.h( >>> 95): error C2238: unexpected token(s) preceding ';' >>> C:\qt5srcgit\qt5\qtwebengine\src\3rdparty\gn\tools\gn\substitution_writer.h( >>> 117): error C2039: 'string': is not a member of 'std' >>> C:\Program Files (x86)\Microsoft Visual >>> Studio\2019\Community\VC\Tools\MSVC\14.20.27508\include\vector(19): >>> note: see declaration of 'std' >>> C:\qt5srcgit\qt5\qtwebengine\src\3rdparty\gn\tools\gn\substitution_writer.h( >>> 117): error C2065: 'string': undeclared identifier >>> C:\qt5srcgit\qt5\qtwebengine\src\3rdparty\gn\tools\gn\substitution_writer.h( >>> 117): error C2923: 'std::vector': 'string' is not a valid template type >>> argument for parameter '_Ty' >>> C:\qt5srcgit\qt5\qtwebengine\src\3rdparty\gn\tools\gn\substitution_writer.h( >>> 117): error C3203: 'allocator': unspecialized class template can't be used >>> as a template argument for template parameter '_Alloc', expected a real >>> type >>> C:\qt5srcgit\qt5\qtwebengine\src\3rdparty\gn\tools\gn\substitution_writer.h >>> (137): error C2039: 'string': is not a member of 'std' >>> [...shortened here...] >>> >>> I am not sure if this is a already known Issue or if the Chromium >>> Version coming with Qt 5.13 is not compatible with VS 2019? >>> >> None of Qt WebEngine versions are compatible with VS 2019. If you had >> managed >> to build GN you would have run into our hardcoded check that you are using a >> known compatible compiler. >> >> You need the following changes that have gone to 5.12 first: >> >> https://codereview.qt-project.org/259283 >> https://codereview.qt-project.org/259285/ >> >> "Fortunately" most of the changes in VS 2019 were introduced gradually in VS >> 2017, so it was only a single very minor change. >> >> 'Allan >> >> > Thanks! Thats good to know. I will manually apply them and see what will > happen :) > Olli > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest > The Patches let me compile QtWebEngine. But it fails very late with:
"../../../../../qt5srcgit/qt5/qtwebengine/src/3rdparty/chromium\gpu/command_buffer/service/memory_tracking.h(59): warning C4146: unary minus operator applied to unsigned type, result still unsigned ninja: build stopped: subcommand failed. jom: C:\QtSrcx64\qtwebengine\src\core\Makefile.gn_run.Release [run_ninja] Error 1 jom: C:\QtSrcx64\qtwebengine\src\core\Makefile.gn_run [release] Error 2 jom: C:\QtSrcx64\qtwebengine\src\core\Makefile [sub-gn_run-pro-make_first] Error 2 jom: C:\QtSrcx64\qtwebengine\src\Makefile [sub-core-make_first] Error 2 jom: C:\QtSrcx64\qtwebengine\Makefile [sub-src-make_first] Error 2 jom: C:\QtSrcx64\Makefile [module-qtwebengine-make_first] Error 2" I guess a Bug Report does not make much sense this late in the 5.13 Development State but wait for a newer QtWebEngine/Chromium Version when the DEV Branch gets updated for 5.14!? Olli
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest