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

Plasma QML API - module is not installed

Tags: None
(comma "," separated)
MpMp
Registered Member
Posts
13
Karma
0
OS
Hi all.
I have a problem with the Plasma QML API: when in qml file I write this:
Code: Select all
import org.kde.plasma.graphicswidgets 0.1 as PlasmaWidgets

in the output I find:
Code: Select all
qrc:/Qml/CategoryListView.qml:3:1: module "org.kde.plasma.graphicswidgets" is not installed

Why?

In the folder "/usr/lib/kde4/imports/org/kde/plasma/graphicswidgets/" there is
libgraphicswidgetsbindingsplugin.so file.

In CMakeLists.txt there is:
target_link_libraries(aaa
${QT_LIBRARIES}
${QT_QTDECLARATIVE_LIBRARY}
${KDE4_KDEUI_LIBS}
${KDE4_KPARTS_LIBS}
${KDE4_PLASMA_LIBS}
${PACKAGEKIT_QT_LIBS})

Why does the module "org.kde.plasma.graphicswidgets" is not installed?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You may wish to send an email to the plasma-devel@kde.org mailing list about this. It may be a slight naming issue with the QML import name.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]