PDA

View Full Version : QWebView + HTTPS with certificate example



kylls
22nd December 2009, 00:08
hello people,
I'm trying to use this my simple example to access pages that have SSL enabled with certificate
can someone help me, a simple code example of this below:


import sys
import PyQt4
import time
from PyQt4 import QtCore, QtGui
from PyQt4 import uic
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.QtWebKit import *
from PyQt4.QtNetwork import *
import urllib2, re

app = QApplication(sys.argv)

web = QWebView()

url = 'https://edit.qt.troll.no/'

web.load(QUrl(url))
web.show()
sys.exit(app.exec_())

Joshy Abraham
16th March 2011, 07:07
did you fix this issue???