qtwebglphantomjsqtwebkit

PhantomJS compile with WebGL


I am trying to compile PhantomJS to add WebGL. Apparently it is possible because of:

However, I have no idea how to do this. I have looked in all the configuration for compiling and I tried and found nothing. Should I compile QTWebKit separately with the necessary options and then compile PhantomJS with this WebKit? I'm on Mac OSX Lion.

It would be really nice to have a bit of help.


Solution

  • As you well may know, Phantomjs has is no longer being actively developed.

    I suggest you move to Puppeteer which uses Chromium: https://pptr.dev/