Thread
:
Find installed package version with Qt
View Single Post
XenGi
2011-07-18 , 17:54
Guest | Posts: n/a | Thanked: 0 times | Joined on
#
1
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
I found the system() function but that stops the rendering of my Qt GUI so this is no option for me. Another tip was QProcess but I have no idea how to use it.
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.
Quote & Reply
|
XenGi