Aspose. Words for C++22 version reported an error when running qt

The current requirement is to generate data documents under the 4.8.2 version of qt. However, the 22 version of Aspose.Words for. NET is currently downloaded. After adding it, the Header file is referenced in maincpp and an error is reported, as shown in the figure:

2806e01b1ccd17a29f4597e81df486e.jpg (346.3 KB)
eaab12e14f396e82ea2c2c9de7b0680.jpg (277.6 KB)
5833d83411de53aa84a892b642e6653.jpg (294.3 KB)

May I ask how to solve it?

@hesijia1234, I have forwarded your request to the developer responsible for Aspose.Words for C++. I will update you once I get a response.

Looking forward to your reply very much.

@hesijia1234, Could you please point which version of Qt you have installed?

Hello, I am using the third QT version,qt-win-opensource-4.8.4-mingw.exe.

@hesijia1234, Is it 4.8.2 or 4.8.4? Also could you provide the version of MinGW, and, if possible, a download link for that version?

Version 4.8.2,mingw 32,I need to look for the download link, but I’m not sure if I can find it.

@hesijia1234, Could please check what version of C++ is installed by running mingw\bin\g++.exe --version?

f79300d772fd2952b375136091e6dfe.jpg (387.1 KB)
4.9.2

@hesijia1234, I got the response from the developers:

  1. Qt 4.x is not supported. Officially, Qt 5.x and Qt 6.x are supported.

  2. Also the version of gcc (4.9.2) you use is old and does not fully support C++ 14 language standard. So this might be the source of errors you are having.

Here is the list of the supported development environments: System Requirements|Aspose.Words for C++

As the first step, you can try to build our example Qt application: https://github.com/aspose-words/Aspose.Words-for-C/tree/master/Showcases/DocumentExplorer