|
|
Rohan McGovern wrote:
On Wednesday 23 July 2008 12:28, Mike Adolf wrote:
I see what you mean. I had thought QObject was root to all
classes. If I try to also inherit from QObject, I get the
following warning.
Class SaxHandler inherits from two QObject subclasses
QXmlDefaultHandler and QObject. This is not supported!
Make sure that QObject is the first inherited class, as written
in "Using the Meta-Object Compiler (moc)" in the documentation,
under the section "Multiple Inheritance Requires QObject to Be
First".
Putting it first fixed the problem, but I would have never found that. I
thought gmake, make was all I had to worry about.
Thanks for everyone's help.
Mike
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|