[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-games-devel
Subject:    Re: [Kde-games-devel] QCanvasSprite + QObject
From:       Burkhard Lehner <Burkhard.Lehner () gmx ! de>
Date:       2001-12-12 23:09:49
[Download RAW message or body]

Hi, Johnny!

Just a possible reason for the compiler error: Keep in mind to have QObject 
as the FIRST class you derive from. So do

class MyClass: public QObject, public QCanvasSprite
{
};

instead of

class MyClass: public QCanvasSprite, public QObject
{
};

The latter one doesn't work because of problems with moc and other stuff.

Hope this helps,
	Burkhard

_________________________________________________________
Burkhard Lehner                         Tel: (0631) 10363
Pfaffenbergstraße 101                  Fax: (0631) 3105215
67663 Kaiserslautern                   EMail: Burkhard.Lehner@gmx.de
            WWW: http://www.burkhardlehner.de/
_______________________________________________
kde-games-devel mailing list
kde-games-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-games-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic