Le 22/11/2015 00:46, Aleix Pol a écrit :
On Sat, Nov 21, 2015 at 5:36 PM, Olivier Churlaud <oliv...@churlaud.com> wrote:
Hi,
I'm porting Amarok to KF5. I'm basically done with the pure C++/Qt part.
There is a folder that used to be powered by Plasma::Applet [1]. I have now
to port this to plasma-framework. Could you redirect me to a project which
use them so that it can inspire me? I have no idea of how to begin....
You can look at plasma-workspace/shell. Note that most Plasmoids are
written in QML nowadays, rather than C++.
I know that plasmoids are in QML and that's exactly my problem. I don't
know how to build the context with the plasma-framework, and I've never
seen a project which uses it (out of plasmoids, but it's not what I'm
looking for). I could try to do pure QML in the project, but it was
designed with the old plasma-framework and I think it should stay like this.
So basically my task is to create QML views (if possible extended by
Plasma) and let them interact with the main program (Amarok). And I
guess using the plasma-framework is a good way to do this. But I may be
wrong and the documentation in KDE doesn't deal with this "new way" of
creating software.
I read from this [1] but I'm not sure about what you meant. I begin to
wonder: is the plasma-framework a framework to help building apps like
kde-frameworks? Or is it just used for the plasma-desktop?
Thank you
Olivier
[1]
https://quickgit.kde.org/?p=plasma-workspace.git&a=tree&h=bf0191f278e1c02b45b0f9e89d260a86c194f14c&hb=548686efff8c1057298b5c0767df43757d8adf39&f=shell
Aleix
Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<