Introducción a Patrones de Diseño en C++ con Qt4/C.5 Herramientas de Desarrollo de Código Abierto, Librerías, IDEs

Versión para imprimir esta pagina

C.5. Open Source development tools, Libraries, IDEs.

[ fromfile: tools.xml id: tools ]

There are some open source libraries built on top of Qt, which provide you with additional reusable components.

   *
     Qwt - Qt Widgets for Technical Applications.
   *
     Qxt - Qt eXTension Library. 

IDEs

It is not practical to do object oriented development with an ordinary text editor. Object-oriented development typically involves working with many classes, and many more files (headers + sources). Writing code in an edit window is just a small part of the development process. A good programmer's editor or IDE (integrated development environment) should support many of the following features:

   *
     Tree-like structured navigation to object/members in any file
   *
     Refactoring assistance for moving/renaming members
   *
     Integrated debugger
   *
     Context-sensitive help linked to API documentation
   *
     A built-in command-line shell window so you can run programs without leaving your environment
   *
     A project manager, to help manage groups and subgroups of related files
   *
     Editing modes in other programming languages
   *
     Easy keyboard customization, the ability to make any keystroke perform any task (cursor movement especially, but also window movement)
   *
     An open plugin architecture, so you can easily add other components
   *
     Integration with a version control facility is desirable. Look for CVS, Subversion, or Darcs).
   *
     Learnable and scriptable macros
   *
     Language-aware navigation to different files (with shortcuts such as “find declaration” and “find definition”, or “find references”) 

Another open-source IDE for Win32 users is Dev C++ from Bloodshed Software, which works quite well with MinGW and cygwin.

KDE users can use KDevelop3, an open source IDE based on Qt3. It has built-in support for importing Qt's qmake project files - select Project -> Import Existing Project from the menu and choose the project file you wish to work with. Kdevelop4 will be based on Qt4.

Mac OSX users will probably use XCode.

For all platforms, there is Eclipse, a free Java-based open-source IDE. Trolltech makes an eclipse integration package which gives makes Eclipse as useful as any of the native C++ IDEs. You can download plugins for C++ development, as well as Qt/KDE development. The latter allows you to import qmake .pro files into eclipse as projects directly. UML Modeling Tools

For creating diagrams in this book using the Unified Modeling Language, we use two open-source tools: Umbrello and Dia. Each tool uses an XML dialect as its native file format.

Umbrello, shown in Figure C.2, is the KDE UML Modeler - it can directly import C++ code, making it very easy to drag and drop imported classes into diagrams.

Figure C.2. Umbrello Screenshot Umbrello Screenshot

Dia is a more general purpose diagram tool with some UML features. There are many plugins and utilities that let you import code and export diagrams to/from Dia to other languages and formats.


Versión para imprimir esta pagina