environment:
Version: Galaxy Kylin Desktop OS V10 (SP1)
Kernel: Linux 5.4.18-35-generic
CPU: Phytium, D2000/8
Enter uname -m in the terminal to view
the architecture aarch64
Install Qt in the store. After the installation is complete, select the available Qt version number in Tools-Options-kits Construction Kit-Qt Version. I chose the Qt5 construction kit
desktop c: and selected GCC (C, arm 64bit in /usr/bin). c++: choose GCC (C++, arm 64bit in /usr/bin)
Qt version choose Qt5.12.8 (Qt5)
Qt compiler:
Open the upper right corner of the project and select Unix (LF)
std:string and many other places to report errors
Creating a new project also reports an error, but the project runs normally:
main.cpp:8:5: error: unknown type name 'MainWindow'
main.cpp:7:18: error: variable has incomplete type 'QApplication'
qwindowdefs.h:81: 7: note: forward declaration of 'QApplication'
Solution: Help - About Plugins - ClangCodeModel Uncheck Save and restart without reporting an error