- Package:
- libqglviewer-headers
- Source:
- libqglviewer
- Submitter:
- Sebastian
- Date:
- 2026-03-03 17:23:02 UTC
- Severity:
- normal
- Tags:
Dear Maintainer,
trying to use #include<QGLViewer/qglviewer.h>
leads to compilation error:
/usr/include/QGLViewer/vec.h:29:24: fatal error: QDomElement: No such
file or directory
# include <QDomElement>
solved effectively by changind line 29 of /usr/include/QGLViewer/vec.h to:
# include <QtXml/QDomElement>
Architecture: amd64
You should only expect things to work when you are setting them up as intended. The CFLAGS for your project should include the necessary -I flag to point the preprocessor to the right place. Maybe the libQGLViewer-qt5.prl needs to be changed to achieve this. But for now you can work around by checking QtXml via pkgconf. Does that work for you?