开发者

What C++ IDE / approach would you recommend me? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

I know this question has been asked countless times before, but the other threads appear to be rather old, so I decided to make a new one.

Im starting my bachelor thesis in november and am writing a programm in C++ for that. The program will be available on Linux and Windows (possibly Mac) so ideally Ill just have to recompile my code.

How would you recommend me to play it? Develop it fully under one OS first, and then try to compile it on another and hope there is very little compiler-dependant code or should I check throughout the development if my code is portable enough?

And, what IDE should I use? Im looking to use Qt and maybe Boost or some other library, should the need arise. Ive got acsess to Visual Studio 2010. I also tried Code开发者_运维知识库Lite and liked that a lot, except the debugger, which I thought was very unfriendly and SVN, which I also didn't figure out back then. I used Eclipse CDT, mainly for the debugger and SVN, because I worked a lot with Eclipse for Java, but still preferred CodeLite "overall". Or should I use Qt SDK?

Which of those would you think suit best in my case?

  • VS10 - Develop everything here, then "port" to Linux
  • Eclipse CDT
  • CodeLite (any recommedable plugins?)
  • Qt SDK
  • Some other? (SVN support is important)

Thanks

Evgeni


If you want to port, make sure your code compiles on all relevant platforms at each milestone. Don't expect to easily retrofit compatibility at the end!

Qt is great. So is CMake, which generates a build environment for various platforms; it's also SVN-friendly.

I generally avoid Mircosoft but Visual Studio has great integration and debugging, just make sure your code doesn't depend on it (derive the VS project from CMake and keep it separate from the source in SVN).

Qt Creator is great if your project is strongly a Qt project. If you are using Qt simply to have a UI/network/foo library -- any UI/network/foo library -- then you might be happier with something which is stronger in other aspects.


Portable and Qt? I'd go for QtCreator.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