Missing #include <QPainterPath>

Sebastian Miele <[email protected]>
Newsgroups gmane.editors.texmacs.devel
Message-ID <[email protected]>
When compiling the current master branch of github:texmacs/texmacs, I
got

   error: aggregate ‘QPainterPath pp’ has incomplete type and cannot
   be defined

on two files (src/Plugins/Qt/QTMStyle.cpp and
src/Plugins/Qt/qt_renderer.cpp). After adding

   #include <QPainterPath>

to both files, it works. My system has only Qt5, no Qt4. But according
to https://doc.qt.io/archives/qt-4.8/qpainterpath.html, it should be
correct for Qt4, too.

_______________________________________________
Texmacs-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/texmacs-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.