--- a/src/gui/pdfedit.pro
+++ b/src/gui/pdfedit.pro
@@ -141,6 +141,7 @@
 HEADERS += annotdialog.h
 HEADERS += mergeform.h selectpagesdialog.h
 SOURCES += mergeform.cc selectpagesdialog.cc
+SOURCES += version.cc
 
 # Help window
 HEADERS += helpwindow.h