And by the way, you can use Qt callbacks to extract the code of the page being viewed in case you want to load exactly what is in your Preview clone into a validator.
That said, once you setContent and specify xhtml if there is a parsing error, the error message should show up in your Preview clone as it does in Sigil. If that is not happening then something is not set propertly. Look up how QtWebEngineProfiles are used to set settings used by QtWebEngineViews. Defaults are rarely what you want.
|