C++ what other IDE other than VC++

Started by
68 comments, last by spielc 11 years, 7 months ago

[quote name='spielc' timestamp='1346928173' post='4977139']
[quote name='Servant of the Lord' timestamp='1338435989' post='4944872']
QtCreator is great*, it has intellisense, integrated debugger, and etc... I use it with MinGW (the GCC C++ compiler ported to windows). The version of MinGW that ships with QtCreator is 4.5 I think, but I manually upgraded to v4.6 which better supports the C++11 standard. (GCC is on 4.7, but that version hasn't yet been ported to MinGW and Windows yet - when it is ported, it'll almost completely implement the standard).

Hi i would be really interested in how you achieved that? Can this be done without having to rebuild qt-creator or is the switch a "compile-time option"? The problem is that i have some COM-Stuff in my qmake-project and it would be really helpful if i could get code completion to work and my hopes are that the newer version of gcc is better at working with the COM-macros
[/quote]

I had to rebuild the Qt APIs, because of a lack of binary compatibility between the two versions of GCC I was switching between (probably from inexperience on my part). But I didn't have to rebuild Qt Creator (the IDE).

You just specify to QtCreator what compiler to use, even using the MSVC++ compiler if you want. (On the vertical bar at the left side of the Qt IDE, hit 'Projects', and alongside "Toolchains", hit "Manage" and add a new one.


It can autodetect alot of installed compilers (including Clang, MinGW, GCC, and a few others) depending on where they were installed to (I think it looks in the PATH environment variable); so sometimes you don't even need to "Manage" and manually add them, you can just select it from the drop-down.

Since I have multiple Qt API installs (three?), and multiple MinGW installs (two?), I take advantage of QtCreator's custom build environments, to temporarily erase all the Windows PATH, and re-customize it just for compiling. I added paths to my Qt installs and my MinGW installs in the order of preference I have.

[/quote]

Woah thanks for the comprehensive answer! Building/compiling itself is not the problem though... I just want (or in the case of COM need) the possibility to get code-help from qt-creator and my hopes are that a newer version of mingw is better at parsing the COM+-macros. Thanks again though

This topic is closed to new replies.

Advertisement