[kde-linux] Build failure: kde-workspace-4.10.3

James Tyrer jrtyrer at earthlink.net
Tue Jun 18 14:09:25 UTC 2013

KDE WorkSpace-4.10.3 fails with this error:

error: cannot allocate an object of abstract type 'GadgetBrowserHost'

That would mean that this block of code is wrong:

void GglPackage::createNewWidgetBrowser(QWidget *parent) {
   host_ = new GadgetBrowserHost(this);
   if (!host_ || !host_->gadget_manager_) {
     gadgetBrowserClosed(); // Actually, it's never opened

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.

James Tyrer

Linux (mostly) From Scratch

More information about the kde-linux mailing list