So if I use this code, I can start the application (the one with graphics in qml)?
Thanks And why the code:
daemonconf.path = /etc/init/apps/
daemonconf.files = unlockpass.conf
INSTALLS += daemonconf
this is the Compile Output
# Add here commands to install the package into debian/unlockpass.
/usr/bin/make INSTALL_ROOT="/Users/steebono/UnlockPass/unlockpass-harmattan"/debian/unlockpass install
cp -f -r /Users/steebono/UnlockPass/unlockpass/qml/unlockpass /Users/steebono/UnlockPass/unlockpass-harmattan/debian/unlockpass/opt/unlockpass/qml/
install -m 644 -p /Users/steebono/UnlockPass/unlockpass/unlockpass80.png /Users/steebono/UnlockPass/unlockpass-harmattan/debian/unlockpass/usr/share/icons/hicolor/80x80/apps/
install -m 644 -p /Users/steebono/UnlockPass/unlockpass/unlockpass_harmattan.desktop /Users/steebono/UnlockPass/unlockpass-harmattan/debian/unlockpass/usr/share/applications/
install -m 755 -p "unlockpass" "/Users/steebono/UnlockPass/unlockpass-harmattan/debian/unlockpass/opt/unlockpass/bin/unlockpass"
install -m 755 -p /Users/steebono/UnlockPass/unlockpass/unlockpass.conf /Users/steebono/UnlockPass/unlockpass-harmattan/debian/unlockpass/etc/init/apps/
find: -printf: unknown option
dh_installdeb: command returned error code
make: *** [binary-arch] Error 1
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
Packaging Error: Command '/Users/steebono/QtSDK/Madde/bin/mad dpkg-buildpackage -nc -uc -us' failed.Exit code: 2
Error while building project unlockpass (target: Harmattan)
When executing build step 'Create Debian Package'
Continuing to try I got to this point:
So I created a file startup.sh
In the project *. pro I inserted the installation of startup.sh as follows:
and with this code does not give me any error
startup.files = startup.sh
startup.path = /opt/unlockpass/bin
INSTALLS += startup
then I copied the file "unlockpass.conf" manually in /etc/init/apps by terminal of N9
And when I restart the phone, the application starts automatically without any problems
description "Unlock Mee daemons"
# Author e-mail address, mandatory
stop on stopping xsession
exec /usr/bin/aegis-exec -s -u user -l "exec /opt/unlockpass/bin/startup.sh"
# Start myapp as root
Now the problem is, install the file unlockpass.conf in /etc/init/apps when I install .deb package