Hello Alberto!

I'm trying to reproduce what you describe in
http://bugs.meego.com/show_bug.cgi?id=5017 but I am getting an error
from QObject:

5:56:29 authserviceimpl.cpp 67 AuthServiceImpl :         
Object::connect: No such signal SignOn::AuthService::identities(const
QList<SignOn::IdentityInfo>& ) in signonclient.cpp:45
Object::connect:  (receiver name: 'SignonClient')

This happens both in my own code and in your signonclient.cpp *if* I
compile the later myself. It does not happen if I use the pre-compiled
signonclient from libsignon-exampleplugin-2.0-5.3.i586 (or at least I
don't see the error message and the app seems to work as intended).

To compile it myself, I used the attached examples.pro and copied
src/plugins/example/exampledata.h into the src/example/ directory, using
the code from git://gitorious.org/accounts-sso/signon.git

I'm baffled by this error. I double-checked, the signal exists:

/usr/include/signon-qt/SignOn/authservice.h:

        /*!
         * Lists identities available on the server matching query parameters.
         * This signal is emitted in response to queryIdentities().
         *
         * @param identityList list of identities information
         */
        void identities(const QList<IdentityInfo> &identityList);

$ strings /usr/lib/libsignon-qt.so | grep identities
...
identities(QList<IdentityInfo>)

The connect() also looks right:

    connect(m_service, SIGNAL(identities(const QList<SignOn::IdentityInfo>& )),
            this, SLOT(identities(const QList<SignOn::IdentityInfo>& )));

One difference that I see is that my signonclient executable links
against libsignon-qt.so.1 while the packaged one does not. There is no
libsignon-qt.a in the -devel package, so I cannot link statically.

System: MeeGo Trunk as of yesterday,
libqtcore4-4.7.0~rc1-2.3.i586
libsignon-devel-2.0-5.3.i586
libsignon-2.0-5.3.i586

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.

TEMPLATE = app
TARGET = signonclient
DEPENDPATH += .
INCLUDEPATH += .
CONFIG += uitools \
    debug \
    link_pkgconfig
CONFIG += qdbus

PKGCONFIG += libsignon-qt

# Input
FORMS += signonclient.ui
HEADERS += signonclient.h
SOURCES += main.cpp \
    signonclient.cpp



_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to