[Kde-finance-apps] playground/office/alkimia

Brian Cappello briancappello at gmail.com
Sun Jun 27 18:41:41 CEST 2010


Cristian,
Thanks for the heads up, I added the clause that was LGPL v2.1 or later if
approved by KDE e.V.... would that be the most appropriate license for this?


About the commit:
DBus adaptors are... mostly working /me thinks. The UI client interfaces
with the backend via the adaptors. Aside from the initial qdbuscpp2xml
generation, everything else is automated by CMake. Took me a while to "get"
it, but once I got them working, I must admit I'm really impressed with how
incredibly simple and elegant Qt/dbus has made IPC :)  I'm having a lot of
trouble with CMake though; the project builds fine as-is from the top-level
directory (building both the backend and the ui together), however, I can't
figure out how to get the backend to build and install independently. The
reason I want to be able to do that is so that the backend can install its
DBus adaptor-description files (where is the proper place to put those? i'm
using --install-prefix/interfaces for now as per the Qt docs). That way,
client codes can just look in that directory and be able to interface with
the backend's DBus interfaces without needing to know where the backend
sources are.

Download plugins are... not working. The uploaded code compiles and works
fine, but, that's because it doesn't use QtPlugin (it's just an extension of
my previous code). You can see the remnants of my failed first-attempt at
plugins in plugininterfaces.h and symbolsuggesterplugin.* [these files are
not needed by the 'working' code to compile.] I found Qt's documentation for
plugins to be personally much better than that for DBus, so I got pretty
excited and wanted to try to get it working... but again, CMake!!! I
couldn't figure out how to get CMake to recognize the plugins. And I'm
pretty confused by multiple-interface inheritance (I was trying to add a
constructor to the plugins because they "need" to be able to
instantiate/delete their own objects, but, I couldn't find any examples for
how to correctly do that, and all my attempts resulted in a million and a
half compiler errors.) So if anybody happens to know of any source code out
there that uses QtPlugin combined with CMake, or, more complex examples than
those in the qtdocs (using qmake or cmake), that'd be super helpful. Or any
advice, really, regarding plugins would be super-appreciated (Like, is there
a better way than trying to use Qt's plugin system, or is that a good way
that I should keep wrestling with?)

Right now I'm working on a graphical overview of where the code is / where
I'm thinking of trying to go. Should be up on my page on techbase in not too
long.

Regards,
Brian

On Sun, Jun 27, 2010 at 4:33 AM, Cristian Oneţ <onet.cristian at gmail.com>wrote:

> În data de Duminică 27 Iunie 2010 08:13:47 Brian Cappello a scris:
> > SVN commit 1143259 by bcappello:
> >
> > Initial AlkQuotes commit.
> >
> >  A             alkquotes (directory)
> >  A             alkquotes/CMakeLists.txt
> >  A             alkquotes/backend (directory)
> >  A             alkquotes/backend/CMakeLists.txt
> >  A             alkquotes/backend/CMakeLists.txt.kde4.backup
> >  A             alkquotes/backend/CMakeLists.txt.qt4.backup
> >  A             alkquotes/backend/backend.cpp   [License: UNKNOWN]
> >  A             alkquotes/backend/backend.h   [License: UNKNOWN]
> >  A             alkquotes/backend/downloader.cpp   [License: UNKNOWN]
> >  A             alkquotes/backend/downloader.h   [License: UNKNOWN]
> >  A             alkquotes/backend/main.cpp   [License: UNKNOWN]
> >  A             alkquotes/backend/newstatsmanager.cpp
> >  A             alkquotes/backend/newstatsmanager.h   [License: UNKNOWN]
> >  A             alkquotes/backend/org.kde.quotebackend.statsmanager.xml
> >  A             alkquotes/backend/org.kde.quotebackend.symbolmanager.xml
> >  A             alkquotes/backend/plugininterfaces.h   [License: UNKNOWN]
> >  A             alkquotes/backend/statsmanager.cpp   [License: UNKNOWN]
> >  A             alkquotes/backend/statsmanager.h   [License: UNKNOWN]
> >  A             alkquotes/backend/symbolfinderplugin.cpp   [License:
> > UNKNOWN] A             alkquotes/backend/symbolfinderplugin.h   [License:
> > UNKNOWN] A             alkquotes/backend/symbolmanager.cpp   [License:
> > UNKNOWN] A             alkquotes/backend/symbolmanager.h   [License:
> > UNKNOWN] A             alkquotes/backend/symbolsuggesterplugin.cpp
> > [License: UNKNOWN] A
> alkquotes/backend/symbolsuggesterplugin.h
> >   [License: UNKNOWN] A             alkquotes/backend/testbackend.sh
> >  A             alkquotes/backend/yahoostatsplugin.cpp   [License:
> UNKNOWN]
> >  A             alkquotes/backend/yahoostatsplugin.h   [License: UNKNOWN]
> >  A             alkquotes/ui (directory)
> >  A             alkquotes/ui/CMakeLists.txt
> >  A             alkquotes/ui/FindPKGCONFIG_GETVAR.cmake
> >  A             alkquotes/ui/main.cpp   [License: UNKNOWN]
> >  A             alkquotes/ui/mainwindow.cpp   [License: UNKNOWN]
> >  A             alkquotes/ui/mainwindow.h   [License: UNKNOWN]
>
> Hi Brian,
>
> Could you add the missing licenses for the committed files? Check out
> http://techbase.kde.org/Policies/Licensing_Policy for more details. Also
> please remove the not-source-related files like *.kde4 *.backup.
>
> Thanks!
>
> --
> Regards,
>
> Cristian Oneţ
>
> _______________________________________________
> Kde-finance-apps mailing list
> Kde-finance-apps at kde.org
> https://mail.kde.org/mailman/listinfo/kde-finance-apps
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-finance-apps/attachments/20100627/366d87a5/attachment.htm 


More information about the Kde-finance-apps mailing list