Hey All,

I have a class (NAbstractNode) that publicly subclasses QGraphicsItem and doesn't have a default constructor :

   class NAbstractNode : public QGraphicsItem {

        public :

            // Constructors
            NAbstractNode(const string &name);
   }


and an object-type entry in my typesystem file :

   <object-type name="NAbstractNode" copyable="no"/>


which generates this wrapper class :

   NAbstractNodeWrapper::NAbstractNodeWrapper() : *NAbstractNode()* {
        // ... middle
   }

and as you can see the wrapper class tries to use the default constructor for NAbstractNode, which doesn't exist, and compiler chaos ensues.

Am I doing something wrong? (highly likely) / Is there some secret sauce I can add to my typesystem file to get this going?

Cheers,
D

--
Daniel Smith - Shots Pipeline TD - [email protected]

_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to