Problems in building

Devanshu Jain devanshu.jain919 at gmail.com
Sat Feb 22 18:21:51 UTC 2014


Hi!
I was going through the build instructions for plasma media center and am
finding some trouble in doing so.

The make instruction is throwing some errors.

/*-------------------------------------------------------------------------

[  1%] Built target plasmamediacenter_automoc
[  1%] Building CXX object
libs/mediacenter/CMakeFiles/plasmamediacenter.dir/plasmamediacenter_automoc.o
In file included from
/home/devanshu/kde/pmc/plasma-mediacenter/build/libs/mediacenter/../../../libs/mediacenter/mediacenter_export.h:24:0,
                 from
/home/devanshu/kde/pmc/plasma-mediacenter/build/libs/mediacenter/../../../libs/mediacenter/playlistmodel.h:26,
                 from
/home/devanshu/kde/pmc/plasma-mediacenter/build/libs/mediacenter/moc_playlistmodel.cpp:9,
                 from
/home/devanshu/kde/pmc/plasma-mediacenter/build/libs/mediacenter/plasmamediacenter_automoc.cpp:4:
/usr/include/kpluginfactory.h:263:5: error: 'Q_DECL_CONSTRUCTOR_DEPRECATED'
does not name a type
     KDE_CONSTRUCTOR_DEPRECATED explicit KPluginFactory(const KAboutData
*aboutData, QObject *parent = 0);
     ^
/usr/include/kpluginfactory.h:270:14: error:
'Q_DECL_CONSTRUCTOR_DEPRECATED' does not name a type
     explicit KDE_CONSTRUCTOR_DEPRECATED KPluginFactory(QObject *parent);
              ^
make[2]: ***
[libs/mediacenter/CMakeFiles/plasmamediacenter.dir/plasmamediacenter_automoc.o]
Error 1
make[1]: *** [libs/mediacenter/CMakeFiles/plasmamediacenter.dir/all] Error 2
make: *** [all] Error 2

/---------------------------------------------------------------------------------------------------


It would be really helpful, if somebody could help me, how to solve this
issue.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140222/6d3f8d4a/attachment.html>


More information about the Plasma-devel mailing list