[Echempp-devel] Icon support within project
Status: Beta
Brought to you by:
berndspeiser
|
From: Kai L. <kai...@un...> - 2005-12-06 10:17:21
|
Dear all,
due to the changed building procedure
(from qmake to autotools) it was necessary
to use the autoheader facility within the
GUI/configure.in script - e.g. in order to
tell Qt where to find some icon.png files.
You can use the C-preprocessor macros listed
in the GUI/config.h file in your sources.
1) After a cvs checkout, look into the GUI/README
file and set the EPP_ICONSRC variable as
described.
2) run ./bootstrap in the GUI directory
(this creates the config.h)
3) for all usable macros see the config.h file
4) to use these macros in your sources,
add the follwong lines to you include
directives.
#if HAVE_CONFIG_H
#include <config.h>
#endif
Chears
Kai
--=20
http://echempp.sourceforge.net
Kai Ludwig
Institut f=FCr Organische Chemie
Auf der Morgenstelle 18
72076 T=FCbingen
Tel.: +49-7071-29-73049
Mail: kai...@un...
|