greetings;
I was hoping to add enable installing some features/add-ons/updates in
the form of .deb packages (for example: font packages/ updates to my SW)
from within my Qt application. So, I used an approach similar to OTA
installation. I add a '.install' file in some server, open the link to
that install file inside my application using qwebkit's webview. and
when the user clicks on the link to the '.install' file, the
Hildon-application-manager gets invoked and my update package is installed.
but i faced the following problems:
first: the webkit component doesn't understand the association between
the .install file and the required application to open it. the qwebview
either displays the .install file as text in the browser or does nothing.
I can overcome this problem by delegating the webl inks and handling
them on my own, ... when user clicks on the .install file's link, i can
create a QHTtp object to download the file to any location (say /tmp)
but the real problem is : i have the .install file But i can't invoke
the app manager to install the package with the file. Calling the
command "hildon-aaplication-manager install_file.install " from system()
or using a QProcess object from within the code - OR EVEN from
command-line as root - returns the following:
in the console: the app manager requests a password (??? what password
should i provide ???)
then the app manager starts and shows the following notification:
"Operation Failed"
just like that.
is there's a way to invoke the app manager to install a package from my
Qt code ???
any assistance is higly appreciated
thanks in advance;
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers