Menu ▾ ▴

#1979 2.11.2 building with phonon fails due to faulty dynamic_cast

None
duplicate
nobody
None
1
2016-11-24
2016-11-24
Anonymous
No

Hello texstudio team,

I build with phonon + qt5 on voidlinux distribution

The problem is in PDFDocument.cpp (858)

2.11.0 builds fine

2.11.2 gives this:

pdfviewer/PDFDocument.cpp: In member function 'void PDFWidget::annotationClicked(QSharedPointer<poppler::annotation>, int)':
pdfviewer/PDFDocument.cpp:864:81: error: cannot dynamic_cast 'annotation' (of type 'class QSharedPointer<poppler::annotation>') to type 'class Poppler::MovieAnnotation*' (source is not a pointer)
movie = new PDFMovie(this, dynamic_cast<poppler::movieannotation *="">(annotation), page);</poppler::movieannotation></poppler::annotation></poppler::annotation>

Can you confirm?

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2016-11-24
    • status: open --> duplicate
    • Group: -->
     
  • Tim Hoffmann

    Tim Hoffmann - 2016-11-24

    duplicate: [bugs:#1927]

     

    Related

    Bugs: #1927


Log in to post a comment.