Search code examples
pythonwebkitpyqtqtwebkit

Problem loading a specific website through Qt Webkit


I am currently using the following PyQt code to create a simple browser:

import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.QtWebKit import *

app = QApplication(sys.argv)
web = QWebView()
web.load(QUrl("http://www.robeez.com"))
web.show()
sys.exit(app.exec_())

Websites like google.com or stackoverflow.com work fine but robeez.com doesn't. Does anyone with Webkit experience know what might be wrong? robeez.com works fine in a regular browser like Chrome or Firefox.


Solution

  • try arora (a very simple wrapping on top of QtWebKit); if it works, its your code. if it doesn't, its the website.