Best crossplatform C++/QT4 development environment

非 Y 不嫁゛ 提交于 2019-11-30 13:57:57

What about QtCreator? It's still in beta but it's very light and it's really a joy to code with it.

I've been using the new QtCreator and like it so far. Still beta though and may be missing a few tools or features that you need. QtDesigner is integrated with it. It uses QMake project (.pro) files behind the scenes, so you or other programmers can just use those directly on the command line (qmake and make) along with their favorite text editor if they don't want or can't use an IDE at some point. http://trolltech.com/developer/qt-creator

i don't get why you have to use an IDE on both platforms. i use KDevelop on Linux, and for each test i just sync the sources to mac and windows and make/test locally on each. if something breaks, i fix it in the original sources, on Linux.

it's very seldom that i want to edit something on mac/win, and for that any decent editor is enough (BBedit/Notepad++)

I would recommend CMake for this task. Once you get the hang of it, it's pretty easy to create cross-platform applications or libraries that use QT, using the FindQT CMake module.

There are open-source QT and KDE projects that use CMake as their build system, so you can look at their code if you need to see real use cases (I did).

qt-apps.org environment tools has loads of free development environments listed, and much more general development tools. kde-apps.org environment tools has yet another bunch of tools, where some of them will work on Windows too.

You can use the Qt plugin that you mention with Eclipse on Windows and Linux. The only thing you need to do when you move from one platform to the next is run qmake again to ensure your make files are correct and up-to-date. But I believe (I have not tried it) you can configure your eclipse environments to handle the qmake execution when it does an auto build. Note that the Qt plugin also allows you to do everything you do in Qt Designer.

What about Qt Designer?

Eclipse is a very very good candidate ( you get a nice SVN integration, Mylyn for tasks which is awesome and a world of other awesome plugins ) but sometimes you have to deal with weird problems. Otherwise it is a great IDE. Note: Really good for Java development.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!