The compilation process is described for Visual Studio 2012:
-
Install Qt5 library and set the environment variable QTDIR, pointing to a directory with Qt. For example, C:\Qt\qt-5.3.1.
-
Now it is necessary to compile a static library browserext-static. In the directory have a project for Visual Studio. The compiled library will be called phpbrowser_a.lib (or phpbrowser_a_debug.lib).
-
Next to compile php, as described here, after copying directory phpextension in ext directory of php source and phpbrowser_a.lib in the directory with external libraries for php (deps\lib).