QtCreator 2.5 + KDE
I’m quite new to Qt. Now I try to build a widget for KDE and I would like to use some components provided by KDE.
1. So I made a Qt Quick UI project in QtCreator.
2. Added “ importPaths: [ “/usr/lib64/kde4/imports/org/kde/plasma/components/” ] “ line to my .qmlproject file
3. I tried to add “ import org.kde.plasma.components 0.1 as Components “ line to my .qml file. I also tried with “ import org.kde.plasma.components.Button 0.1 as Button “
But everytime I got an error message, that “QML module not found”, however “/usr/lib64/kde4/imports/org/kde/plasma/components/” contains the qmldir file and the .qml file of components.
I spent my last few days googling around and browsing doc.qt.nokia.com, but I didn’t find helpful information for my case.
I’m using QtCreator 2.5 with Qt 4.8.2 on openSUSE 12.1 with KDE 4.8.4
thanks in advace