error

Sebastian Kügler sebas at kde.org
Wed Mar 6 14:10:02 UTC 2013


On Wednesday, March 06, 2013 05:56:41 nicola at nicoladefilippo.it wrote:
> compiling git version i have this error:
> 
> Scanning dependencies of target plasmoidviewer
> [  8%] Building CXX object
> plasmoidviewer/CMakeFiles/plasmoidviewer.dir/plasmoidviewer_automoc.o
> [  9%] Building CXX object
> plasmoidviewer/CMakeFiles/plasmoidviewer.dir/fullview.o
> /home/nicola/src/plasmate/plasmoidviewer/fullview.cpp: In constructor
> ‘FullView::FullView(const QString&, const QString&, bool, QWidget*)’:
> /home/nicola/src/plasmate/plasmoidviewer/fullview.cpp:69:24: error:
> ‘Application’ is not a member of ‘Plasma’
> make[2]: *** [plasmoidviewer/CMakeFiles/plasmoidviewer.dir/fullview.o]
> Errore 1
> make[1]: *** [plasmoidviewer/CMakeFiles/plasmoidviewer.dir/all] Errore 2

You need to build against KDE 4.10 development packages, the 
Plasma::Application enum value was only added in November last year.

Alternatively, apply attached patch (and don't complain about unexpected 
behaviour, I have not even smoke-tested it).

Cheers,
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plasmate-no-app-formfactor.diff
Type: text/x-patch
Size: 547 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130306/d35ffc9a/attachment.diff>


More information about the Plasma-devel mailing list