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