Can't connect doctrenderer lib with Qt project

I need a create simple docx file into C++ project but I can’t compile whole project with included docbuilder.h. GCC says about 100+ errors founded in this header, maybe I do smthg wrong by connecting to my Qt project?

There’s no any instructions about Qt Creator but only for Visual Studio. Can anyone help me?

I use Qt 6.5.2, Qt Creator 11.0.1, GCC 11.4.0 and Document Builder 7.5.0.

Hello @waynrayne

Unfortunately, we haven’t tested compatibility of Document Builder with this exact framework. However, as I can see it relies on C++ implementation. Possibly you can find more information from this article on integration of Document Builder into C++ project: