aacid added a comment.
In D10792#237224 <https://phabricator.kde.org/D10792#237224>, @simgunz wrote: > Ok. I figured it out myself. > > I need to export `AnnotWindow` (add `OKULARCORE_EXPORT` to the class `AnnotWindow`) if I want to use `findChild` to retrieve it. I am not sure if this should be exported just for the autotest. Maybe there is an alternative method to avoid this. Do you need AnnotWindow itself? Probably you're just fine searching/using QFrame (its parent class)? In this case you don't need to export AnnowWindow. REPOSITORY R223 Okular REVISION DETAIL https://phabricator.kde.org/D10792 To: simgunz, #okular, aacid Cc: ngraham, #okular, michaelweghorn, aacid