forwardport 1101692: Fix compilation error with Qt-4.6.0,
plasma/svgwidget.moc:53: error: 'staticMetaObject' is not a member of 'Plasma' Apparently moc is more clever in Qt-4.6.3, but anyway http://bugreports.qt.nokia.com/browse/QTBUG-2151 is right, the property is only usable if declared with Q_DECLARE_METATYPE, isn't it? svn path=/trunk/KDE/kdelibs/; revision=1101693
This commit is contained in:
parent
60d5462c3f
commit
c093832d1f
@ -28,10 +28,14 @@
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
|
||||
class Svg;
|
||||
class SvgWidgetPrivate;
|
||||
}
|
||||
|
||||
Q_DECLARE_METATYPE(Plasma::Svg*)
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
class PLASMA_EXPORT SvgWidget : public QGraphicsWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
Loading…
Reference in New Issue
Block a user