[pyside, webkit] send msg betwen js and python

  • i found this topic in wiki:
    But I can not run the sample program from it.
    I use pyqt4 and get the following error
    $ ./main1.py
    Traceback (most recent call last):
    File "./main1.py", line 35, in <module>
    view.setSource(file.replace('.py', '.qml'))
    TypeError: QDeclarativeView.setSource(QUrl): argument 1 has unexpected type 'str'
    Anybody have souces code from this toturial?
    Maybe my problem is that I use pyqt4 instead of pyside?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.