Lets break the problem down.
Well that conflicts withmy base custom widget doesn't have a plugin and therefore doesn't specify a domXml().
which you wrote originally.This base custom widget (which inherits QWidget) has some properties which I want available in the designer,
But I take it that your custom widget does inherit from some other custom widgets which does implement domXml(), otherwise the whole problem of copying it would be raised, right?
So, the thing we have at hand is having a class inheriting implementation of a mother class, which should be solved with what I wrote before.
Creating a plugin for the abstract class will not help, if the abstract class returns an empty string from domXml(). - and if it does, then you don't have anything to inherit from it...
Ofcourse, you could use the old Q_PROPERTY in your subclass header file.





Reply With Quote

Bookmarks