Compiling tellico under Ubuntu

Jose-Marcio Martins da Cruz jose.marcio.mc at gmail.com
Sat Oct 11 18:07:10 BST 2025


Hi,

Quick answer :

Ha ha ! Not able to compile with KF5. The problem seems to come from 
CMakeLists.txt file, line 81

	set(KF_MAJOR_VERSION ${QT_MAJOR_VERSION})

which forces to use KF6 if Qt6 is found.

I replaced it with :

	set(KF_MAJOR_VERSION "5")

Now it looks to KF5, but I have a lot of warnings in the "configure" step :

************************
  -- The following OPTIONAL packages have not been found:

   * Qt6WebEngineWidgets (required version >= 5.12.0), Building with 
QWebEngine is preferable to KHTML
   * Qt6Charts (required version >= 5.12.0)
   * KF5FileMetaData, Support for reading file metadata, 
<https://www.kde.org>
   * KF5NewStuff, Support for fetching new templates and scripts, 
<https://www.kde.org>
   * KF5Sane
   * KF5Cddb (required version >= 5.1)
   * Taglib, A library for reading and editing the meta-data of audio 
formats, <https://taglib.org/>
   * Yaz (required version >= 2.0), Support for searching z39.50 
databases, <https://www.indexdata.com/resources/software/yaz/>
   * Poppler, A PDF rendering library, <https://poppler.freedesktop.org/>
   * Exempi (required version >= 2.0), Support for reading PDF/XMP 
metadata, <https://libopenraw.freedesktop.org/exempi/>
   * Btparse, External support for parsing and processing BibTeX data 
files, <https://metacpan.org/release/Text-BibTeX>
   * CDIO, Support for reading cdtext from audio CDs, 
<https://www.gnu.org/software/libcdio/>
   * Csv (required version >= 3.0), External support for reading CSV 
files, <http://sourceforge.net/projects/libcsv/>
************************
But "generate" step ends with a lot of errors.
************************
  CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
  not agree with the value of QT_MAJOR_VERSION already determined
  for "tellico".
  CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
  not agree with the value of QT_MAJOR_VERSION already determined
  for "core".
==> lots of identical messages
...

  CMake Error at src/gui/CMakeLists.txt:65 (target_link_libraries):
    Target "gui" links to:

      KF5::IconWidgets
************************

I'll continue to try to solve this.

Thanks for your help.

Regards

José-Marcio

On 10/11/25 17:45, Robby Stephenson wrote:
> Hi,
> 
> On Fri, Oct 10, 2025 at 11:23 AM Jose-Marcio Martins da Cruz 
> <jose.marcio.mc at gmail.com <mailto:jose.marcio.mc at gmail.com>> wrote:
> 
> 
>     Hello,
> 
>     I'm having problems to compile tellico 4.1.3 under Ubuntu 24. Don't
>     know
>     if there are any hints somewhere.
> 
>     Qt6 OK, ECM OK. It looks for KFE6 libraries but it can't find them :
> 
> 
> It doesn't look like KF6 is available for Ubuntu 24.04, Noble, unless 
> you add the backports repository. And that may bring more complexity 
> than you want. Tellico 4.1.3 should still compile with KF5, have you 
> tried that?
> 
> Robby



More information about the tellico-users mailing list