[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: QT6 Webview Print function disapeared ?
[Thread Prev] | [Thread Next]
- Subject: Re: QT6 Webview Print function disapeared ?
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Sun, 18 Jan 2026 21:10:03 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 18/01/2026 à 21:04, Olivier Cruilles a écrit :
Hello,In QT5 Webkit, a easy way to print the content of a WebView was available by:Ex: WebView1.Current.Print(Printer1)But now in QT6 Webview, this option does not existe anymore for printing. What is the equivalent function to print front a Webview in QT6 now ?Did I missed something ? Thank you Olivier
Qt6 now uses the Chrome engine, and so all methods that need to access the content of the page directly have disappeared.
You have to replace these methods by javascript code. In your case, 'window.print();'. Regards, -- Benoît Minisini.
| Re: QT6 Webview Print function disapeared ? | Yahoo <olivier.cruilles@xxxxxxxx> |
| QT6 Webview Print function disapeared ? | Olivier Cruilles <olivier.cruilles@xxxxxxxx> |