[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: Portability: [Was: Re: [PyQt] QWebKit issue with certain
From: alanm <me () alandmoore ! com>
Date: 2008-09-24 21:38:35
Message-ID: 200809241638.35269.me () alandmoore ! com
[Download RAW message or body]
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).
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic