Click here to Skip to main content
13,189,506 members (27,866 online)
Rate this:
Please Sign up or sign in to vote.
See more:
i am seeking for a good (best) IDE for c/c++ programming .
i found Qt but i dont know is it the best choise or not?

and i saw in its site , it have 2models for windows .
1- Qt 5.0.1 for Windows 32-bit (MinGW 4.7, 823 MB)
2-Qt 5.0.1 for Windows 32-bit (VS 2010, 481 MB)

i dont know i have to download which one ? i already have vs2010 in my computer. but i want to coding without microsoft products

career programmers usually used from which IDE for c/c++ development?

may anyone help me?
Posted 6-Feb-13 8:58am
Updated 6-Feb-13 9:17am
Which site? Qt is not IDE.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

That depends what you're doing with C/C++ and how much experience you have.
Qt is very very good for small to mid scale application development for Windows, Linux and Mac. If you want to step outside that you may be out of luck, check the latest Qt docs. Qt is also very large, at least as large as MFC last I checked and that means there's a lot to learn to use it well.
It sounds like you don't want to work Windows? or just don't like Microsoft? or perhaps want to go fully open source? This will make things more difficult as Visual Studio is probably the easiet IDE to get started with but there are alternatives. CodeBlocks, Netbeans, Eclipse and U++ to name just 4. Remember these are just IDEs you still need a compiler underneath and that will generally be Microsofts Visual C++ Compiler cl or GNUs g++ or clang++ from the LLVM team.
There's a lot of choices but at the moment it looks like LLVM/clang might be the near future. If you do go with Qt you'll probably want to use QtCreator, their own IDE and the (Minimal Gnu for Windows) version of GCC/g++ that you mentioned. If it does come bundled with your Qt download then get it from whatever download link they recommend and be very precise about following exact install instructions, especially when it comes to paths. Once it's installed right it works very well.

I hope some of that long waffle is useful. Feel free to ask specific technical questions on these forums once your up and running. There's also a lot of examples in the articles section and Qt comes with a bag of its own.
Espen Harlinn 6-Feb-13 17:37pm
Good points :-D
Nice, a 5.
hor_313 7-Feb-13 2:41am
may answer my questions?
hor_313 6-Feb-13 23:26pm
i confused :(

i am looking for a good IDE such as visual studio but it is cross-platform and also im seeking the best compiler for c/c++

and i have a another question : if i want to use just from standard c/c++ libraries , what do i must do?
and if i used from non-standard libraries what do i must to do for executing my codes in other platforms or OS ?is it possible?
hor_313 6-Feb-13 23:33pm
and other question :D

what is the diffrence from c++ compilers? isnt c++ a standard language and have one standard? but why we have some compilers?
hor_313 6-Feb-13 23:58pm
and so , what are Cmake and qmake ?
are there any consepts except (compiler,SDK,IDE , cmake-qmake,API,DLL) in programming must know?
Matthew Faithfull 7-Feb-13 5:14am
OK that's a lot of questions. You may want to ask those separately on the forum to get other peoples ideas.
If you want to be as 'standard' as possible and cross platform then good, so do I but it is hard to. My advice is to use LLVM/Clang compiler which supports the new C++11 standard better than the others with Netbeans IDE which is cross platform, Windows and Linux.
Cmake, qmake, make, smake, pmake etc are all tools for building C/C++ projects. Compilers only deal with one part of the process of making a program. There's linking and adding Debug information and resources and packaging into shared libraries and executables. make programs like qmake which is part of Qt tie together these stages for you by calling all the programs to do them in sequence. If you use an IDE like Netbeans the make is all done for you which can be useful as make has its own language for describing your build process and personally I think its horrible. CMake is cross platform so if you decide to use a manual make instead of IDE go with CMake. Unfortunately to use CMake you need to buy the book becuase it is properly complicated.
hor_313 7-Feb-13 9:06am
just i can say thank you , you really helped me a lot
hor_313 10-Feb-13 9:33am
hi again matthew
can you explain your mean about this sentence : small to mid scale application development . please take some examples for small or mid popular applications are available
Matthew Faithfull 10-Feb-13 13:04pm
I've developed a very small game, Sokoban, as an interview test in Qt and Qt worked really well for that, made it very easy. I've also worked on a ~20,000 lines-of-code Desktop database management GUI project in Qt for which it also worked very well. Finally I worked on a team using Qt on a ~300,000 lines-of-code project and at that scale Qt was beginning to become part of the problem as well as part of the solution. In other words it has very good classes for the simple stuff, for relatively simple UIs, configuration, files and that sort of thing but once you try to build larger scale applications with a dozen toolbars and 18 menus and 150 dialogs the UI code begins to become very complex, difficult to debug and maintain mostly because the network of signals and slots ( Qt messaging system ) that gets built up over time is hard to figure out, hard to trace and hard to control in a multi threaded design. Qt doesn't ( or didn't at that time v3.8 ) contain direct support for patterns like flyweights for example which help when scaling to a larger projects. Unless you're planning to write a major piece of commercial software in a large team you really don't need to worry. Qt is likely to get improved faster than you can reach its limitations.
hor_313 11-Feb-13 5:07am
thanks a lot
hor_313 11-Feb-13 8:20am
just an other question :
how can i do native coding in Qt? is it possible?
Matthew Faithfull 11-Feb-13 8:42am
You have no choice in the sense the Qt is in Microsoft terms, native code. No C#, no CLR, no WinRT. Qt just being an SDK of libraries and headers you can use as much or as little of it as you like and try to write the rest in 'portable' C++. As long as all interaction with the OS, file system, GUI or anything that is in any way OS dependent is done through Qt then your code will work wherever Qt works.
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

