From a279f8a342fbca6930be7b31f4e2297e2a430f14 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 7 May 2021 17:03:50 +0200 Subject: Add some hints for trouble-shooting the Qt Designer plugin Task-number: PYSIDE-1455 Change-Id: I7bf6745801dc4747cb7f24144e197bd3059bd493 Reviewed-by: Cristian Maureira-Fredes (cherry picked from commit e7f3282e86491bae53f545668eab20f2c0cbb8aa) Reviewed-by: Qt Cherry-pick Bot --- sources/pyside6/doc/tutorials/basictutorial/uifiles.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/sources/pyside6/doc/tutorials/basictutorial/uifiles.rst b/sources/pyside6/doc/tutorials/basictutorial/uifiles.rst index 2a7582ec9..fa483a302 100644 --- a/sources/pyside6/doc/tutorials/basictutorial/uifiles.rst +++ b/sources/pyside6/doc/tutorials/basictutorial/uifiles.rst @@ -268,3 +268,16 @@ This is shown in taskmenuextension example, where a custom context menu is registered for the custom widget. The example is a port of the corresponding C++ `Task Menu Extension Example `_ . + +Troubleshooting the Qt Designer Plugin +++++++++++++++++++++++++++++++++++++++ + +- The launcher ``pyside6-designer`` must be used. The standalone + **Qt Designer** will not load the plugin. +- The menu item **Help/About Plugin** brings up a dialog showing the plugins + found and potential load error messages. +- Check the console or Windows Debug view for further error messages. +- Due to the buffering of output by Python, error messages may appear + only after **Qt Designer** has terminated. +- When building Qt for Python, be sure to set the ``--standalone`` option + for the plugin to be properly installed. -- cgit v1.2.3