Portability: [Was: Re: [PyQt] QWebKit issue with certain URLs]
alanm
me at alandmoore.com
Wed Sep 24 22:38:35 BST 2008
Apart from the fact that I put "PyQT4" instead of "PyQt4" (oops), it should
work fine. The same code runs on WinXP and Linux for me. Are you using the
latest version of PyQt4 ?
On Wednesday 24 September 2008 6:00:05 am you wrote:
> So I tried to try this... being (currently) a PyQt Windows user. The
> code below wouldn't run at all.
>
> Transforming it to:
>
> #!/usr/bin/env python
> from PyQt4 import QtCore, QtGui, QtWebKit
>
> app = QtGui.QApplication([])
> web = QtWebKit.QWebView()
> url = QtWebKit.QUrl("http://library.williamson-tn.org")
> web.load(url)
> web.show()
> app.exec_()
>
> helped quite a bit, but didn't find QUrl.
>
> I thought this stuff was supposed to be portable from Linux to Windows
> to MacOS... what am I missing? This is a lot of changes to one small
> sample application, and it still isn't running successfully (not even
> unsuccessfully in the same way as the OP).
More information about the PyQt
mailing list