Let's not forget C++Builder XE3 [^]

I like the IDE, and you'll find tons of free components at: Torry's Delphi Pages[^], as C++ builder is able to use, and compile, components written for Delphi (VCL).

Best regards
Espen Harlinn
Matthew Faithfull 6-Feb-13 17:51pm
Thanks, that one slipped through my net, it must be bed time.
Espen Harlinn 6-Feb-13 17:54pm
>> it must be bed time.
Possibly, btw - saw your articles - you mentioned that this is an open source project - do you have an URL?
Matthew Faithfull 6-Feb-13 18:05pm
Yes the code from the article is up on Source Forge
At the moment that's all I have online. Due to the nature of the project nothing much works without everything else already being there so the hardest thing is building up in a step by step manner over a series of articles. I'm working on the Architecture QOR at the moment to try and produce something of value that requires little or nothing more than the published CompilerQOR. It's hard going to be honest, low level is not my thing. You're welcome to a brain dump of the 'development' Strata-1 by email but I'm not keen to put it online right now as much of it is still very rough and doesn't even have licensing consistency.
Espen Harlinn 6-Feb-13 18:45pm
I'll have a look at the source :-D
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

What are you talking about? Qt is not SDK. I would consider Visual Studio vs Qt Creator, IDE which comes with Qt SDK:[^],[^],[^].

Best?! Well, if you know how to define the predicate "Better", you will go far. :-)

Espen Harlinn 6-Feb-13 17:36pm
Nice links :-D
Thank you, Espen.
hor_313 6-Feb-13 23:34pm
may you describe diffrene from these :
1- Qt 5.0.1 for Windows 32-bit (MinGW 4.7, 823 MB)
2-Qt 5.0.1 for Windows 32-bit (VS 2010, 481 MB)
No, sorry. But if you work on Windows, you don't want to mess with MinGW. Why couldn't you just read the documentation?
hor_313 7-Feb-13 5:01am
i cant undrestant it : if you work on Windows, you don't want to mess with MinGW.
Read about MinGW:

Why, if you can use Visual Studio, with available compiler?
hor_313 7-Feb-13 8:53am
ok but i thought cause minGW is cross-platform , its better for future

i have another question , what is diffrence between microsoft c/c++ compiler and minGW and other c/c++ compilers?
hor_313 6-Feb-13 23:57pm
which documantation? those linkes you put them?
i read them but i didnt see my answer there!
Look at your own question/comment:
1- Qt 5.0.1 for Windows 32-bit (MinGW 4.7, 823 MB)
2-Qt 5.0.1 for Windows 32-bit (VS 2010, 481 MB)
Where did you get it?
hor_313 7-Feb-13 8:55am
i foud it here :
but i couldnt see any documantation or same it
The documentation might be inside, but also search the site. I never used it, sorry, but if you are using Visual Studio and Windows, you only need option #2.
hor_313 7-Feb-13 9:25am
ok thanks a lot
You are welcome. Will you accept the answer formally?
hor_313 7-Feb-13 9:31am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171016.2 | Last Updated 6 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100