Compiling WebKit for Windows8-Metro

I would like to ask the SO community for the following information: - Is it possible to compile WebKit for the Windows8-Metro environment, either as a WinRT component, or as a linked library in a C ++ / XAML application? - What are the main steps to achieve this? - What are the possible things that will make this impossible or very difficult? “Is this the work someone is working on now?” - Is it possible to gather interested people to work on this?

+4
source share
3 answers

I think you can’t just “compile” Webkit for WinRT / Metro Style. Metro Style applications are limited in the form of API calls that they can make, for example, for WinRT there is no GDI / GDI + / MFC. WebKit has several build modes that you can use, you can build it using QT as a rendering engine or using GTK or a simple GDI, but in all these cases, when creating new builds for Windows, you will use GDI at the very end.

However, you can change the source code of Webkit and add a new rendering engine that uses the new WinRT APIs. You could be famous if you do.

As a side note, even when there is a Chrome version for the Windows Store, looking at the source code of Chromium, it seems to me that this version is just a simple application launcher that communicates with the regular desktop version using the IPC channel. It is not a real build of the Windows Store of all source code.

+5
source

I'm not sure if WinRT will allow this, but there is a project called Awesomium that is a wrapper around Google Chrome and Google Chrome is based on WebKit, I think. It also has a .NET wrapper, so you can embed it in your .NET application.

I have never tried to use it, and I do not know if this library is applicable to WinRT, but at least this is the beginning.

+1
source

WinRT is a combination of managed and native code, so you have the option to port WebKit, but remember that there are some sandbox restrictions in the native code.

You can also choose XNA.

0
source

Source: https://habr.com/ru/post/1413695/


All Articles