Cleanup includes
There are many unneeded includes. And some unusual style for Qt includes (may be from clangd). Need to cleanup the mess.
Hello @variar ...
I happened to see what happened to you. Yes, I also encountered the same problem, because my development environment uses vscode + clangd extension, clangd often automatically fills in some unnecessary header files for me, so I had to check(by git status) and remove these files manually.
This is too troublesome for me, I would like to know if you have any good way to clear those useless header file inclusions now. Thanks in advance ...
I think I changed some arguments to VSCode clangd extension to make it stop adding includes automatically. No easy way to do a cleanup. There is an include what you use (https://github.com/include-what-you-use/include-what-you-use) but when I tried it last time it was doing something wrong.
I think I changed some arguments to VSCode clangd extension to make it stop adding includes automatically. No easy way to do a cleanup. There is an include what you use (https://github.com/include-what-you-use/include-what-you-use) but when I tried it last time it was doing something wrong.
Sure, thanks, I will have a try...