from PySide.QtCore import QUrl
from PySide.QtWebKit import QWebView
class Browser(QWebView):
def __init__(self):
QWebView.__init__(self)
self.loadFinished.connect(self._result_available)
def _result_available(self, ok):
frame = self.page().mainFrame()
view = Browser()
view.load(QUrl('http://vimeo.com/61790668'))
view.show()
class Browser(QWebView):def __init__(self):QWebView.__init__(self)self.loadFinished.connect(self._result_available)
settings = self.settings()settings.setAttribute(settings.PluginsEnabled, True)
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/96c1508a-d4a9-4966-9584-e3188f101036%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I simply want to have google page inside my maya 2012 x64.
It appears that Maya is failing to report an exception being raised by the import. The original exception is saying something about the DLL for your Qt lib not being right. Then Maya tried to format the message for the script editor and fails.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/788a0892-bf45-4bf3-938a-4cb766a6f867%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/29dab957-dde4-456e-b732-6b48d650b3e7%40googlegroups.com.