How to set profile to QQmlApplicationEngine?

212 Views Asked by At

I want to web profile to QQmlApplicationEngine like this QWebEngine code:

web = QWebEngineView()
pf = QWebEngineProfile("unsurf", web)
page = QWebEnginePage(pf, web)
web.setPage(page)

I found QQuickWebEngineProfile, but couldn't found way to set it, and it was empty profile.

profile = QtWebEngine.QQuickWebEngineProfile("foo")
profile.isOffTheRecord() #True

How to set effective named QQuickWebEngineProfile to QQmlApplicationEngine?

0

There are 0 best solutions below