Hi,
the following code works as expected on Windows, but in OSX I'm presented
with a blank grey page. Can someone verify this? (Maya 2019/ Maya 2020)
from PySide2.QtCore import QUrl
from PySide2.QtWebEngineWidgets import QWebEnginePage, QWebEngineView
class MainWindow(QMainWindow):
def __init__(self):
super(MainWindow, self).__init__()
self.webEngineView = QWebEngineView()
self.setCentralWidget(self.webEngineView)
initialUrl = "https://www.google.com"
self.webEngineView.load(QUrl(initialUrl))
self.webEngineView.load(initialUrl)
mainWin = MainWindow()
mainWin.show()
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/c53f3a3d-9479-462a-9c01-0ae3fa0a3d95o%40googlegroups.com.