simgunz added a comment.
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. REPOSITORY R223 Okular REVISION DETAIL https://phabricator.kde.org/D10792 To: simgunz, #okular, aacid Cc: ngraham, #okular, michaelweghorn, aacid
