**** BEGIN LOGGING AT Mon Nov 19 02:59:57 2007 Nov 19 12:17:02 morning Nov 19 14:13:56 morning Nov 19 16:52:20 What libraries are needed when using Qt/Core? Nov 19 16:52:49 The examples I've found specify -lqte -lqpe but I have no libqpe Nov 19 16:53:13 So I'm figuring that the library name is different, but just TRY to Google search for -lqpe Nov 19 16:53:29 It gives you pages the DON'T have lqpe in them, sigh. Nov 19 17:11:13 argh. every example I find is for Qt/Embedded, which is no longer correct. Nov 19 17:11:58 nelson, pro file do it for you Nov 19 17:12:28 Ahhhhh, where do I find an example pro file? Nov 19 17:12:33 nelson: do you use qmake or qtopiamake ? Nov 19 17:13:05 I'm working on a hello world, so I'm running the commands by hand. Nov 19 17:13:19 nelson: if you have no pro file you can build your one with qtopiamake -project Nov 19 17:13:24 something like that, let me check Nov 19 17:16:08 BabelO: is the battery animation when charging working 4 u now? Nov 19 17:20:12 goxboxlive: no Nov 19 17:21:40 nelson: http://doc.trolltech.com/qtopia4.3/application.html Nov 19 17:22:19 nelson: in pro file generated by qtopia make you can see something like qt_project(qtopia app) Nov 19 17:22:53 BabelO: thanks! That will be really helpful when I find and download qtopiamake. Nov 19 17:23:27 In the meantime, what libraries do I need to link to? Nov 19 17:23:28 nelson:do you build your one qtopia ? Nov 19 17:23:50 I'm using one provided for me by someone else. Nov 19 17:24:34 nelson: i never remember i have this in my pro file qtopia_project(qtopia app) Nov 19 17:25:17 ok Nov 19 17:25:59 that's the problem with software that tries to be too smart -- it makes you ignorant. Nov 19 17:26:15 which would be fine if everything worked all the time, but it doesn't, and then .... Nov 19 17:26:19 but ahhhh, I start to rant. Nov 19 17:26:24 + Nov 19 17:26:59 I didn't believe my advisor when he told me "don't make your software too smart". NOW I understand what he means. Nov 19 17:28:59 BabelO: ogh i thought you had it working s after you added the driver to the Task.cfg Nov 19 17:32:17 goxboxlive: no just battery value is working with that, maybe it is a refresh for animation, i see some post about fb refresh at qtopia.net which is needed for n800 tablet Nov 19 17:32:19 bbl Nov 19 18:14:08 nelson: does it work now ? Nov 19 18:17:54 battery animation for what device? Nov 19 18:18:32 hi ljp Nov 19 18:18:43 ljp: it is for our htc devices Nov 19 18:19:02 ljp: for htc devices. I am using the exact same code as ficgta01. I have the status working, but not animation while charging. Nov 19 18:19:08 we have meter working but not charge animation Nov 19 18:22:20 BabelO: wich one of this is the correct values? Nov 19 18:22:23 root@magician:~$ cat /sys/devices/w1_bus_master1/30-00001117196a/ds2760-battery.0/ds2760-battery.0/voltage_now Nov 19 18:22:23 4123600 Nov 19 18:22:23 root@magician:~$ cat /sys/devices/virtual/power_supply/backup-battery/voltage_now Nov 19 18:22:23 2048 Nov 19 18:22:44 ds2760 right Nov 19 18:23:46 goxboxlive: yes, for the main battery, qtopia use /proc/apm output Nov 19 18:23:50 i think Nov 19 18:24:49 BabelO: for battery level they use on fic: /sys/bus/i2c/devices/0-00008/battvolt Nov 19 18:26:09 goxboxlive: it is same Nov 19 18:26:20 goxboxlive: just a different bus Nov 19 18:27:05 BabelO: i also see that they detect the charging truogh /dev/input/evenX Do we also get an event when plugging in the usb/power cable? Nov 19 18:29:27 goxboxlive: then yes we need an event too, strange i ve seen some proc/apm somewhere Nov 19 18:29:39 BabelO: is there too Nov 19 18:40:07 does it use apm? Nov 19 18:40:42 make sure you have the entry in your Tasks.cfg Nov 19 18:42:27 in prestartup you need the DefaultBattery as well as your custom one Nov 19 18:44:43 ljp: yes we have both, and apm command line works too Nov 19 18:44:59 do we need event too ? Nov 19 18:46:56 that event triggers an update to the status in qtopia Nov 19 18:47:22 ljp: ok Nov 19 18:47:33 BabelO: interestingly, greenphonesdk's qmake has been chewing on it for the last hour. Nov 19 18:47:49 which will read from apm that the battery is charging Nov 19 18:48:22 BabelO: you can also try the default APMBattery task Nov 19 18:49:49 ljp: ok i ll try this task now Nov 19 18:50:39 nelson: you mean qmake running from an hour ? when you to qtopiamake -project, you need to start it in directory of your project Nov 19 18:53:10 yes, qmake has been running for an hour. Nov 19 18:53:16 It has 32 minutes of runtime. Nov 19 18:54:16 It's looping on stat64("./.qmake.cache") Nov 19 19:15:58 ljp: without charging On-line, battery status high: 87% (1d+0:00:00) Nov 19 19:16:10 ljp with charger On-line, battery charging: 87% Nov 19 19:16:31 and nothing more with apm task, i remove my custom now Nov 19 19:24:24 What library replaces libqte ? Nov 19 19:31:38 several Nov 19 19:31:53 libqtcore, libqtgui, etc Nov 19 19:35:59 but mostly libqte-mt Nov 19 19:36:21 I finally found this: http://scottcollins.net/blog/2005/08/hello-world.html Nov 19 19:59:55 are you using qt2 or qt3? Nov 19 20:04:10 How would I know? include/qt.h doesn't say. Nov 19 20:05:27 Ahhh, it's in qglobal.h: 2.3.12 Nov 19 20:07:26 ouch thats quite old Nov 19 20:10:39 If it was junk, nobody would have bothered to use it, and there wouldn't have been a qt3 or qt4 created. Nov 19 20:17:18 ljp: could you commit the qalsamixer to the opie2 source? I am about to build a new Qtopia image, and would liked to have it included? Nov 19 20:17:53 any console in qtopia4? Nov 19 20:22:17 chouimat|work: none working.there is one in opieII but it needs help Nov 19 20:22:24 goxboxlive: ok Nov 19 20:23:56 ljp: ok Nov 19 21:06:37 hummm Nov 19 21:07:23 we need to provide a qpk for our application , for which qtopia version ? 4.2 or 4.3 ? mine need external librairie. Nov 19 21:07:51 jott: did you find a way to upload add on library ? Nov 19 21:08:36 not really .. i guess static linking of the particular libraries is the easiest solution ;) Nov 19 21:10:25 jott: ok for static link ... but in my case, it require also dbus connector app on other side... so i need to look for if i can add gabble app or other Nov 19 21:10:44 jott : you provide your app for 4.3 ? Nov 19 21:11:05 not yet had not much time lately to do some work on it Nov 19 21:13:46 ok Nov 19 21:14:15 ljp : any help ? Nov 19 21:23:37 jott, else i can provide a link to my http server with additional download ;) Nov 19 21:24:33 hm do you have an additional server application that runs on the host pc? Nov 19 21:25:23 jott: no Nov 19 21:25:28 you could extract stuff on the first application start :P Nov 19 21:25:51 jott: lol, yes i can :) good idea Nov 19 21:26:59 but i need the qtopia target version..., it is a good idea, i can provide two or more connector.. i look this way if i have enough time Nov 19 21:27:01 thx Nov 19 21:27:52 jott: i do like you say about my home screen ;) no button , but enough information, and works perfect Nov 19 21:28:31 nice.. have another screenshot? Nov 19 21:28:55 jott: yes making some more, wait 5mn ;) Nov 19 21:37:05 goxboxlive: google test ;) Nov 19 21:37:25 BabelO: what do you mean? Have you compiled a image? Nov 19 21:37:40 goxboxlive: look at your gmail Nov 19 21:44:54 goxboxlive, jott http://linuxbox2.free.fr/imlife/ Nov 19 21:46:52 BabelO: i like capture50 Nov 19 21:47:49 chouimat|work: life -> disconnected :) Nov 19 21:47:59 nolie Nov 19 21:48:11 heh yeah looks good so far.. Nov 19 21:48:40 still it has small fonts everywhere .. (so not the default greenphone dpi) Nov 19 21:49:02 actually it's ok for me but still looks different to the usual gp look ;) Nov 19 21:49:07 looks good BabelO :-) Nov 19 21:49:16 hmmm I just realised that I didn't touch my application in 3 weeks Nov 19 21:49:31 jott: yes maybe better on fic Nov 19 21:49:31 chouimat|work: s/|work//g ;) Nov 19 21:49:49 btw you like your new job so far? Nov 19 21:49:53 jott: yes Nov 19 21:50:24 jott: except the 1h30 of commute time ... next week it will be a lot better Nov 19 21:50:40 ok bb aroung 18h00 EST Nov 19 21:51:18 chouimat|away: you move in the office? ;) Nov 19 22:06:00 BabelO: how do you take screenshots? Nov 19 22:08:57 Mine is failing. I have added the OPIE2 screenshot app, but it complaines about missing 16bit jpeg or something Nov 19 22:09:44 goxboxlive: KSnapshot Nov 19 22:10:13 shoot screen Nov 19 22:10:14 QPixmap::grabWindow(): Unsupported screen depth 16 Nov 19 22:10:14 QImage::scaled: Image is a null image Nov 19 22:10:14 QImage::scaled: Image is a null image Nov 19 22:10:14 QImage::scaled: Image is a null image Nov 19 22:10:16 >>> NO help exists for "/opt/Qtopia/bin/screenshot" Nov 19 22:10:20 ahhh, ok, you are using vnc Nov 19 22:11:22 goxboxlive: yes both with magician settings Nov 19 22:11:45 ?? Nov 19 22:12:38 goxboxlive: QWS_DISPLAY=VNC:Transformed:mmWidth53:mmHeight71 Nov 19 22:12:44 how are you configuring qtopia? -depths 16,32? Nov 19 22:13:07 ljp: yes Nov 19 22:13:13 odd Nov 19 22:13:17 8,16,32 Nov 19 22:16:25 ljp: -extra-qtopiacore-config "-depths 8,16,32" Nov 19 22:37:44 jott: what is your QWS_DISPLAY setting on gp ? mine is discharged ... Nov 19 23:00:34 ok looks ok on greenphone display, a little bigger.. i m happy to have all in layout ;) **** ENDING LOGGING AT Tue Nov 20 02:59:57 2007