QtWebKit without GUI???
Is the Subject possible?
I'm trying to create simple console app & lib to take snapshots from websites and save them as jpg. And it should work on server without X's.
Any suggestion? Maybe where is some Flags/Preprocessor Definitions to compile QtWebKit without GUI elements?
Oh yeh, sorry, have forgot to tell about version. I'm using 4.7.1 Opensource on Linux platform.
That is not possible. There is a dependency on QtGui libs, that you simply cannot cut off. See the Wiki article "Qt library cross dependencies":http://developer.qt.nokia.com/wiki/Qt_library_cross_dependencies for the rest of the dependencies.
Also, some internals of WebKit depend on the graphics system being setup correctly which in turn forces you to have a valid X11 environment running. "This forum thread":http://developer.qt.nokia.com/forums/viewthread/3005 has some details.
So, the short story is: WebKit needs QtGui and X11.
Thanks for your reply!
It's a sad :(
I will try it with fake X-Server... Xvfb for example... maybe it will work :)
Nice! It works with Xvfb!