Qt Creator and Mingw
I've just installed Qt SDK on Windows with Mingw. The problem is I cannot get it to use the Mingw compiler. It always insists on using VS2008 (also on my machine). Does anyone have any ideas?
Qt Creator only offers the tool chains (mingw, msvc, whatever) that have a chance to work with your Qt version... so was the Qt version you are using build with MSVC2008?
Hi. I installed Qt and just ran it. I didn't build it. The Tools->options->Tool Chains shows Mingw as an option, but I cannot select it as my desired compiler!!
Which Qt do you use in your project?
Creator will only offer tool chains that will produce code that will actually work with the Qt version you have selected (independent of how many/which compilers you have selected). So you need to select a Mingw-Qt to be able to use mingw tool chains.
I'm still a newbie but think I just fixed this one.
- In Windows, select Start, Update Qt SDK.
- Select Package Manager, Next.
- Under Qt SDK, expand the nested items "Development Tools", "Desktop Qt", "Qt <version> (Desktop)". Check the box for "Desktop Qt <version> - MinGW" to install the MinGW compiler for desktop.
- Select "Next" as needed to finish the install process.