Compiling tellico under Ubuntu
Jose-Marcio Martins da Cruz
jose.marcio.mc at gmail.com
Sat Oct 11 18:29:56 BST 2025
Hi,
Thanks for your help.
I have an error during compilation, maybe because it looks for Qt5. If
I'm right, I saw somewhere that Qt5 version isn't supported anymore :
***************************
[ 42%] Building CXX object src/CMakeFiles/tellico.dir/mainwindow.cpp.o
/home/martins/sources/tellico/tellico-4.1.3/src/mainwindow.cpp: In
member function ‘void Tellico::MainWindow::initView()’:
/home/martins/sources/tellico/tellico-4.1.3/src/mainwindow.cpp:924:16:
error: ‘class Tellico::EntryView’ has no member named ‘setPalette’; did
you mean ‘setParent’?
924 | m_entryView->setPalette(m_iconView->palette());
| ^~~~~~~~~~
| setParent
make[2]: *** [src/CMakeFiles/tellico.dir/build.make:677:
src/CMakeFiles/tellico.dir/mainwindow.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1870: src/CMakeFiles/tellico.dir/all]
Error 2
make: *** [Makefile:146: all] Error 2
***************************
On 10/11/25 19:14, Robby Stephenson wrote:
>
>
> On Sat, Oct 11, 2025 at 1:06 PM Jose-Marcio Martins da Cruz
> <jose.marcio.mc at gmail.com <mailto:jose.marcio.mc at gmail.com>> wrote:
>
>
> 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.
>
>
> Pass the -DBUILD_WITH_QT6=off flag to CMake.
>
> Robby
More information about the tellico-users
mailing list