Buchan Milne wrote:
I have been using an N900 for a few weeks, but only just installed the SDK over the past weekend. So, I decided to grab the source and compile. When compiling from Qt Creator from the SDK install, it compiles fine, but package creation fails (possibly due to the directory name). After messing with some things to fix it, only the executable ended up in the package.
I caution you, it was five days' effort, so rough edges are just that still. Also, mostly the code is set up for my dev environment, to generate a debian package. If you have ideas for restructuring to make that more generic, don't hold back.
It should be noted that this was my first N900 project, as I just got one, and also my first shot at generating debian packages, so any advice is appreciated.
I'll see if I can find the correct fixes to get it to build nicely straight from Qt Creator.
Let me know how that goes. I build from the command-line, so I'm not sure what would be going wrong in Qt Creator.
Well, I wonder if we could make it more useful. From reading the code, it seems to just look at the color of the bb2.html page. While this may be useful to some, I think many larger installations will have problems, e.g. those which need the critical systems view to make sense anything.
This is true. All it does is parse for color to display the icon, and then parses for individual non-green items to show in a notification. Multiple views (one for small- to moderate-sized xymon installs and one for larger) might be appropriate, selectable from the settings, perhaps.
This was not meant to be a full-scale app but just an at-a-glance view. If you're interested, we can always write a full-scale app that opens when the desktop widget is tapped, providing more (and navigable) data.
I'll try and get a bit further with this under Qt creator ...
If there's something specific I can help with, feel free to contact me off-list.
Cheers, Darrik
-- Darrik Mazey DarmaSoft, LLC. 1627 Marigold Avenue Akron, Ohio 44301-2627 tele: 234.738.2025 darrik at darmasoft.com http://www.darmasoft.com/
To obtain my public key, send an email to darrik at publickey.darmasoft.com.