No instance of CustomSlot is created anywhere. You instantiate a plain QWidget and use the non-recommended "direct approach". It should be:
Qt Code:
CustomSlot widget; widget.show();To copy to clipboard, switch view to plain text mode
No instance of CustomSlot is created anywhere. You instantiate a plain QWidget and use the non-recommended "direct approach". It should be:
Qt Code:
CustomSlot widget; widget.show();To copy to clipboard, switch view to plain text mode
J-P Nurmi
Bookmarks