As default include directory is set as /usr/include/QtSpell-qt5 and the library name as libqtspell-qt5.so, but QtSpell-qt5.pc installs with these contents:
prefix=/usr
libdir=${prefix}/lib
includedir=${prefix}/include/QtSpell-5
Name: qtspell
Description: Spell checking for Qt text widgets.
Version: 1.0
Libs: -L${libdir} -lqtspell-5
Cflags: -I${includedir}
Neither the includedir or the Libs values match with the installed files. So, gimagereader fails to build with qtspell 1.0, unless QtSpell-qt5.pc is modified:
prefix=/usr
libdir=${prefix}/lib
includedir=${prefix}/include/QtSpell-qt5
Name: qtspell
Description: Spell checking for Qt text widgets.
Version: 1.0
Libs: -L${libdir} -lqtspell-qt5
Cflags: -I${includedir}
Same thing happens if qtspell is build with Qt6 support. QtSpell-qt6.pc content does not match with the real include directory and the library name to link.
As default include directory is set as
/usr/include/QtSpell-qt5
and the library name aslibqtspell-qt5.so
, butQtSpell-qt5.pc
installs with these contents:Neither the
includedir
or theLibs
values match with the installed files. So, gimagereader fails to build with qtspell 1.0, unlessQtSpell-qt5.pc
is modified:Same thing happens if qtspell is build with Qt6 support.
QtSpell-qt6.pc
content does not match with the real include directory and the library name to link.