Hello

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:(.data.rel.ro._ZTIN14Launcher_slice6ButtonE[_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.

https://stackoverflow.com/questions/307352/g-undefined-reference-to-typeinfo#307427
 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 qt5_widgets.lib.so 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
https://github.com/trimpim/genode/commit/672cf69a4f5a6d134a1cf6c480349b84c51cf389

Should I create an issue on github?

best regards
Pirmin

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Genode users mailing list
[email protected]
https://lists.genode.org/listinfo/users

Reply via email to