maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   SImple QT Desktop Widget to display battery level and percentage in Extras-devel now (https://talk.maemo.org/showthread.php?t=38749)

maxximuscool 2009-12-29 23:54

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
not working.. Got the same Black screen and when minimize it just it just closed immediately. And it's 7.59MB for your information.

That One Guy 2009-12-30 00:02

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
And I bet if you look back at your desktop, you'll see the battery bar.

I agree, almost 8 megs does seem a little excessive. But nevertheless, thank you, Dev. At least you did something and created an app for this purpose.

krk969 2009-12-30 00:05

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
Quote:

Originally Posted by maxximuscool (Post 445970)
not working.. Got the same Black screen and when minimize it just it just closed immediately. And it's 7.59MB for your information.

guys, I think the huge size is due to the dependencies, the library this app is using qtsysteminfo is based on the new QT Mobility API Technology Preview 2, it depends on a lot of other qt libraries like libqt4-maemo5-core, libqt4-maemo5-dbus etc.
Im sure you would have seen this getting installed.

You will be needing all this in your N900 sooner or later to be able to have QT applications so I dont see it as an issue. Feel free to correct me QT gurus.

The app as such is only 16K. the memory footprint is negligible too.

hope ive answered the questions around the 8MB download.
can clarify more if needed, PM me.

cheers


EDIT:

the additional dependent libs are installed in
/opt/qt4-maemo5 ( QT4.6 stuff which is unlikely to exist on your N900 if you havent installed any QT apps that depend on them )
and ive configured qtsysteminfo libs to install in /usr/lib

tissot 2009-12-30 00:05

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
Working great for me and something i was looking for.

bsving 2009-12-30 00:36

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
Working nice for me too. Only one thing. I uninstallet it, but the widget was still there. I then manually deleted the widget from the homescreen, but is it really deleted now, I mean uninstalled? And 8 MB, it is optified (you didn't answer that question earlier)?

w00t 2009-12-30 00:39

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
Guys, yet again: the application itself *is not* 8mb.

That 8mb figure includes libraries (Qt, specifically), and whether or not that is optified is certainly not in the control of an external application developer.

To the developer -
Great job. I've been wanting something like this for a while, and will test it out when I get a chance.

YoDude 2009-12-30 01:20

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
Quote:

Originally Posted by maxximuscool (Post 445955)
7.59MB wtf...

It is in the Extra-developers repository isn't it?

Wtf, I can't find your app in there. :confused:

***

Nice effort krk969. It does not stay resident after a reboot but I'm sure you know that. I'm looking forward to seeing it widgetized. Perhaps it can be incorporated in the existing status widget like the simple brightness app is. :)

Techtertainment 2009-12-30 01:23

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
good job..

i am a trainee developer on a graduate programm with a major airline company.. i been doing java and just started learning C++. was thing about doing something small like this to get me started as a developer for maemo but looks like u go there 1st.

quick question. how did you get started setting up and using QT and would it be possible to look at the souce code (hopefully with detailed comments) as a little training for me?

bsving 2009-12-30 01:23

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
Quote:

Originally Posted by w00t (Post 446025)
That 8mb figure includes libraries (Qt, specifically), and whether or not that is optified is certainly not in the control of an external application developer.

I don't think anyone is blaming anyone for anything. A yes or no from the developer will be sufficient. It is a simple question.

kabu 2009-12-30 03:09

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
so,but it couldn't like other widget autoboot,add widget fron menu


All times are GMT. The time now is 06:20.

vBulletin® Version 3.8.8