[Tellico-users] Error compiling Tellico 2.0

View: New views
3 Messages — Rating Filter:   Alert me  

[Tellico-users] Error compiling Tellico 2.0

by Charles de Miramon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I'm trying to compile Tellico 2.0 on Debian Stable (you need to install
quite a lot of packages from Debian Unstable). I'm stuck with this error :

[ 73%] Built target rtf2html
[ 73%] Building CXX object src/CMakeFiles/tellico.dir/tellico_utils.o
/usr/include/qt4/QtCore/qchar.h: In function ‘QString
Tellico::removeAcceleratorMarker(const QString&)’:
/usr/include/qt4/QtCore/qchar.h:348: error: ‘QChar::QChar(char)’ is private
/usr/local/src/tellico-2.0/src/tellico_utils.cpp:111: error: within this
context
/usr/include/qt4/QtCore/qchar.h:348: error: ‘QChar::QChar(char)’ is private
/usr/local/src/tellico-2.0/src/tellico_utils.cpp:123: error: within this
context
/usr/include/qt4/QtCore/qchar.h:348: error: ‘QChar::QChar(char)’ is private
/usr/local/src/tellico-2.0/src/tellico_utils.cpp:123: error: within this
context
/usr/include/qt4/QtCore/qchar.h:348: error: ‘QChar::QChar(char)’ is private
/usr/local/src/tellico-2.0/src/tellico_utils.cpp:144: error: within this
context
make[2]: *** [src/CMakeFiles/tellico.dir/tellico_utils.o] Erreur 1
make[1]: *** [src/CMakeFiles/tellico.dir/all] Erreur 2
make: *** [all] Erreur 2

Qt4 version : 4.5.3
gcc version 4.3.2 (Debian 4.3.2-1.1)

Cheers,
Charles

_______________________________________________
tellico-users mailing list
tellico-users@...
https://mail.kde.org/mailman/listinfo/tellico-users

Re: [Tellico-users] Error compiling Tellico 2.0

by robbystephenson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sunday 11 October 2009, Charles de Miramon wrote:
> Hello,
>
> I'm trying to compile Tellico 2.0 on Debian Stable (you need to install
> quite a lot of packages from Debian Unstable). I'm stuck with this error

That's with KDE 4.1. something, right? That's a branch of code that hasn't
been tested in a while. :)

> /usr/include/qt4/QtCore/qchar.h:348: error: ‘QChar::QChar(char)’ is
> private /usr/local/src/tellico-2.0/src/tellico_utils.cpp:144: error:
> within this context

Just fixed it, though I'm not completely sure everything works right on KDE
4.1. Thanks for the email.

Robby
_______________________________________________
tellico-users mailing list
tellico-users@...
https://mail.kde.org/mailman/listinfo/tellico-users

Re: [Tellico-users] Error compiling Tellico 2.0

by Charles de Miramon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Robby Stephenson wrote:

> Just fixed it, though I'm not completely sure everything works right on
> KDE 4.1. Thanks for the email.
>

Thanks. With your correction, Tellico compiles and seems to work with some
minor visual glitches (no icons). I guess, I need some KDE4 package.

For other people, I document what I have done

Install from Debian unstable : cmake, libqt4-dev, libqtcore4. All other
libraries come from Debian Stable

Go in /usr/local/src
svn checkout svn://anonsvn.kde.org/home/kde/trunk/extragear/office/tellico

cd tellico
cmake . -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
make
make install

--
http://www.kde-france.org

_______________________________________________
tellico-users mailing list
tellico-users@...
https://mail.kde.org/mailman/listinfo/tellico-users