![]() |
Find installed package version with Qt
Hi,
I'm developing a tool to upload the highscores from Angrybirds to the website angrybirds-score.com. I need to find out if angrybirds is installed and if yes which version of it. So I need to call something like: Code:
dpkg -l | grep "angrybirds " | head -1 Does anybody know how to do this in a "correct" way? Another question is, how can I ensure that angrybirds is installed when somebody wants to install my app? I'm thinking of dependencies here. I have no experience with this. I'm usings the Qt SDK 1.1 and the included Qt Creator. I have the same problem for Symbian, Windows and MeeGo 1.2 Harmattan but first I want to make my app availale for Maemo5. I hope somebody can help. |
Re: Find installed package version with Qt
Does the version matter?
If not Code:
#include <QFile> |
Re: Find installed package version with Qt
just a thought....better... do a program for downloading scores......best helpers from for this community and spends time for us (no charge) that is more interesting for me ....not ovi store money makers
|
Re: Find installed package version with Qt
Quote:
I will talk to the guy who maintains the site and maybe I can add this feature. Thanks. @MohammadAG I will check the files off the game directly so this is not the problem but it would be nice to display the installed version. It isn't a "must have" so if there is no small simple way I will not implement it. |
All times are GMT. The time now is 11:14. |
vBulletin® Version 3.8.8