Created attachment 56963 [details] Fixes compile on my system In file included from /local/build/calligra/tools/koabstraction/moc_FoCellEditor.cpp:10:0, from /local/build/calligra/tools/koabstraction/koabstraction_automoc.cpp:4: /local/build/calligra/tools/koabstraction/../../../../git/calligra/tools/koabstraction/FoCellEditor.h:22:21: fatal error: QTextEdit: No such file or directory compilation terminated. make[2]: *** [tools/koabstraction/CMakeFiles/koabstraction.dir/koabstraction_automoc.o] Error 1 In file included from /local/git/calligra/tools/koabstraction/KoAbstractApplicationController.cpp:22:0: /local/git/calligra/tools/koabstraction/KoAbstractApplicationController.h:25:23: fatal error: QMessageBox: No such file or directory compilation terminated. make[2]: *** [tools/koabstraction/CMakeFiles/koabstraction.dir/KoAbstractApplicationController.o] Error 1 In file included from /local/git/calligra/tools/koabstraction/RemoveSheetCommand.cpp:20:0: /local/git/calligra/tools/koabstraction/RemoveSheetCommand.h:20:24: fatal error: QUndoCommand: No such file or directory compilation terminated. make[2]: *** [tools/koabstraction/CMakeFiles/koabstraction.dir/RemoveSheetCommand.o] Error 1 In file included from /local/git/calligra/tools/koabstraction/KoCellToolFactory.cpp:20:0: /local/git/calligra/tools/koabstraction/KoCellToolFactory.h:23:31: fatal error: KoToolFactoryBase.h: No such file or directory compilation terminated. make[2]: *** [tools/koabstraction/CMakeFiles/koabstraction.dir/KoCellToolFactory.o] Error 1 In file included from /local/git/calligra/tools/koabstraction/KoCellTool.h:23:0, from /local/git/calligra/tools/koabstraction/KoCellTool.cpp:21: /local/git/calligra/tools/koabstraction/koabstraction_export.h:24:23: fatal error: kdemacros.h: No such file or directory compilation terminated. make[2]: *** [tools/koabstraction/CMakeFiles/koabstraction.dir/KoCellTool.o] Error 1 In file included from /local/git/calligra/tools/koabstraction/FoCellEditor.cpp:19:0: /local/git/calligra/tools/koabstraction/FoCellEditor.h:22:21: fatal error: QTextEdit: No such file or directory compilation terminated. make[2]: *** [tools/koabstraction/CMakeFiles/koabstraction.dir/FoCellEditor.o] Error 1 make[2]: Target `tools/koabstraction/CMakeFiles/koabstraction.dir/build' not remade because of errors. make[1]: *** [tools/koabstraction/CMakeFiles/koabstraction.dir/all] Error 2 make[1]: Target `all' not remade because of errors. make: *** [all] Error 2 make: Target `default_target' not remade because of errors. -- Failed: calligra
Comment on attachment 56963 [details] Fixes compile on my system Sorry, this patch does not work. It worked because I only called "make" after writing this patch. If you clean your CMakeCache.txt, on the next run, koffice fails to build again.
(calligra, not koffice, of course, still trying to get used to it :)
Fixed with 71e80ed3 by Cyrille Berger, thanks ;)