--- a/src/gui/version.h
+++ b/src/gui/version.h
@@ -29,10 +29,19 @@
 #ifndef __VERSION_H__
 #define __VERSION_H__
 
+// WARNING: DO NOT INCLUDE from header files visible outside gui code!!!
+
 /** Application name shown in various About boxes, window titles, etc .... */
 #define APP_NAME "PDFedit"
-/** Version of application. */
-#define VERSION "0.4.1-CVS"
+
+// It is not a macro, because we want to provide this information only 
+// during link time to prevevent from many modules rebuilding when we
+// change the version string.
+/** Version of application. 
+ * This will also include release (if defined). 
+ */
+extern const char *PDFEDIT_VERSION; 
+
 /** Compile time of this program */
 #define COMPILE_TIME (__DATE__ ", " __TIME__)