Hi Messenger,
thanks a lot for your reply! I tried the following (python not php):
|
PHP Source code
|
1
2
3
4
5
|
class CoolWebView(QWebView):
def createWindow(self, webWindowType):
web = QWebView()
return web
|
If I understand the docs correctly, I should create a new instance of QWebView and return it.
Unfortunately, I get a segfaut, when executing window.open from Java-Script.
Then, I tried to specify the current QWebView as parent of the new one, as follows:
|
PHP Source code
|
1
2
3
4
5
|
class CoolWebView(QWebView):
def createWindow(self, webWindowType):
web = QWebView(self) #THIS IS DIFFERENT
return web
|
This fixed the segfault, but then nothing happens. No new window comes up

.
Any Ideas?
Best,
Chris