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

List:       kde-devel
Subject:    Re: Problems when Compiling Muon
From:       Aleix Pol <aleixpol () kde ! org>
Date:       2013-12-12 18:29:46
Message-ID: CACcA1Rq=+3MQQGdLy2mZW5aCehtErZvT4=MaeaVgrH5hESa2+w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Thu, Dec 12, 2013 at 2:51 AM, Volkan Gezer <volkangezer@gmail.com> wrote:

> Hello,
> 
> I am trying to compile muon from source, but I am receiving the following
> error:
> 
> 
> /home/volkan/Belgeler/muon/b/libmuon/backends/ApplicationBackend/../../../../libmuon/backends/ApplicationBackend/Application.h:56:13:
>                 
> error: invalid covariant return type for ‘virtual QString
> Application::categories()'
> QString categories();
> ^
> In file included from
> 
> /home/volkan/Belgeler/muon/b/libmuon/backends/ApplicationBackend/../../../../libmuon/backends/ApplicationBackend/Application.h:34:0,
>  from
> 
> /home/volkan/Belgeler/muon/b/libmuon/backends/ApplicationBackend/moc_Application.cpp:10,
>  from
> 
> /home/volkan/Belgeler/muon/b/libmuon/backends/ApplicationBackend/muon-appsbackend_automoc.cpp:8:
>                 
> /home/volkan/Belgeler/muon/libmuon/resources/AbstractResource.h:115:29:
> error:   overriding ‘virtual QStringList
> AbstractResource::categories()'
> virtual QStringList categories() = 0;
> ^
> make[2]: ***
> [libmuon/backends/ApplicationBackend/CMakeFiles/muon-appsbackend.dir/muon-appsbackend_automoc.o]
>  Error 1
> make[1]: ***
> [libmuon/backends/ApplicationBackend/CMakeFiles/muon-appsbackend.dir/all]
> Error 2
> 
> 
> What do you think the problem is? (I have libbodega0 libbodega-dev
> bodega-client, but still the last warning is there)
> 
> 
> -----------------------------------------------------------------------------
> -- The following external packages were located on your system.
> -- This installation will have the extra features provided by these
> packages.
> 
> -----------------------------------------------------------------------------
> * LibQApt - Qt wrapper around the libapt-pkg library
> * LibAttica - Qt library that implements the Open Collaboration
> Services API
> * PackageKitQt2 - Library that exposes PackageKit resources
> 
> 
> -----------------------------------------------------------------------------
> -- The following OPTIONAL packages could NOT be located on your system.
> -- Consider installing them to enable more features from this software.
> 
> -----------------------------------------------------------------------------
> * Bodega  <http://www.kde.org>
> Library that exposes Bodega resources
> Required to build the Bodega backend
> 
> 
> -----------------------------------------------------------------------------
> 
> Thank you,
> 
> Best regards,
> Volkan GEZER
> volkangezer@gmail.com
> 
> > > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe <<
> 

Hi Volkan,
I just pushed a fix for this.

Thanks for notifying!
Aleix


[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Dec 12, 2013 \
at 2:51 AM, Volkan Gezer <span dir="ltr">&lt;<a href="mailto:volkangezer@gmail.com" \
target="_blank">volkangezer@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hello,<br> <br>
I am trying to compile muon from source, but I am receiving the following error:<br>
<br>
/home/volkan/Belgeler/muon/b/libmuon/backends/ApplicationBackend/../../../../libmuon/backends/ApplicationBackend/Application.h:56:13:<br>
                
error: invalid covariant return type for ‘virtual QString<br>
Application::categories()'<br>
        QString categories();<br>
                    ^<br>
In file included from<br>
/home/volkan/Belgeler/muon/b/libmuon/backends/ApplicationBackend/../../../../libmuon/backends/ApplicationBackend/Application.h:34:0,<br>
  from<br>
/home/volkan/Belgeler/muon/b/libmuon/backends/ApplicationBackend/moc_Application.cpp:10,<br>
  from<br>
/home/volkan/Belgeler/muon/b/libmuon/backends/ApplicationBackend/muon-appsbackend_automoc.cpp:8:<br>
                
/home/volkan/Belgeler/muon/libmuon/resources/AbstractResource.h:115:29:<br>
error:    overriding ‘virtual QStringList<br>
AbstractResource::categories()'<br>
              virtual QStringList categories() = 0;<br>
                                            ^<br>
make[2]: *** [libmuon/backends/ApplicationBackend/CMakeFiles/muon-appsbackend.dir/muon-appsbackend_automoc.o]<br>
 Error 1<br>
make[1]: *** [libmuon/backends/ApplicationBackend/CMakeFiles/muon-appsbackend.dir/all]<br>
 Error 2<br>
<br>
<br>
What do you think the problem is? (I have libbodega0 libbodega-dev<br>
bodega-client, but still the last warning is there)<br>
<br>
-----------------------------------------------------------------------------<br>
-- The following external packages were located on your system.<br>
-- This installation will have the extra features provided by these packages.<br>
-----------------------------------------------------------------------------<br>
     * LibQApt - Qt wrapper around the libapt-pkg library<br>
     * LibAttica - Qt library that implements the Open Collaboration Services API<br>
     * PackageKitQt2 - Library that exposes PackageKit resources<br>
<br>
-----------------------------------------------------------------------------<br>
-- The following OPTIONAL packages could NOT be located on your system.<br>
-- Consider installing them to enable more features from this software.<br>
-----------------------------------------------------------------------------<br>
     * Bodega   &lt;<a href="http://www.kde.org" \
target="_blank">http://www.kde.org</a>&gt;<br>  Library that exposes Bodega \
resources<br>  Required to build the Bodega backend<br>
<br>
-----------------------------------------------------------------------------<br>
<br>
Thank you,<br>
<br>
Best regards,<br>
Volkan GEZER<br>
<a href="mailto:volkangezer@gmail.com">volkangezer@gmail.com</a><br>
<br>
&gt;&gt; Visit <a href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" \
target="_blank">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> to \
unsubscribe &lt;&lt;<br> </blockquote></div><br></div><div class="gmail_extra">Hi \
Volkan,</div><div class="gmail_extra">I just pushed a fix for this.</div><div \
class="gmail_extra"><br></div><div class="gmail_extra">Thanks for \
notifying!</div><div class="gmail_extra">

Aleix</div></div>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

Configure | About | News | Add a list | Sponsored by KoreLogic