On 5/23/19 8:58 AM, Pavel Sanda wrote: > On Mon, May 13, 2019 at 02:02:54PM -0400, Richard Kimberly Heck wrote: >> On 5/13/19 4:42 AM, Jean-Marc Lasgouttes wrote: >>> Le 13/05/2019 ? 05:51, Richard Kimberly Heck a écrit : >>>> Something like the following ought to work, but it won't link. I'm >>>> terrible at linker errors. Help? >>> Can we have the GuiClickableLabel stuff too? >> Not sure why that didn't get included, but here's the full patch again. > There is > #include "moc_GuiClickableLabel.cpp" > missing so linker see the definitions of qt-related functions to create > vtable. > > Since you don't have GuiClickableLabel.cpp you have to push it elsewhere, > e.g. end of GuiView.cpp, though this unit crowded already...
If I put some of the code into a GuiClickableLabel.cpp, and include moc... as usual, that will take care of it? Riki