Cannot build calligra with Intel compiler due to faulty configuration in QtCore/qglobal.h which basically treats icc 15.0 and later as if it were gcc.
# if defined(__INTEL_COMPILER) && __INTEL_COMPILER < 1500
# define Q_CC_INTEL
# define Q_CC_GNU
This is an example of the kind of compilation error that is seen without the patch:
$ icpc -O2 -o TestGlobalSearch.cpp.o -c TestGlobalSearch.cpp.icc.i
In file included from /usr/include/QtTest/qtestkeyboard.h(50),
/usr/include/QtTest/qtestspontaneevent.h(89): error: taking the address of a bit field is not allowed
The build of calligra with Intel compiler 15.0 is successful with the patch applied.
Thanks and regards