Define a constructor with no arguments...
And don't forget the class destructor, and make it virtual (for all base classes), like this:
Qt Code:
class siCore { public: siCore(){...} //... virtual ~siCore(){//... actual cleaning of dynamic allocated resources } };To copy to clipboard, switch view to plain text mode
Bookmarks