On Wednesday, December 22, 2010, Thomas Olsen wrote:
> An - I suppose - simple question: I need to install an
> <enginename>.operations file together with the dataengine package. Is
> there a standard way of doing this or should I make some hack with
> KGlobal.dirs().localkdedir() and then append 'share/apps/plasma/services'?
> It seems rather hackish but I bet I've missed something very obvious..?

if you are writing your engine in C++, then you do like this in your 
CMakeLists.txt file:

install(FILES filename.operations DESTINATION 
${DATA_INSTALL_DIR}/plasma/services)

if you are writing your engine in Javascript, Python or Ruby then you just 
include the operations file in your package under contents/services/

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to