While I realize the application example you're showing here uses webkit, you should be able to use QtCore.QCoreApplication.
This will allow you to run PyQt console type applications. On Wed, Jul 29, 2009 at 6:02 PM, arnau <tokl...@gmail.com> wrote: > Hello, > > I was wondering if it was possible to run PyQt without a X11 server when no > GUI > is going to be used. I've tried with GUIenabled=False, but I still get a > segmentation fault: > > --- > GNU/Linux Debian Sid > python 2.5.4 > python-qt 4.5.1 > libqt4-webkit 4.5.2 > > $ python > Python 2.5.4 (r254:67916, Feb 18 2009, 03:00:47) > [GCC 4.3.3] on linux > >> from PyQt4.QtGui import QApplication >>>> from PyQt4.QtWebKit import QWebPage >>>> QApplication([], False) >>>> webpage = QWebPage() >>>> >>> Segmentation fault > > --- > > It might be a FAQ, but I've been unable to find an answer, sorry. > > thanks, > arnau > > --- > http://code.google.com/p/spynner/ > > _______________________________________________ > PyQt mailing list PyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- ______________________________________ Darryl Wallace: Project Leader ProSensus Inc. McMaster Innovation Park 175 Longwood Road South, Suite 301 Hamilton, Ontario, L8P 0A1 Canada (GMT -05:00) Tel: 1-905-528-9136 Fax: 1-905-546-1372 Web site: http://www.prosensus.ca/ ______________________________________
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt