[Kde-pim] Compile error kdepim-4.4.11.1

David Narvaez david.narvaez at computer.org
Sat Dec 22 21:28:46 GMT 2012


On Dec 19, 2012 2:20 PM, "monobello" <monobello at gmail.com> wrote:
>
> Greetings,
>
> I trying to compile the version 4.4.11.1 of kdepim on Fedora 17 and I
have hit a
> compile error.  This version compiled fine on Fedora 16. Could someone
help me
> get it working?
>
> kdepim-runtime-4.4.11.1 compiles without errors.
> kdepim-4.4.11.1 gets one compile error.  I have forced comiled (-k) all of
> kdepim-4.4.11.1 and this seems to be the only problem.
>
> [  4%] Building CXX object
> libkleo/CMakeFiles/kleo.dir/backends/qgpgme/qgpgmekeylistjob.o
> In file included from
>
/home/dan/KDE/kdepim-4.4.11.1/libkleo/backends/qgpgme/qgpgmekeylistjob.h:38:0,
>                  from
>
/home/dan/KDE/kdepim-4.4.11.1/libkleo/backends/qgpgme/qgpgmekeylistjob.cpp:33:
> /home/dan/KDE/kdepim-4.4.11.1/libkleo/backends/qgpgme/threadedjobmixin.h:
In
> instantiation of ‘void Kleo::_detail::ThreadedJobMixin<T_base,
> T_result>::lateInitialization() [with T_base = Kleo::KeyListJob; T_result
=
> boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>,
QString,
> GpgME::Error>]’:
>
/home/dan/KDE/kdepim-4.4.11.1/libkleo/backends/qgpgme/qgpgmekeylistjob.cpp:60:3:
> required from here
>
/home/dan/KDE/kdepim-4.4.11.1/libkleo/backends/qgpgme/threadedjobmixin.h:146:7:
> error: ‘connect’ was not declared in this scope, and no declarations were
found
> by argument-dependent lookup at the point of instantiation [-fpermissive]
>
/home/dan/KDE/kdepim-4.4.11.1/libkleo/backends/qgpgme/threadedjobmixin.h:146:7:
> note: declarations in dependent base ‘QObject’ are not found by
unqualified
> lookup
>
/home/dan/KDE/kdepim-4.4.11.1/libkleo/backends/qgpgme/threadedjobmixin.h:146:7:
> note: use ‘this->connect’ instead
> make[2]: ***
[libkleo/CMakeFiles/kleo.dir/backends/qgpgme/qgpgmekeylistjob.o]
> Error 1
> make[1]: *** [libkleo/CMakeFiles/kleo.dir/all] Error 2
> make: *** [all] Error 2
> [dan at F17VM1 build]$
>
> *****************************************************************
> At line 146 of threadedjobmixin.h there is this line
> connect( &m_thread, SIGNAL(finished()), this, SLOT(slotFinished()) );

Change that to QObject::connect

David E. Narvaez
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list