What is it?
It is a Qt-based wrapper around the SUSE
Studio developers API. It allows you to work with Studio
using C++ without having to keep track of the API or deal with
XML. It handles all network connections for you, returning data
asynchronously in the form of QVariantMaps.
It is licensed under the LGPL.
How do I get it?
Pull it from git:
and then run
qmake QSUSEStudio.pro && makeOne of these days there will be pre-built RPMs and DEB
packages. The sourceforge project page is here.
How do I use it?
All calls return QVariantMap
representations of the data. Documentation on those values as
well as the API calls are on-going and will be documented in the wiki,
but you can call printMap(map)
to dump out the structure so you can see what you're working with.
A basic guide to using the library:
class Example : public QObject
void receivedResponse(QVariantMap map);
studio = new QSUSEStudio("my_user_name",
connect (studio, SIGNAL(responseReady(QVariantMap),
void Example::receivedResponse(QVariantMap map)
It doesn't work
There is a mailing
list you can turn to, or email the author, Matt Barringer, directly
(firstletter and firstname.lastname@example.org).