El manual de usuario de KDevelop: Guía de referencia para el Entorno Integrado de Desarrollo KDevelop para sistemas Unix, versión 1.2. | ||
---|---|---|
Anterior | Capítulo 9. Generación de ejecutables | Siguiente |
The Linker Options for your current project can be set by the last page of the project options dialog. You have to enable those libraries that your application uses to link them to your binary with the Linker , e.g. your application uses the class KFileDialog. As the class KFileDialog is part of the KFile library, you have to enable kfile. For classes or functions that are not listed as checkboxes, use the "additional libraries" field.
This means that all redundant information will be removed from the object files and the binary, resulting that debugging will not be possible. For as long as your application is in a development stage and not released as final, you should leave this option disabled.
This option disables the use of shared libraries on systems that support this. On systems using no shared libraries, this option will have no effect.
Here, you can enter additional flags for the Linker , setting the LDFLAGS environment variable by make . The available options can be taken from the man page for ld or your Compiler manpage.
The libraries section contains checkboxes for the most needed libraries in conjuction with Qt/KDE application development. You have to enable those libraries that your application uses, otherwise the Linker will complain about unresolved symbol tables.
The X11 library. Recommended for all X-Window programs.
The X11 extension library. Also most X-Window programs depend on Xext.
The Qt-library . Recommended for Qt and KDE applications.
The KDE Core library; contains the classes for KDE Application frameworks.
The KDE User Interface library; contains KDE-specific widgets .
The KHTML Widget library.
The KFM library containing classes for KFM functions.
The KFile library. Contains file dialogs etc.
The KSpell library. Contains an interface for programs to use Ispell for spell-checking.
The KAdressBook library. Needed for access to the addressbook as well as providing addressbook widgets
As GNU make supports some useful options, the Project Options dialog contains a page called "Make-Options", where those can be en/disabled. The available settings are:
prints out all information about the project files and what make determines for rebuilding them.
tries to continue with the compilation after an error occurred (e.g. a file couldn't be compiled due to an error)
prints out the make -database for the current process which contains the changes from the last build-run.
give the current environment variables a higher priority than the currently used variables in the Makefile s.
doesn't use built-in rules for make .
don't run the Compiler on changed files; instead only touches them. This sets them as already processed by make .
Ignores all errors that occur
doesn't print out any information about the build-process
prints the current directory during the make -process.
sets the amount of parallel processes for make . For a single-CPU system we recommend setting this to one or two.
sets the selected file modified. Choose the file by clicking the folder button on the right. Setting a file modified means that the file will be processed by make and compiled if it is a source file.
set additional options to make ; those can be found in your local man page for "GNU Make".