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

List:       kde-games-devel
Subject:    Re: [Kde-games-devel] KGameRenderer compilation problem
From:       Stefan Majewsky <stefan.majewsky () googlemail ! com>
Date:       2012-04-21 17:19:05
Message-ID: CACoMYZZGn5S+Q87j66FsA+eh_jd4a=vZLFDdbN9bBwiSkpwMTQ () mail ! gmail ! com
[Download RAW message or body]

On Fri, Apr 20, 2012 at 9:18 AM, Ian Wadham <iandw.au@gmail.com> wrote:
> /kdedev/kdegames/libkdegames/kgamerenderer.cpp:202: error: invalid use of=
 incomplete type =91struct QVariant=92
> /opt/local/include/QtCore/qobject.h:66: error: forward declaration of =91=
struct QVariant=92

This says that the compiler has only seen a forward declaration, i.e.
"class QVariant;" instead of "class QVariant {...}". So, just as you
already concluded, you're missing the header file which declares
QVariant. I actually wonder why <QVariant> is not included in
<QObject>.

Greetings
Stefan
_______________________________________________
kde-games-devel mailing list
kde-games-devel@kde.org
https://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