Bug 265760

Summary: calligra master fails to compile
Product: [Applications] calligracommon Reporter: Christoph Feck <cfeck>
Component: generalAssignee: Calligra Bugs <calligra-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Fixes compile on my system

Description Christoph Feck 2011-02-08 04:38:42 UTC
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 1 Christoph Feck 2011-02-08 05:20:38 UTC
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.
Comment 2 Christoph Feck 2011-02-08 05:21:26 UTC
(calligra, not koffice, of course, still trying to get used to it :)
Comment 3 Christoph Feck 2011-02-25 20:05:39 UTC
Fixed with 71e80ed3 by Cyrille Berger, thanks ;)