Created attachment 1957951 [details] A simple test of the QDesigner API QDesignerFormWindowManagerInterface's createFormWindow function returns an invalid pointer. The affected versions are 5.15.9-1 and earlier This bug can be reproduced outside of Qt Designer by creating a simple program that makes use of the components related to the Designer i.e. the QDesigner and QDesignerComponents libraries To reproduce the bug: 1) create a program that makes use of the aforementioned libraries as in the attached file 2) verify that it conforms to the Qt manuals 3) Run it. The bug will appear either run normally or through a debugger On execution, the createFormWindow function returns an invalid pointer Possible bug explanation: The createFormWindow function returns a pointer to an abstract class, not a real one The reason why this bug doesn't appear on Qt Designer versions 5 and 6 is unknown to me. As far as I remember this bug has appeared since version 5
There are no Fedora KDE Modules. Moving this to qt5-tools, which has qt5-designer.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.
This message is a reminder that Fedora Linux 39 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '39'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 39 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Fedora Linux 39 entered end-of-life (EOL) status on 2024-11-26. Fedora Linux 39 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed.
The bug that affects this component of the library is still present in the current version of the Qt library, 6, if used in any program, except Qt Designer which strangely is not affected. I'm using version 41 with the latest updates but this bug has been dragging on since version 5...
This post regarding my report of a bug in the QDesigner component in the Qt library is the sum of what I have discovered so far. Let me explain: the fundamental problem arises from the documentation provided as it is, apart from a few minimal changes, essentially that of version 4, the version in which this component of the Qt library was introduced. The problem arose with version 5 and later in which changes were introduced that changed the way in which some of its components were accessed.In the official documentation there is no mention of the qdesigner_internal namespace, nor of the PreviewManager class, nor of the QDesignerComponents class which has a fundamental role in the functioning of this component. A note: the presence of an unofficial namespace like qdesigner_internal corrupts, to some extent, the consistency between individual classes. If it were private within a class there would be no problems but this is global and not the only one! What is the role of SharedTools? The documentation of the QDesigner component is incomplete and incorrect and that is why outside of Qt Designer it produces that bug.