Solution to parse error at “IID” reported by QT

1. Environment

deepin v20.2.3
Qt5.14.2

2. Error log

Parse error at "IID"

3. Solutions

A lot of people on the Internet say that the supplementary constructor code is invalid after trying. Finally, it was found that the installation Qt5 private header file was missing, which was compiled after installation.

sudo apt install qtbase5-private-dev

4. Reference

Try to build QT
Qt5 plug-in file for Linux system

Read More: