![]() |
2012-02-08
, 17:55
|
Posts: 187 |
Thanked: 121 times |
Joined on Jun 2011
@ Subang Jaya, Selangor Darul Ehsan, Malaysia
|
#2
|
TEMPLATE = lib contains(MEEGO_EDITION,harmattan) { target.path = /opt/restricted-mode-toggler/bin target.files = *.py INSTALLS += target } OTHER_FILES += \ qtc_packaging/debian_harmattan/rules \ qtc_packaging/debian_harmattan/README \ qtc_packaging/debian_harmattan/manifest.aegis \ qtc_packaging/debian_harmattan/copyright \ qtc_packaging/debian_harmattan/control \ qtc_packaging/debian_harmattan/compat \ qtc_packaging/debian_harmattan/changelog \ control.py \ classes.py mydaemon.path = /etc/init/apps mydaemon.files = restricted-mode-toggler.conf INSTALLS += mydaemon
I have 2 files, namely control.py and classes.py ready and working, and is reading through Upstart documentation http://upstart.ubuntu.com/cookbook/ to create the configuration file. How do I put everything together everything in my Qt project?? http://harmattan-dev.nokia.com/docs/...g_daemons.html doesn't really make sense to me :P
Is there any other tutorial/example that I may have missed?
EDIT: script is here: http://cslai.coolsilon.com/2012/02/0...1-2-harmattan/
Last edited by Jeffrey04; 2012-02-08 at 09:51.