Reputation: 3517
I'm trying to add a compiler in Qt Creator, and I've read a few different answers and none of them work.
I went to tools > options > build & run > kits, selected the automatically found one with MinGw, clicked on "manage" next to compiler, clicked on the 64-bit MinGw, then clicked "apply" and then "ok," and nothing happened. It still says it needs a compiler.
Upvotes: 3
Views: 1329
Reputation: 3517
I figured it out.
It turns out that usually MinGW is 32-bit (I tried a 64-bit, but it didn't work). However, if you chose the 32-bit Qt, it actually comes with MinGW, so you really don't have to do anything at all. It's just the 64-bit version that gets more difficult, as it seems less standardized to me.
Thus, I uninstalled the 64-bit Qt, downloaded the 32-bit Qt, made sure to check MinGW (although I don't think I needed to as I had installed it earlier), and install. After that it should work fine.
There are 64-bit MinGW's, but there are a few of them and I couldn't match any to Qt's system.
Upvotes: 2