Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.12.1
-
None
-
-
57613ac99f6b1058c3e39ed15e6749351a9b5deb (pyside/pyside-setup/5.14), c68ae5cab (dev), b8d46ca7a (dev)
Description
QWebEnginePage is missing following methods:
- runJavaScript (2 overloads with QWebEngineCallback)
- toHtml
- toPlainText
- printToPdf (overload with QWebEngineCallback)
Also findText method has different API. It is missing QWebEngineCallback argument.
It seems they are all related to QWebEngineCallback.
See PySide docs vs Qt docs for QWebEnginePage.
Related part of the build log provided by crmaurei:
void QWebEnginePage::print(QPrinter*,const QWebEngineCallback<bool>&): unmatched type 'QPrinter*' in parameter #1 "printer": Unable to translate type "QPrinter*": Cannot find type entry for "QPrinter".
Attachments
Issue Links
- is duplicated by
-
PYSIDE-643 resultCallback capability missing from runJavaScript function
-
- Closed
-
- relates to
-
PYSIDE-1241 Support std::function
-
- Closed
-
-
PYSIDE-2883 runJavascript() bindings undocumented in PySide6, possibly wrong
-
- Closed
-
For Gerrit Dashboard: PYSIDE-946 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
253630,4 | Add common QPrintSupport typesystem for QWebEngine | 5.12 | pyside/pyside-setup | Status: MERGED | -2 | 0 |
294662,5 | Add functions with callback of QWebEnginePage | 5.14 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
294722,4 | shiboken: Improve error messages about invalid types of added functions | 5.14 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
294723,4 | shiboken: Enable flags types in added functions | 5.14 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
294745,1 | Use newly added callback functions of QWebEnginePage | 5.14 | pyside/pyside-setup | Status: ABANDONED | 0 | 0 |
595982,6 | PySide6: Move snippets of QWebEnginePage to qtwebenginecore.cpp | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
596012,4 | PySide6: Add parameter names to QWebEnginePage's added functions | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |