Calligra/Building/Qt 4.8.0 and 4.8.1 patch

From KDE Community Wiki

This is a step of building Calligra that is only needed if you're using Qt 4.8.0 or 4.8.1. This version of Qt crashes in the Text Shape quite heavily. The bug is fixed in Qt 4.8.2 and later.

To check what your version of Qt is, type:

qmake --version

There is a patch available for both Qt 4.8.0 and Qt 4.8.1 and most distributions that ship Calligra have included the patch in their Qt packages. See README.PACKAGERS for more information on the topic.

So if your Qt is either 4.8.0 or 4.8.1 and it has the patch applied this is an extra parameter for the cmake command that you need to append:

-DIHAVEPATCHEDQT=true