Filewatcher File Search File Search
Catalog
Content Search
» » » » » strigi-vc100-0.7.5-1-src.tar.bz2 » Content »
pkg://strigi-vc100-0.7.5-1-src.tar.bz2:821563/strigiclient/lib/searchclient/qtdbus/  info  downloads

README

how to get the introspection xml?

dbus-send --type=method_call --print-reply --dest=vandenoever.strigi  /search org.freedesktop.DBus.Introspectable.Introspect

dbus-send --type=method_call --print-reply --dest=org.freedesktop.xesam.searcher /org/freedesktop/xesam/searcher/main org.freedesktop.DBus.Introspectable.Introspect

qdbusxml2cpp -p strigidbus -i strigitypes.h strigiinterface.xml

when seeing problems when running the test application, try running with QDBUS_DEBUG=1

other useful lines for debugging the message interpretation:

   QDBusMessage msg = strigi.getHits(query, 10, 0);
   qDebug() << msg.arguments().at(0).typeName();
   qDebug() << qvariant_cast<QDBusArgument>(msg.arguments().at(0)).currentSignature();
   qDebug() << QDBusMetaType::typeToSignature(qMetaTypeId<QList<StrigiHit> >());
   QDBusReply<QList<StrigiHit> > r = msg;//strigi.getHits(query, 10, 0);
Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com