I've started porting the bits of code that use WebKit to WebEngine, but eventually got stuck while testing the PopupItem. The issue is that the MarbleWebView is rendered incorrectly. Although the content of the web page changes, the view does not update. Also, you can't interact with the web page.
This patch is a work in progress.