simgunz added a comment.

  I've progressed a bit on this, but now I get the following error:
  
    /usr/include/qt/QtCore/qobject.h:179: undefined reference to 
`AnnotWindow::staticMetaObject'
  
  executing this line:
  
    AnnotWindow *wdw = part.m_pageView->findChild<AnnotWindow *>();
  
  I have added `#include "../ui/annotwindow.h"` and in the CMake file 
`parttest` is linked with `okularpart` which included `annotwindow.cpp`
  
  I also reconfigured CMake.
  
  Any help?

REPOSITORY
  R223 Okular

REVISION DETAIL
  https://phabricator.kde.org/D10792

To: simgunz, #okular, aacid
Cc: ngraham, #okular, michaelweghorn, aacid

Reply via email to