[vlmc-devel] [PATCH] Makefile.am: Add missing CrashHandler recipe

Abhimanyu Singh Gaur gaur.1 at iitj.ac.in
Thu Mar 30 09:42:54 CEST 2017


CrashHandler uses Qt StaticMetaObject but earlier it was being compiled without generating a .moc.cpp file first, giving build errors.
---
 Makefile.am | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 8d81dd7..b9adfa9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -361,7 +361,11 @@ vlmc_UI = \
 
 if HAVE_CRASHHANDLER
 vlmc_UI += src/Gui/ui/CrashHandler.ui
-vlmc_SOURCES += src/Gui/widgets/CrashHandler.cpp
+vlmc_SOURCES += \
+	src/Gui/widgets/CrashHandler.h \
+	src/Gui/widgets/CrashHandler.cpp \
+	$(NULL)
+nodist_vlmc_SOURCES += src/Gui/widgets/CrashHandler.moc.cpp
 if HAVE_WIN32
 vlmc_SOURCES += src/Tools/Win32BacktraceGenerator.cpp
 else
-- 
2.9.3



More information about the Vlmc-devel mailing list