[PyQt] SIP fails with QGraphicsWidget has not been defined

2013-02-16 Thread Jay Jay Billings
Hello! I am trying to build the latest version of VTK, which uses SIP. SIP 4.14.3 fails, stating that QGraphicsWidget has not been defined. I can not find anything on this error with Google. Does anyone know how to fix this? I am running 64-bit RHEL6 with Qt 4.6.2 and Python 2.6. I have also

Re: [PyQt] headless browsing via PyQT4

2013-02-16 Thread Kovid Goyal
xvfb Kovid. On Sat, Feb 16, 2013 at 07:27:04PM -0500, Jiangcheng Bao wrote: I am trying to achieve headless browsing via QWebView or QWebPage, but looks like the application would require a X server to connect to, even if I don't call the .show() method. The sample code at

Re: [PyQt] headless browsing via PyQT4

2013-02-16 Thread Jiangcheng Bao
Thank Kovid. I tried that, it works. But it would not work if my terminal is under unix screen program, which might not be a big deal if I launch via cron. I am also very interested in finding out if there's any way to configure it to run really headless, without relying on xvfb even. Thanks