Re: Build failure: kde-workspace-4.10.3

Kevin Krammer <[email protected]>
Newsgroups gmane.comp.kde.linux
Organization KDE
Message-ID <[email protected]>
On Tuesday, 2013-06-18, James Tyrer wrote:
> KDE WorkSpace-4.10.3 fails with this error:
> 
> /usr/src/kde-workspace-4.10.3/plasma/generic/scriptengines/google_gadgets/g
> gl_package.cpp:244:37: error: cannot allocate an object of abstract type
> 'GadgetBrowserHost'
> 
> That would mean that this block of code is wrong:
> 
> void GglPackage::createNewWidgetBrowser(QWidget *parent) {
>    ASSERT(!host_);
>    host_ = new GadgetBrowserHost(this);
>    if (!host_ || !host_->gadget_manager_) {
>      gadgetBrowserClosed(); // Actually, it's never opened
>      return;
>    }
>    GetGadgetManager()->ShowGadgetBrowserDialog(host_);
> }
> 
> It won't work since: "GadgetBrowserHost()" is abstract and can not be
> directly allocated.
> 
> Does a C++ wiz have a quick fix?  I will have to read the fine manual a
> while to fix it.

Hmm. Since GadgetBrowserHost does not have any abstract methods itself, it 
might be a new abstract method in its base class ggadget::HostInterface

Maybe there is a version mismatch dependency wise?

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
signature.asc (application/pgp-signature, 190 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iD8DBQBRwHkQnKMhG6pzZJIRAs9HAJ4zYq4cecwHZBnPz4Jvjydn3fNmBwCcCuSV
3EsASyPbauaH7LsbvRatrCQ=
=FGiP
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.