This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Straightforward way to get KDE & Plasma Frameworks?

Tags: None
(comma "," separated)
User avatar
bundito
KDE Developer
Posts
11
Karma
0
OS
I'm trying to follow the simple example of building a "Hello World" plasmoid from the TechBase wiki. But I'm missing the org.kde.plasma.* libraries.I can find them on the KDE git repositories, but they all have multiple dependencies, which leads me down a never-ending rabbithole of "this requires that which depends on this which requires that".

It seems ridiculous to clone git repositories one by one, run cmake, find out what's missing, go get that, run cmake on it, find out what's missing from that one, and so on.

I've found the KDE repository of all the tarball files, but again, I'm faced with compiling each one in turn, and in some proper order to satisfy dependencies. Likewise, the openSUSE build servers. They're just lists of .rpm files that would each need to be installed.

I found an article on Linux From Scratch to build the Frameworks from source, but I can't sort out their sudo-less bash script.

I've tried using aptitude, Synaptic, and Discover, looking for a straightfoward way to install the Frameworks. Can't find one. I have the Qt library built and installed at /home/Qt, but I have to find qmlscene by hand. When I run it and try to open my .qml code, it bombs out with
Code: Select all
file:///home/bundito/projects/hellomoid/plasmoid/contents/ui/main.qml:2 module "org.kde.plasma.components" is not installed

This seems silly to me, and a little counterproductive to the community. If wannabe developers can't easily get their hands on the required tools, that's a problem.

Maybe I'm too used to Python and the "batteries included" concept, but I'm frustrated. Can anyone help?

Thanks.


Image

IRC: _sharvey_
kde-cfeck
Registered Member
Posts
93
Karma
0
Either use distribution packages, or (if you really want to compile the KF5 frameworks yourself), use the kdesrc-build tool.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]