Jetbrains CLion is great for non-Qt C++, albeit paid. It helped me deliver a bank-exchange-grade connector in a tight schedule with very little knowledge of C (at that time). Mostly with static checking, compiling, cmake etc.
I would personally use qtcreator over clion (and in fact, I do) for not qt c/c++ projects.
It’s just a great ide. Using qt has nothing to do with making it a better or worse ide.
Just in case anyone has missed the news: since May 2025 CLion is free for non-commercial use.