Problem building src archive for component using Qt

Pirmin Duss pirmin.duss at
Mon Oct 22 18:40:47 CEST 2018


On 20.10.18 12:12, Duss Pirmin wrote:
> Hello Genodeans
> I have a component that uses QToolButton. When I build it in my run script, the build works well.
> When I want to build my src package I get the following error message:
> button.o:([_ZTIN14Launcher_slice6ButtonE]+0x10): undefined reference to
> `typeinfo for QToolButton'
> I have an other component that uses QPushButton where I can build the src archive. If I replace QPusButton with
> QToolButton in this component, I get the same error.

I have tired to find the reason for the linker error. Unfortunately I wasn't able to find a solution. suggests, that a missing definition
of a virtual function might be the cause of the error.

As the build in the run script works (and also uses from the depot), I suspect that probably a
compiler or linker option is set different when building  binary archives.

I have created as stripped down version of my component and have pushed it to

Should I create an issue on github?

best regards

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the users mailing list