[Kde-games-devel] KGameRenderer compilation problem
Ian Wadham
iandw.au at gmail.com
Fri Apr 20 07:18:03 UTC 2012
After svn update of kdegames I get the following compilation error in KGameRenderer:
/kdedev/kdegames/libkdegames/kgamerenderer.cpp: In member function ‘bool KGameRendererPrivate::setTheme(const KgTheme*)’:
/kdedev/kdegames/libkdegames/kgamerenderer.cpp:202: error: invalid use of incomplete type ‘struct QVariant’
/opt/local/include/QtCore/qobject.h:66: error: forward declaration of ‘struct QVariant’
/kdedev/kdegames/libkdegames/kgamerenderer.cpp:202: error: expected primary-expression before ‘>’ token
/kdedev/kdegames/libkdegames/kgamerenderer.cpp:202: error: expected primary-expression before ‘)’ token
make[2]: *** [libkdegames/CMakeFiles/kdegames.dir/kgamerenderer.o] Error 1
make[1]: *** [libkdegames/CMakeFiles/kdegames.dir/all] Error 2
Lines 199-203 of kdegames/libkdegames/kgamerenderer.cpp read:
//check timestamp of cache vs. last write access to theme/SVG
const uint svgTimestamp = qMax(
QFileInfo(theme->graphicsPath()).lastModified().toTime_t(),
theme->property("_k_themeDescTimestamp").value<uint>()
);
I'm stuck. Any ideas?
Cheers, Ian W.
More information about the kde-games-devel
mailing list