*** baraujo has quit IRC | 00:00 | |
GAN900 | lcuk, they didn't need to "Very slow" summarized it just fine. | 00:02 |
---|---|---|
GAN900 | lcuk, actually I think ShadowJK did. | 00:02 |
*** fiferboy has quit IRC | 00:03 | |
*** seif has joined #harmattan | 00:03 | |
*** antman8969 has quit IRC | 00:07 | |
rm_you | grr someone pinged me | 00:09 |
rm_you | infinity ago | 00:09 |
rm_you | ah well | 00:09 |
rm_you | might have just been someone saying rm -r | 00:09 |
GAN900 | Doesn't your client keep highlight lines? | 00:17 |
*** javispedro has joined #harmattan | 00:24 | |
*** seif has quit IRC | 00:28 | |
*** djszapi has joined #harmattan | 00:38 | |
djszapi | hi from berlin :) | 00:38 |
lcuk | djszapi, \o | 00:39 |
lcuk | I hear there are many Collaborans there, please pass on my regards | 00:39 |
djszapi | we are eating, drinking and hacking :) | 00:40 |
lcuk | awesome | 00:40 |
djszapi | Is there still an option for KDE dudes to apply for a developer device ? | 00:41 |
djszapi | There are quite a few talented people here... | 00:41 |
rcg1 | they extended the community device program | 00:43 |
lcuk | djszapi, the developer program opened up for another handful of devices | 00:43 |
rcg1 | got another batch of 50 devices | 00:43 |
rcg1 | though qgil said on google+ that 13 are already gone | 00:43 |
djszapi | lcuk: excellent, I tell it to the people... | 00:43 |
rcg1 | so better be damn quick | 00:43 |
djszapi | link ? | 00:43 |
djszapi | I hope KDE gets boosted... | 00:44 |
rcg1 | http://wiki.meego.com/Community_Office/Community_device_program/Nokia/N950_Extended_Program | 00:44 |
djszapi | thanks ;) | 00:44 |
rcg1 | yw | 00:44 |
djszapi | ehhh fiferboy is not here. | 00:46 |
djszapi | he is the QML guru :) | 00:46 |
GAN900 | Pffff | 00:48 |
rcg1 | djszapi: "18 Nokia N950 found a friend in the 2nd extended round of the MeeGo dev program - 15 are still waiting", qgil 23:47 | 00:50 |
hardaker2 | nice... if you add an entry to the calendar for the google (ie, webdav) calendar, it'll end up syncing up, then syncing it back down and you get two ;-) | 00:52 |
*** Venemo has quit IRC | 00:57 | |
*** Venemo has joined #harmattan | 01:14 | |
*** Venemo has joined #harmattan | 01:14 | |
Venemo | hiemanshu, ping | 01:16 |
*** Arkenoi has joined #harmattan | 01:20 | |
Venemo | hmm | 01:22 |
Venemo | someone needs to port Tuxrace to Harmattan | 01:22 |
*** rcg1 has quit IRC | 01:24 | |
*** Rizzer has joined #harmattan | 01:26 | |
*** Venemo has quit IRC | 01:35 | |
*** smoku has left #harmattan | 01:47 | |
* SpeedEvil has been avoiding clicking on the 'order status' page too much. | 01:50 | |
special | SpeedEvil: avoiding? | 01:52 |
special | I've been unable to resist checking every few hours, even though I know nothing more is going to happen today | 01:52 |
MohammadAG | set up push email, you'll get the email eventually | 01:54 |
SpeedEvil | special: It starts out at once a day - it ends up at once a minute. | 01:55 |
special | MohammadAG: doesn't help at all :) | 01:56 |
SpeedEvil | 2nd extended round = 50 more devices than the first extension? | 01:56 |
*** lynxis has joined #harmattan | 01:56 | |
SpeedEvil | Ah - nvm - woke up now. | 02:00 |
*** andre__ has quit IRC | 02:02 | |
*** willer_ has quit IRC | 02:02 | |
*** antman8969 has joined #harmattan | 02:07 | |
RzR | hardaker2: dont hold your breath : https://build.pub.meego.com/project/monitor?arch_armv7el=1&building=1&defaults=0&project=home%3Arzr&repo_MeeGo_1_2_Harmattan_Maemo_org_MeeGo_1_2_Harmattan_standard=1 | 02:08 |
*** crevetor has quit IRC | 02:13 | |
*** Rizzer has quit IRC | 02:24 | |
javispedro | oh my friggind god, the n950 makes for a gorgeus n64 experience. | 02:34 |
macmaN | hmmm | 02:35 |
macmaN | i wouldnt mind some super mario on the N yo | 02:35 |
javispedro | its' friggin performing | 02:35 |
javispedro | there's some magic in this device that cannot be explained with the megahertz bump alone | 02:36 |
macmaN | how can i get this? what package? | 02:36 |
javispedro | be it the new gles driver, or hardfp, sth | 02:36 |
javispedro | macmaN: not yet, I've just booted mario64 for the first time after a long session of hardfp hacking! | 02:36 |
macmaN | ah ok | 02:36 |
javispedro | that thanks god was sorter than what I expecte.d. | 02:36 |
javispedro | man the device friggin IDLES when playing n64 at the native framerate. | 02:37 |
* javispedro goes check the cpufreq | 02:37 | |
SpeedEvil | javispedro: I suppose that's one benefit of the multitouch | 02:37 |
javispedro | s/n64/m64 | 02:37 |
macmaN | i'll just say w0rd to that | 02:37 |
SpeedEvil | javispedro: How many touches are supported? | 02:37 |
javispedro | SpeedEvil: 10 | 02:37 |
javispedro | SpeedEvil: verified up to 6, I cannot physically add more fingers :) | 02:38 |
SpeedEvil | I assume it reports single points, not shapes? | 02:38 |
javispedro | that's a good question | 02:38 |
javispedro | a moment. | 02:38 |
javispedro | can you remind me the path to cpufreq stats in sysfs? | 02:39 |
javispedro | I want to check it before | 02:39 |
javispedro | aah, it's under cpu0 not under cpufreq =) | 02:40 |
SpeedEvil | sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq I guess | 02:40 |
javispedro | so it's playing mario64 with sound and cpufreq decided the operating freq shall be 800Mhz. | 02:41 |
javispedro | Nice. | 02:41 |
javispedro | and according to top it still has around 20% spare cpu time. | 02:41 |
SpeedEvil | :) | 02:41 |
javispedro | SpeedEvil: answering your earlier question, it does have some kind of "area" value per contact point which the driver reports as "width" | 02:44 |
SpeedEvil | Interesting. | 02:44 |
SpeedEvil | I wonder if this can filter phantom touches. | 02:44 |
javispedro | the controller is an Atmel mXT | 02:48 |
*** djszapi|windows has joined #harmattan | 02:48 | |
*** djszapi|windows has quit IRC | 02:49 | |
*** Venemo has joined #harmattan | 02:54 | |
SpeedEvil | Hmm. | 02:54 |
SpeedEvil | I suspect there isn't going to be a nice way to insert a shim layer to filter out touches. | 02:55 |
javispedro | there might be -- on qt. | 02:56 |
SpeedEvil | To the existing binary apps? | 02:56 |
javispedro | might be -- via preload or Qt plugin. | 02:57 |
Venemo | SpeedEvil, what kind of shim layer are you referring to? | 02:58 |
SpeedEvil | Venemo: A layer that eats phantom touches. | 02:59 |
Venemo | how can you tell whether a touch is phantom? | 02:59 |
javispedro | Venemo: driver reports area/width of touch | 03:01 |
Venemo | mhm | 03:02 |
SpeedEvil | Venemo: I'd have to have a play with the device to see. | 03:04 |
SpeedEvil | Venemo: And find if a reasonable algorithm can be found. | 03:04 |
Venemo | SpeedEvil, have you been selected for the extended device program? | 03:04 |
SpeedEvil | Yes. | 03:04 |
Venemo | that is good news :) | 03:04 |
Venemo | mewants USB host for da N950 | 03:05 |
SpeedEvil | Unless it makes me as crazy as some others. :) | 03:05 |
Venemo | well, Aegis has driven Doc crazy, that is true, but part of the truth is that he totally and completely refused to even deal with the matter. | 03:05 |
*** Arkenoi_ has joined #harmattan | 03:05 | |
Venemo | djszapi told us that Aegis can be configured to do whatever we want, all we need are some manifest (or whatever it is called) files | 03:06 |
SpeedEvil | As I understand it, that's not enough - aegis won't let you load modules, for example, which is required. | 03:08 |
javispedro | exactl | 03:09 |
javispedro | y | 03:09 |
SpeedEvil | shadowjk IIRC has demonstrated that you can boot another kernel, but nobody that I know of has got the device actually booted all the way to confirm what the state of the UI and all apps is without aegis. | 03:09 |
javispedro | aegis and usb host and thus comppletely incompatble | 03:09 |
javispedro | so no wonder it drove Doc away. | 03:09 |
SpeedEvil | djszapi has said that it all should work, but I don't know if he's tested it, and if the internal image he's using differs from what will be released, or indeed what we have. | 03:10 |
javispedro | "all should work" | 03:10 |
javispedro | ? | 03:10 |
javispedro | well, that's quite a shot of optimism considering nothing works as of now... | 03:11 |
*** Rizzer has joined #harmattan | 03:11 | |
SpeedEvil | He's one of the coders that has worked on aegis. | 03:11 |
SpeedEvil | As I understand it. | 03:11 |
SpeedEvil | Or at least some aspects of. | 03:11 |
Venemo | alterego, ping | 03:12 |
SpeedEvil | I'll be a lot more comfortable about it once someone gets a foreign kernel booting, and finds that most stuff works. | 03:12 |
hardaker2 | RzR: that doesn't look good. | 03:17 |
Venemo | RzR, ping | 03:18 |
SpeedEvil | GAN900: I think I tested it on one of the RDA devices and got 16M/s read | 03:21 |
lynxis | somebody here, who boot a selfbuild kernel on it ? | 03:35 |
SpeedEvil | stskeeps did, but not to the stage of the UI coming up | 03:35 |
Venemo | what is the difference between "MeeGo 1.2 Harmattan API" and "Harmattan Platform API"? | 03:37 |
javispedro | Harmattan Platform should have extra headers | 03:38 |
javispedro | that are not in meego. | 03:38 |
Venemo | but it has all the headers that are in the other? | 03:38 |
javispedro | should | 03:39 |
javispedro | this is in qtcreator? | 03:39 |
Venemo | I'm installing the Qt SDK | 03:39 |
Venemo | on my new Fedora installation | 03:39 |
Venemo | (I finally had the time to reinstall it after a HDD failure) | 03:39 |
*** epage has joined #harmattan | 03:40 | |
npm | updated to http://nielsmayer.com/meego/qml/qmltube_1_0_11_armel.deb | 03:40 |
npm | youtube videos play again | 03:40 |
npm | modulo http://forum.meego.com/showpost.php?p=28391&postcount=27 | 03:40 |
SpeedEvil | On a silly topic. | 03:47 |
SpeedEvil | I note it's possible to put webpages in the applauncher. | 03:47 |
SpeedEvil | Can you simply package a file:// javascript app as a full application? | 03:48 |
*** Rizzer has quit IRC | 03:48 | |
javispedro | well qml is basicaly javascript.. | 03:50 |
javispedro | albeit with something weird instead of html for the declarative part. | 03:51 |
*** Rizzer has joined #harmattan | 03:53 | |
SpeedEvil | Yeah - I know. | 03:53 |
*** NIN101 has quit IRC | 03:56 | |
*** Arkenoi has quit IRC | 04:00 | |
*** Arkenoi_ is now known as Arkenoi | 04:00 | |
*** Rizzer has quit IRC | 04:04 | |
*** Rizzer has joined #harmattan | 04:10 | |
*** lynxis has quit IRC | 04:12 | |
javispedro | uh | 04:34 |
javispedro | onenand_wait: correctable ECC error = 0x0100, addr1 0x4, addr8 0xac | 04:34 |
javispedro | on the n950 =) | 04:34 |
SpeedEvil | That's benign | 04:34 |
SpeedEvil | err | 04:34 |
SpeedEvil | the n950 has onenand? | 04:34 |
javispedro | yep | 04:34 |
* SpeedEvil thought someone said it diddn't. | 04:35 | |
javispedro | swap is there | 04:35 |
SpeedEvil | Anyway - onenand is supposed to have errors. | 04:35 |
SpeedEvil | ah | 04:35 |
*** M4rtinK2 has quit IRC | 04:35 | |
*** Rizzer has quit IRC | 04:36 | |
javispedro | oh | 04:38 |
javispedro | " # Create swap partition | 04:38 |
javispedro | # But only on devices with less than 1GB of memory | 04:38 |
javispedro | " | 04:38 |
javispedro | if [ $ramsize -gt 1000000 ]; then ... | 04:38 |
SpeedEvil | ah | 04:39 |
javispedro | so seemingly it only has a 256MiB ramzswap | 04:39 |
SpeedEvil | I assumed that the onenand was sacrificed in order to get more RAM | 04:39 |
javispedro | it had to be there for the kernel, nolo, etc | 04:39 |
javispedro | aiui | 04:40 |
SpeedEvil | I'm unsure. I thought the omap could boot from mmc | 04:40 |
SpeedEvil | emmc | 04:40 |
javispedro | wow | 04:41 |
javispedro | if there's a swap partition, it gets encrypted with aes | 04:41 |
SpeedEvil | Reasonable. | 04:41 |
SpeedEvil | I've had crypted swap for some time | 04:41 |
javispedro | heh | 04:42 |
javispedro | google's self driving car crashed | 04:42 |
javispedro | http://tech.slashdot.org/story/11/08/05/2250249/Googles-Self-Driving-Car-Crashes?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Slashdot%2Fslashdot+%28Slashdot%29 | 04:42 |
SpeedEvil | While the human was at the wheel. | 04:43 |
SpeedEvil | I wonder how much he gets paid to say he was at the wheel. | 04:43 |
javispedro | "Google's Prius struck another Prius, which then struck her Honda Accord that her brother was driving. That Accord then struck another Honda Accord, and the second Accord hit a separate, non-Google-owned Prius." | 04:44 |
*** eman has joined #harmattan | 04:46 | |
Termana | morning | 04:56 |
*** javispedro has quit IRC | 05:00 | |
*** eman has quit IRC | 05:07 | |
*** antman8969 has quit IRC | 05:58 | |
*** antman8969 has joined #harmattan | 06:10 | |
hiemanshu | Venemo: pong | 06:45 |
*** Venemo has quit IRC | 06:46 | |
antman8969 | do we have anything that can be used like cron is harmattan? | 06:51 |
*** mikhas has joined #harmattan | 06:53 | |
*** mikhas_ has joined #harmattan | 07:06 | |
*** mikhas has quit IRC | 07:10 | |
*** mikhas_ has quit IRC | 07:19 | |
*** hardaker2 has quit IRC | 07:39 | |
*** rm_you has quit IRC | 07:42 | |
*** rm_you has joined #harmattan | 07:42 | |
*** rm_you has joined #harmattan | 07:42 | |
*** rm_you has quit IRC | 07:48 | |
*** rm_you has joined #harmattan | 07:48 | |
*** rm_you has joined #harmattan | 07:48 | |
*** sebas has quit IRC | 08:16 | |
*** harbaum has joined #harmattan | 08:16 | |
*** sebas has joined #harmattan | 08:18 | |
*** smoku has joined #harmattan | 08:27 | |
*** antman8969 has quit IRC | 08:30 | |
*** antman8969 has joined #harmattan | 08:38 | |
*** antman8969 has quit IRC | 08:39 | |
*** antman8969 has joined #harmattan | 08:40 | |
*** harbaum has quit IRC | 08:47 | |
*** andre__ has joined #harmattan | 08:48 | |
*** andre__ has joined #harmattan | 08:48 | |
*** rm_you has quit IRC | 08:54 | |
*** rm_you has joined #harmattan | 08:54 | |
*** rm_you has quit IRC | 08:54 | |
*** rm_you has joined #harmattan | 08:54 | |
*** Scifig has joined #harmattan | 09:17 | |
*** Rizzer has joined #harmattan | 09:42 | |
*** Arkenoi has quit IRC | 09:48 | |
*** epage has quit IRC | 09:52 | |
*** Rizzer has quit IRC | 09:55 | |
*** vgrade has quit IRC | 09:59 | |
*** Termana|rdlBNC has quit IRC | 10:06 | |
RST38h | No microsd slot in N950? (just rechecking) | 10:07 |
kimju | no sd, only slot is for sim (std. size, not micro) | 10:12 |
*** Termana|rdlBNC has joined #harmattan | 10:12 | |
* Tronic is hoping for another N9xx device next year, with dual microsim and a lot of connectors and gadgets to keep the geeks happy. | 10:18 | |
*** Termana|rdlBNC has quit IRC | 10:18 | |
*** antman8969 has quit IRC | 10:21 | |
*** Arkenoi has joined #harmattan | 10:22 | |
*** rcg has joined #harmattan | 10:31 | |
*** Termana|rdlBNC has joined #harmattan | 10:36 | |
*** eman has joined #harmattan | 10:39 | |
*** eman has quit IRC | 11:01 | |
*** leinir has joined #harmattan | 11:08 | |
*** leinir has quit IRC | 11:10 | |
*** sivang has joined #harmattan | 11:21 | |
sivang | hi all | 11:24 |
sivang | anybody knows laszlo's twitter id? | 11:25 |
sivang | (if he has any, that is) | 11:25 |
*** achipa has joined #harmattan | 11:38 | |
*** achipa has quit IRC | 11:38 | |
*** achipa has joined #harmattan | 11:38 | |
*** epage has joined #harmattan | 11:48 | |
*** jussi has quit IRC | 11:55 | |
*** jussi has joined #harmattan | 11:55 | |
*** sivang has quit IRC | 11:55 | |
*** epage has quit IRC | 12:17 | |
*** Termana|rdlBNC has quit IRC | 12:29 | |
*** sandst1 has joined #harmattan | 12:34 | |
*** NIN101 has joined #harmattan | 12:41 | |
*** Venemo has joined #harmattan | 12:44 | |
*** Termana|rdlBNC has joined #harmattan | 12:44 | |
Venemo | good morning | 12:44 |
Venemo | alterego - the resident QML expert - ping | 12:44 |
*** Termana|rdlBNC has quit IRC | 12:53 | |
*** achipa1 has joined #harmattan | 12:56 | |
*** sivang has joined #harmattan | 12:59 | |
*** achipa has quit IRC | 13:00 | |
*** sivang has quit IRC | 13:04 | |
*** sivang has joined #harmattan | 13:06 | |
*** Termana|rdlBNC has joined #harmattan | 13:13 | |
*** achipa1 has quit IRC | 13:13 | |
hiemanshu | hey Venemo | 13:15 |
hiemanshu | sorry I wasnt around much last night and today morning | 13:15 |
hiemanshu | stupid family poking into my IRC time :P | 13:15 |
hiemanshu | family/friends* | 13:15 |
Venemo | hey alterego :) | 13:16 |
Venemo | tab fail | 13:16 |
Venemo | hey hiemanshu :) | 13:16 |
hiemanshu | hey | 13:16 |
Venemo | hiemanshu, no problem, I wasn't around much either. | 13:16 |
Venemo | hiemanshu, I'm having some success with connecting the model to the view | 13:18 |
hiemanshu | ah nice | 13:18 |
hiemanshu | I am trying to the stupid backend to connect, but the docs are so, incomplete | 13:18 |
hiemanshu | +get | 13:18 |
Venemo | oh, I may be of assistance in that | 13:18 |
Venemo | once upon a time, I wrote a primitive IRC bot using that lib | 13:20 |
*** M4rtinK2 has joined #harmattan | 13:30 | |
*** deimos has joined #harmattan | 13:34 | |
*** sivang has quit IRC | 13:36 | |
*** hardaker2 has joined #harmattan | 13:54 | |
sandst1 | Shameless IRC-ad: FunkeySynth 0.12.1 for your Harmattan phone, now with loop recording :P http://bit.ly/pDdBA1 | 14:08 |
Venemo | nicenice | 14:08 |
alterego | Hah, that's quality. | 14:44 |
alterego | Nice omposition at the end :) | 14:44 |
Venemo | hey alterego | 14:49 |
*** hardaker2 has quit IRC | 14:50 | |
alterego | Aloha :) | 14:51 |
*** nyr has left #harmattan | 14:51 | |
Venemo | alterego, since then, I've solved the problem that I was pinging you about. but it took me some serious brainfucking. | 14:53 |
Venemo | and I'm not even sure if this is the right solution :) | 14:53 |
Venemo | oh btw, I have a class that you might be interested in | 14:54 |
alterego | Heh | 14:56 |
alterego | Well, you can always show me your solution and I'll give you some advice, if you like. | 14:56 |
Venemo | I read the docs regarding model-view stuff | 14:57 |
Venemo | and I noticed that every example makes a derived class from QAbstractListModel to display a list containing multiple items | 14:58 |
alterego | I found the best thing to do, was to just do it :D | 14:58 |
alterego | wrt model/view, in any framework :D | 14:58 |
Venemo | so I saw that I'll have 3 or 4 different kind of lists, so I thought I'll need 3 or 4 different subclasses of QAbstractListModel... but it felt wrong! | 14:58 |
alterego | No, you don't need that, just need to use roleNames | 14:59 |
Venemo | after some thinking I made a class that can expose any type of QObject and its properties | 14:59 |
Venemo | http://pastebin.com/9PNSRBHf | 15:00 |
Venemo | I don't even understand why isn't there a similar class in Qt | 15:00 |
alterego | Well, you can just use QList | 15:01 |
Venemo | no | 15:01 |
Venemo | because then QML view can't detect changes | 15:02 |
alterego | Fair point | 15:02 |
Venemo | it took me a couple of hours to figure out how to workaround MOC's dislike of template classes, but after that it went well :) | 15:03 |
alterego | Yeah, looks good :) | 15:05 |
Venemo | thanks :) | 15:12 |
Venemo | hm | 15:12 |
Venemo | do you know how to respond to key events in a TextField? | 15:12 |
Venemo | I want to do something when the user presses the enter key | 15:12 |
alterego | Use the signal: onAccepted | 15:13 |
Venemo | there is no such signal in it | 15:13 |
Venemo | there is no signal in it at all | 15:13 |
alterego | Use "TextInput" | 15:13 |
Venemo | I use TextField | 15:14 |
alterego | Why? | 15:14 |
alterego | If you're using multiline then you can't use the enter as an accept .. | 15:14 |
Venemo | TextField is single-line | 15:14 |
alterego | And TextField is for multiline | 15:14 |
Venemo | no, that is TextArea | 15:14 |
alterego | There is no TextField | 15:14 |
alterego | Sorry, I'm getting mixed up with some other components I'm using. | 15:15 |
alterego | There is only TextInput and TextArea .. | 15:15 |
alterego | Or is this a Qt Components thing? | 15:15 |
Venemo | yes, this is. | 15:15 |
alterego | m'kay, hang on | 15:15 |
Venemo | I couldn't be bothered to use "raw" QML. | 15:15 |
MohammadAG | onReturnPressed? | 15:15 |
Venemo | MohammadAG, again, TextField has no signals at all | 15:16 |
MohammadAG | that's... impossible | 15:16 |
Venemo | maybe I should use the QML keys element | 15:16 |
MohammadAG | it has to inherit something | 15:16 |
Venemo | MohammadAG, see http://library.developer.nokia.com/ | 15:16 |
Venemo | Qt Components usually don't inherit, they "alias" | 15:17 |
alterego | Venemo: there is an onAccepted signal | 15:17 |
Venemo | this is an insane bad practice | 15:17 |
alterego | Well, there is an "accepted" signal | 15:17 |
alterego | So you can use onAccepted: { ... } | 15:17 |
Venemo | qrc:/qml/harmattan/ChatPage.qml:131:13: Cannot assign to non-existent property "onAccepted" | 15:18 |
alterego | wtf is ChatPage? | 15:18 |
Venemo | that is the component that contains this TextField. | 15:19 |
MohammadAG | a Page? | 15:19 |
Venemo | yes. | 15:19 |
*** kkito has joined #harmattan | 15:24 | |
kkito | hello | 15:24 |
kkito | Do you know how to run qemu with harmattan under osx? | 15:24 |
SpeedEvil | Does anyone have a n9 to hand, and could run energy profiler - then make the screen all white at maximum brightness with no CPU activity if possible, then as black as possible, and report power use? | 15:25 |
kkito | with qtcreator using maemo configuration/qemu it works, it appears a new icon that launches the qemu, but it doesnt't happen when choosing harmattan | 15:25 |
Venemo | SpeedEvil, djszapi has an N9, maybe you should ask him | 15:25 |
alterego | Why N9? Is that different to the N950? :P | 15:26 |
SpeedEvil | I know - I'm not wanting to highlight anyone just for this | 15:26 |
SpeedEvil | alterego: yes | 15:26 |
SpeedEvil | OLED/LC | 15:26 |
SpeedEvil | D | 15:26 |
MohammadAG | AMOLED | 15:26 |
Venemo | alterego, yes, AMOLED vs LCD | 15:26 |
alterego | Oh, right | 15:26 |
MohammadAG | silly alterego | 15:26 |
SpeedEvil | In principle, OLED might use 'no' power with - say - ten pixels lit up for notification. | 15:26 |
alterego | I thought they were both AMOLED | 15:26 |
SpeedEvil | In practice, it's going to be rather more. | 15:27 |
MohammadAG | no, the N950's a TFT display | 15:27 |
MohammadAG | and the N9 is a curved AMOLED | 15:27 |
Venemo | hmmm | 15:29 |
Venemo | ok, problem solved with the QML Keys element | 15:30 |
SpeedEvil | In principle also - LCD might use 'no' power without any backlight, in practice, it's 90mA or so. (~12h life) | 15:30 |
kkito | Are there any documentation about how to run an app for hrmattan under osx? (using simulator or emu) | 15:35 |
GeneralAntilles | kkito, go grab the Qt SDK | 15:37 |
GeneralAntilles | Install the Harmattan bits. | 15:37 |
GeneralAntilles | Run the emulator. | 15:37 |
kkito | GeneralAntiles: I got qt created an installed all needed components, but i am unable to run the qemu | 15:37 |
kkito | QtCreator do not start qtcreator by itsef, and i don't know how to run it manually | 15:38 |
kkito | I've found some docs about how to run qemu/harmattan under linux, but not for osx | 15:38 |
kkito | Qtcreator do not star qemu... | 15:40 |
* RST38h starts up meegotouch-qt-styled file dialog. Throws up. | 15:46 | |
RST38h | Whose brilliant idea was that? | 15:46 |
MohammadAG | May I haz a screenshot? | 15:48 |
*** Arkenoi has quit IRC | 15:50 | |
*** Arkenoi has joined #harmattan | 15:51 | |
RST38h | Anyone has got an example of a file dialog in QtComponents? | 15:51 |
Venemo | kkito, just use Linux | 15:51 |
MohammadAG | sometimes that's not an option Venemo :P | 15:52 |
Venemo | :P | 15:52 |
Venemo | I know. | 15:52 |
Venemo | alterego, can you gimme some help with QML bindings? | 15:52 |
Venemo | http://pastebin.com/xx4Yrkbs this is the code | 15:53 |
Mek | RST38h: there is not file dialog in qt components, so you'll have to write your own if you need one | 15:53 |
MohammadAG | yay, push email works better on the N950 than the N900 | 15:53 |
RST38h | Mek: thank you, although it was not my question | 15:53 |
Venemo | but when the currentChannel changes, the message in the text field remains the same. | 15:54 |
Venemo | MohammadAG, yesterday ycsá | 15:54 |
Venemo | ouch | 15:54 |
Venemo | MohammadAG, yesterday you said it worked better on the N900 | 15:54 |
*** seif has joined #harmattan | 15:56 | |
MohammadAG | Venemo, you need to change settings | 15:56 |
Venemo | mhm | 15:56 |
Venemo | qrc:/qml/harmattan/ChatPage.qml:132:9: QML TextField: Binding loop detected for property "text" | 15:56 |
MohammadAG | default setting are pull every 20 mins | 15:56 |
MohammadAG | set to always to update and change peak times, and it's faster by 3 seconds | 15:57 |
Venemo | mhm | 15:57 |
MohammadAG | always up-to-date* | 15:57 |
kkito | GeneralAntilles: How to run the emulator? | 15:58 |
*** Mek_ has joined #harmattan | 16:06 | |
* RST38h is going to ask a stupid QML related question | 16:08 | |
Venemo | RST38h, ask ahead. | 16:09 |
RST38h | I have got a dialog in a separate file.How do I refer to it from my first file? | 16:09 |
RST38h | Let us say I have got component id fileDialog in FileDialog.qml | 16:10 |
Mek | id's have filescope, but you can create a FileDialog {} element in your other file (or use a Loader, or Qt.loadComponent (not sure if that was the exact function name)) | 16:10 |
Mek | Qt.createComponent I meant | 16:11 |
RST38h | Venemo: So, how do I refer to it? | 16:12 |
Venemo | You can create a: | 16:13 |
Venemo | FileDialog { id: myDialog } | 16:13 |
Venemo | and you can then refer to it as myDialog | 16:13 |
*** seif has quit IRC | 16:13 | |
RST38h | Ah | 16:13 |
RST38h | And "FileDialog" here is the name of that other file? | 16:13 |
Mek | yeah | 16:14 |
Venemo | meh. nor TextField nor TextArea don't have a padding property | 16:15 |
RST38h | Venemo: does not work | 16:15 |
Venemo | RST38h, did you add the FileDialog.qml to your resources file? | 16:16 |
Venemo | and stuff? | 16:16 |
RST38h | I do not have .rsc file, opening main qml file by filename | 16:16 |
Venemo | mehh | 16:16 |
RST38h | I kinda expected it would look for other components at the same pth | 16:16 |
Venemo | then I have no idea at all | 16:16 |
Venemo | I always embed my QMLs into my app's resources and then they work. | 16:17 |
RST38h | hm, ok | 16:17 |
RST38h | How does the resource file work then? (outside of QtCreator) | 16:17 |
RST38h | FileDialog { id: myDialog }found it | 16:18 |
GAN900 | So I was discussing with fiferboy last night how useless the widget galleries were. | 16:23 |
RST38h | Sorry but how do I tell QML which qrc file to use??? | 16:23 |
Venemo | RST38h, make a "Harmattan application" and see how it's done | 16:24 |
GAN900 | Mostly because the code is impossible to find, isn't commented and doesn't always clearly relate to what's going on in the examples. | 16:25 |
RST38h | Sorry no QtCreator here, cannot make it | 16:25 |
Venemo | RST38h, why no Qt Creator? | 16:25 |
RST38h | Venemo:did not work for me, could not run apps | 16:25 |
Venemo | GAN900, impossible to find is enough reason... | 16:25 |
Venemo | RST38h, you can look at my half-baked app if you want: https://gitorious.org/colorful-apps/irc-chatter | 16:25 |
Venemo | brb. | 16:25 |
RST38h | thanks | 16:26 |
RST38h | Venemo: cannot find where it is done, sorry | 16:27 |
GAN900 | So, I'd like to try to expand on it by making the sample code available in the application, and providing the links to the relevant API docs. | 16:30 |
RST38h | shit, this qml stuff is totally undocumented at the border of being unusable :((((( | 16:30 |
GAN900 | Yes, the docs suck. | 16:30 |
GAN900 | Qt SDK is assumed a lot. | 16:30 |
trx | is there a Qt theme on harmattan? my app has no theme, is it just for me? | 16:31 |
RST38h | I cannot find anywhere (yes, googled) how I tell the application which qrc file I am using:((( | 16:31 |
*** kkito has quit IRC | 16:32 | |
RST38h | ok fuck the qrc | 16:35 |
lcuk | lol RST38h | 16:36 |
RST38h | addFilePath etc | 16:39 |
RST38h | qml:Config.qml:45:9: id is not unique | 16:40 |
RST38h | WTF | 16:40 |
Venemo | RST38h, it is well documented. | 16:46 |
Venemo | RST38h, as I said, look at my stuff. | 16:46 |
Venemo | RST38h, how I tell the application which qrc file I am using https://gitorious.org/colorful-apps/irc-chatter/blobs/master/irc-chatter.pro#line18 | 16:46 |
Venemo | RST38h, then this qrc tells the app what qml files are there https://gitorious.org/colorful-apps/irc-chatter/blobs/master/harmattan-gui.qrc | 16:47 |
RST38h | qml:Config.qml:13:3: FileDialog is not a type | 16:48 |
Venemo | [15:25] <RST38h> Venemo:did not work for me, could not run apps --->why not? | 16:49 |
RST38h | Venemo: ok, forget qrc.You are not letting Qt know what qrc file you are using anywhere, I looked at your app. | 16:49 |
RST38h | Venemo: So, no idea how it is happening. | 16:49 |
frals | its magic whenever you add the qrc afaik ;D | 16:49 |
RST38h | I simply added a search path and amnow ettingthe error given above | 16:49 |
*** lbt has quit IRC | 16:49 | |
Venemo | RST38h, maybe the way I instantiate the QtDeclarativeView differs from yours? | 16:49 |
RST38h | No, same way | 16:50 |
RST38h | no differences | 16:50 |
frals | QML_IMPORT_TRACE=1 too see where it searches for FileDialog | 16:50 |
RST38h | you are doing it from qtcreator though | 16:50 |
Venemo | RST38h, also, have you tried debugging why QtC doesn't workforyou? | 16:50 |
RST38h | Venemo: Yes, lost a day, uninstalled QtC | 16:50 |
RST38h | End of story. | 16:50 |
Venemo | RST38h, do you use the Qt SDK? | 16:50 |
RST38h | Yes, I used QtSDK | 16:50 |
RST38h | Let us skip over this topic, I am not going to waste any more time on it | 16:51 |
Venemo | well, I'm just sayin because it always worked for me | 16:51 |
Venemo | it's a bit hard developing for Qt without QtC. | 16:51 |
RST38h | Basically none of the dh* tools work in QtSDK, at least under Windows. | 16:51 |
*** lbt has joined #harmattan | 16:51 | |
Venemo | they work for me on Windows. | 16:51 |
RST38h | What do I do about this error though: qml:Config.qml:13:3: FileDialog is not a type ? | 16:52 |
MohammadAG | swiping down in the mediaplayer's list shows a search field | 16:52 |
MohammadAG | kinda like contacts | 16:52 |
MohammadAG | mail* | 16:52 |
RST38h | This happens after I do FileDialog { id: fileSelector } | 16:52 |
RST38h | where FileDialog.qml is at a searchable path and has id:fileSelector | 16:52 |
GAN900 | That never worked for me. | 16:53 |
GAN900 | The widgets gallery uses a file loading function | 16:53 |
GAN900 | Currently I've just got main.qmls since I'm clearly doing something incorrectly. . .. | 16:53 |
RST38h | FAIL. | 16:54 |
Venemo | well _SOMEWHERE_ you both are screwing up. | 16:54 |
*** rm_you has quit IRC | 16:54 | |
Venemo | no offence. | 16:54 |
*** rm_you has joined #harmattan | 16:55 | |
*** rm_you has joined #harmattan | 16:55 | |
*** kkito has joined #harmattan | 16:56 | |
MohammadAG | RST38h, fixing meegotouch-qt-style isn't a bad idea :P | 16:56 |
RST38h | ok, put together everything into a single file | 16:57 |
RST38h | dialog doesshow up, but it is empty | 16:57 |
RST38h | and I am getting a flood of errors about internal fileSelector ids not being found | 16:57 |
MohammadAG | btw RST38h | 16:57 |
MohammadAG | qml fails to do imports if the file isn't readable | 16:57 |
RST38h | Mohammad: Yea, except that its excuse for a default file dialog does not browse the file system. It browses the tracker db instead. | 16:57 |
RST38h | files are readable | 16:57 |
MohammadAG | cat the file as the user you're running the qml as | 16:57 |
MohammadAG | I got permission denied | 16:58 |
RST38h | no, both files are readable | 16:58 |
MohammadAG | WTF | 16:58 |
MohammadAG | the file dialog is a tracker interface? | 16:58 |
RST38h | yes | 16:59 |
RST38h | so, no, do not enable meegotouch-qt-style for now | 16:59 |
MohammadAG | even when using the non-static methods? | 16:59 |
RST38h | because it will not let you select files :) | 16:59 |
RST38h | dunno probablt | 16:59 |
MohammadAG | QFileDialog dialog; | 16:59 |
MohammadAG | well, no, QFileDialog::getOpenwhatever used the hildon dialog on maemo 5, but the other methods opened the built in Qt dialog | 17:00 |
GAN900 | Venemo, yes, clearly. :P | 17:00 |
Venemo | MohammadAG, save dialog also used the hildon dialog | 17:01 |
MohammadAG | Venemo, not if you used the non static methods | 17:02 |
Venemo | weird | 17:02 |
MohammadAG | not really | 17:02 |
MohammadAG | it says that in the docs | 17:02 |
M4rtinK2 | wait a minute, there is no ordinary "open file/folder dialogue" ? | 17:02 |
*** wicket64 has joined #harmattan | 17:03 | |
*** smoku has left #harmattan | 17:06 | |
GAN900 | It's the fileless file system revolution! | 17:10 |
GAN900 | Frankly I think it's mostly a good goal. | 17:11 |
Venemo | RST38h, anyway. I get the error you had when I forgot to add my QML files to the qrc | 17:14 |
RST38h | I now have everything ina single file | 17:15 |
RST38h | For some reason, references to ids that are up in the {} hierarchy do not resolve | 17:16 |
RST38h | OMFG I have got the file dialogtoshow up!!!!! | 17:24 |
GAN900 | !!!!l | 17:24 |
RST38h | SideNote: The example given on the web will not run as it is syntactically incorrect | 17:24 |
GAN900 | We need real docs. | 17:24 |
GAN900 | With example code which actually works. | 17:24 |
RST38h | SideNote2: Why is Nokia publishing examples that do not work??? | 17:24 |
GAN900 | Because the only people who are supposed to have them are smart devs? | 17:25 |
GAN900 | It's a test, clearly. | 17:25 |
GAN900 | and you almost failed. | 17:25 |
*** djszapi has quit IRC | 17:36 | |
Termana | lol | 17:41 |
*** djszapi has joined #harmattan | 17:44 | |
djszapi | lbt in Berlin ? | 17:44 |
lbt | no | 17:44 |
djszapi | Is there anybody from the c-obs project ? | 17:44 |
djszapi | here at the desktop summit ? | 17:44 |
djszapi | There will be an Open Build Service presentation tomorrow iirc... | 17:45 |
lbt | not afaik ... Bergie maybe | 17:45 |
djszapi | Henri is here, yep | 17:45 |
djszapi | lbt: well, lot of ongoing discussions with meegons and KDE guys | 17:45 |
lbt | good | 17:46 |
djszapi | about the collaboration between the two communities. | 17:46 |
lbt | *nod* ... let me know if they need anything | 17:46 |
djszapi | lbt: it was new for me OBS will provide windows packaging option... | 17:47 |
lbt | (apart from 'kdelibs to compile') | 17:47 |
djszapi | Jos has just said in his speak | 17:47 |
lbt | yeah .... not sure how open that'll be | 17:47 |
djszapi | well, if you cannot help, who can ? :) | 17:47 |
lbt | (thinking redistribution) | 17:47 |
djszapi | yep | 17:47 |
djszapi | lbt: anyway, I am not sure how to proceed with kde for harmattan. | 17:48 |
lbt | someone said that's a qemu issue | 17:48 |
djszapi | we can speak about KDE and meego collaboration, but if the basic kde libs is not available, we cannot encourage people. | 17:48 |
lbt | cmake? | 17:48 |
lbt | mmm | 17:49 |
djszapi | well, we can, they cannot just write kde apps :) | 17:49 |
lbt | there's a difference between a blocking bug and a blocking attitude ... which would you prefer? | 17:49 |
djszapi | blocking bug | 17:50 |
lbt | indeed ... :) | 17:50 |
lbt | so letting people know we have open arms and a bug is a better story isn't it? | 17:50 |
djszapi | that is what I am doing :) | 17:50 |
lbt | thanks | 17:50 |
Venemo | alterego, have you managed to properly use the SelectionDialog? | 17:51 |
djszapi | but I would like to see the two communities collaborating more | 17:51 |
djszapi | KDE has 10+ years Ui experience | 17:51 |
Venemo | so has Gnome btw. | 17:51 |
lbt | Venemo: using Qt? | 17:52 |
* lbt ducks | 17:52 | |
Venemo | lbt, using QWidgets. | 17:52 |
Venemo | hehe. | 17:52 |
lbt | Venemo: good answer :) | 17:52 |
lcuk | UI designers usually have flash experience | 17:52 |
Venemo | lbt :P :P | 17:52 |
* lcuk ducks ;) | 17:52 | |
djszapi | who is using QWidgets ? | 17:52 |
Venemo | so... I need a way to use a QML SelectionDialog element. | 17:53 |
Venemo | djszapi, kde widgets are based on QWidgets. correct me if I'm wrong. | 17:53 |
djszapi | you are wrong | 17:53 |
djszapi | kde widgets has never targetted mobile... | 17:53 |
djszapi | even there is a mobile profile, where those things are ifdef-ed out | 17:54 |
*** hardaker2 has joined #harmattan | 17:54 | |
Venemo | mhmm. | 17:54 |
djszapi | there is a Plasma Quick... | 17:54 |
MohammadAG | I thought a KWidget was a subclassed QWidget... | 17:55 |
MohammadAG | and a KButton was a subclassed QAbstractButton | 17:55 |
djszapi | there is no KWidget ? | 17:55 |
MohammadAG | oh well, I was wrong too I guess | 17:55 |
MohammadAG | what's the base widget called? | 17:56 |
djszapi | yep | 17:56 |
djszapi | there is no ultimate "base widget". | 17:56 |
tomma | QWidget? | 17:56 |
djszapi | kde mobile is completely qml based | 17:56 |
djszapi | QWidget for desktop or QGV for plasma desktop | 17:56 |
MohammadAG | I'm talking about full kde | 17:56 |
djszapi | I am talking about meego, harmattan kde. | 17:56 |
djszapi | at least on this channel :) | 17:56 |
MohammadAG | harmattan has a kde? | 17:56 |
djszapi | yes, I have built kdelibs weeks ago | 17:57 |
djszapi | also the calligra frontend... | 17:57 |
djszapi | also kalgebra | 17:57 |
djszapi | and others | 17:57 |
djszapi | Gluon... | 17:57 |
Venemo | [16:56] <djszapi> kde mobile is completely qml based ---> news to me | 17:59 |
djszapi | so what ? :) | 17:59 |
Venemo | nothing. it's just news to me. I didn't know. | 17:59 |
djszapi | good, if I could say something interesting | 17:59 |
djszapi | what you might wanna check out is some youtube video | 18:00 |
djszapi | or build and play games with out platform :) | 18:01 |
*** rm_you has quit IRC | 18:03 | |
*** rm_you has joined #harmattan | 18:03 | |
*** rm_you has joined #harmattan | 18:03 | |
*** Venemo has quit IRC | 18:06 | |
*** Venemo has joined #harmattan | 18:09 | |
*** Venemo has quit IRC | 18:09 | |
*** Venemo has joined #harmattan | 18:09 | |
djszapi | Venemo: I proposed a KDE mobile presentation in Malta. | 18:10 |
Venemo | hi | 18:10 |
Venemo | sorry, my machine froze | 18:10 |
djszapi | let us see..It would be nice if they accept it | 18:10 |
djszapi | not because of me :) | 18:10 |
Venemo | what will be in Malta? | 18:10 |
djszapi | because of KDE and Meego. | 18:10 |
djszapi | Open Source Island. | 18:10 |
Venemo | how are people getting the money to go to these events? | 18:10 |
djszapi | involving the mediterranean meego conf. | 18:10 |
Venemo | mediterranean meego conf?? hm? | 18:11 |
djszapi | yes | 18:11 |
Venemo | so is it "Open source island" or "meego conf"? | 18:11 |
djszapi | both | 18:11 |
Venemo | and when will it be? | 18:11 |
djszapi | http://www.isleofopensource.com/ | 18:12 |
djszapi | October | 18:12 |
djszapi | * Isle of Open Source | 18:12 |
Venemo | can people get sponsored the way they did at san francisco? | 18:12 |
djszapi | well, if they accept my talks without sponsorship, I do not go :p | 18:12 |
djszapi | my company is in a crise nowadays to support me :) | 18:13 |
Venemo | just asking because this time I'd feel like going there, but I don't have any money to spend on it :( | 18:13 |
djszapi | the deadline is over for presentations, iirc :( | 18:13 |
Termana | Venemo, we are secretly all Bankers. Not software developers | 18:13 |
Venemo | djszapi, I don't want to make a presentation, I want to listen to them | 18:14 |
Termana | Not that they are probably having such a great time in this economy either. | 18:14 |
djszapi | Venemo: they supported people not giving presentation, bof, etc in SF ? | 18:14 |
djszapi | damn... I missed it then :) | 18:15 |
Venemo | djszapi, well, according to other people who went there, they did support the more prominent community members. | 18:15 |
djszapi | anyway, I might get support from KDE | 18:15 |
djszapi | if they do not support me | 18:15 |
djszapi | KDE is keen on promoting KDE whenever it is possible. | 18:15 |
Venemo | djszapi, this is good! tell them that if they don't support you, you'll promote Gnome :P | 18:16 |
djszapi | What is gnome ? | 18:16 |
djszapi | :p | 18:16 |
djszapi | I am actually attending to the Vala presentation | 18:16 |
djszapi | that sounds cool for me | 18:16 |
Venemo | I kinda like Gnome 3 | 18:16 |
djszapi | there is also a gnome 4 presentation over here =p | 18:17 |
Venemo | not even 3 is complete and they're already planning 4? | 18:17 |
djszapi | no clue | 18:17 |
Venemo | maybe they want to catch on KDE and Xfce in their version numbering | 18:18 |
djszapi | I am interested in Vala. | 18:18 |
djszapi | let us see... | 18:18 |
lcuk | djszapi, in the past it has been discussed to rebase vala on qobject | 18:19 |
djszapi | lcuk: oh ? | 18:19 |
lcuk | and instead of generating bindings towards gobject and its stuff, instead output pure qt code | 18:19 |
djszapi | link for proving ? | 18:19 |
lcuk | no link, was physical discussion | 18:20 |
lcuk | or verbal | 18:20 |
djszapi | ahh I cannot ask them about it then | 18:20 |
lcuk | bergie is there | 18:20 |
djszapi | true, shall I catch him about it ? | 18:20 |
lcuk | well I was having the discussion with him, perhaps it went nowhere, perhaps something was written up | 18:21 |
djszapi | k | 18:21 |
djszapi | lcuk: there are a lot of collaboration dudes here :p | 18:22 |
djszapi | * collabora | 18:23 |
lcuk | yes I know | 18:24 |
djszapi | lcuk: sad you are not here :) | 18:25 |
lcuk | there are many conferences happening | 18:31 |
M4rtinK2 | yay, atk1.0 just built successfully :) | 18:31 |
lcuk | i have plenty to occupy myself here with new baby etc | 18:31 |
djszapi | lcuk: mmm, I am not blaming you. I am just saying it would be damn cool to drink a beer together :) | 18:33 |
* lcuk nods | 18:33 | |
*** seif has joined #harmattan | 18:35 | |
*** bemasc has joined #harmattan | 18:35 | |
djszapi | people like N9* here. | 18:40 |
bemasc | Are there instructions somewhere for how to get root on an N950? | 18:40 |
Venemo | bemasc, yes, see /topic | 18:41 |
lcuk | bemasc, "ssh root@localhost" | 18:41 |
lcuk | rootme | 18:41 |
Venemo | bemasc, 'devel-su', password is 'rootme' | 18:41 |
bemasc | Venemo: I looked through those pages and coldn't find anything | 18:41 |
bemasc | ok, thanks lcuk and venemo | 18:41 |
Venemo | bemasc, you are lying. | 18:41 |
Venemo | bemasc, http://wiki.meego.com/Migrating_from_N900_to_N950#root -> first link from the second link in the topic. | 18:42 |
bemasc | Venemo: I didn't click it, since I am not migrating | 18:42 |
djszapi | it is interesting why it is in the migration section | 18:43 |
bemasc | anyway, devel-su worked great | 18:43 |
Venemo | because when it was added, the "Landing page" didn't exist yet. | 18:43 |
djszapi | I would not use develsu | 18:43 |
djszapi | devel-su | 18:43 |
Venemo | why not? | 18:43 |
djszapi | because there is no guarantee for its availability | 18:43 |
djszapi | it has not been available for a while on an internal image | 18:44 |
bemasc | what do you recommend? | 18:44 |
djszapi | what lcuk said :) | 18:44 |
bemasc | ok | 18:44 |
djszapi | if you have ssh access | 18:44 |
bemasc | I can ssh to localhost. I haven't figured out if sshd has an external port open too | 18:45 |
djszapi | in developer mode, it has | 18:45 |
djszapi | Can I use standard Qt roles directly without "exporting" inside qml ? | 18:46 |
djszapi | https://projects.kde.org/projects/playground/games/gluon/repository/revisions/master/entry/player/lib/models/commentitemsmodel.cpp#L67 -> That is what I had to do with custom roles. Is it also the case for standard roles, like tooltip and so forth ? | 18:46 |
Venemo | djszapi, I just made this: http://pastebin.com/9PNSRBHf | 18:46 |
bemasc | hmm. Just ssh'd in as root with password rootme .... pretty frightening. | 18:47 |
djszapi | why ? | 18:47 |
djszapi | root is not a superstuff anymore | 18:47 |
Venemo | bemasc, you can change the password if you're not liking it | 18:47 |
djszapi | directly because of this... | 18:47 |
*** rm_you has quit IRC | 18:47 | |
djszapi | also, I am not sure on PR image with user mode you can hack ssh. It might be possible, I have never tried. | 18:48 |
bemasc | Venemo: yep, I guess I should do that. Do I also need to change the password on the "user" account? | 18:48 |
Venemo | bemasc, dunno | 18:48 |
djszapi | bemasc: it does not raise the security too much | 18:48 |
djszapi | what you wanna use is aegis | 18:48 |
djszapi | which was designer for security purposes. | 18:48 |
*** rm_you has joined #harmattan | 18:49 | |
*** rm_you has joined #harmattan | 18:49 | |
djszapi | designed* | 18:49 |
bemasc | djszapi: I don't know about "superstuff", but surely, as currently configured, anyone could ssh in and read all my data. | 18:49 |
djszapi | not much difference with different password | 18:49 |
djszapi | anybody can get it. | 18:49 |
bemasc | not if I don't tell them the password! | 18:49 |
djszapi | and root is not superuser | 18:49 |
djszapi | so it cannot break your stuff if you use aegis properly. | 18:49 |
djszapi | :D:D:D | 18:50 |
djszapi | you must be joking. | 18:50 |
bemasc | djszapi: I don't know what you're talking about, but I just confirmed that root can read the contents of /home/user/DCIM/ | 18:51 |
bemasc | so anyone could ssh in using the default password and see all the pictures I've taken. | 18:51 |
djszapi | what I am talking about is that, I can get your password by looking at your typing, installing keylogger, listening on the port and so on. | 18:51 |
bemasc | Evidently the developer image was not designed for use on public networks out of the box, which is fine. | 18:51 |
djszapi | there are gazillion ways, it is not that hard | 18:51 |
djszapi | so you raised the security, but for an expertise, not much, almost nothing | 18:52 |
dm8tbr | djszapi: that must mean you don't lock your apartment door, right? | 18:52 |
djszapi | not really, no | 18:52 |
*** seif has quit IRC | 18:52 | |
bemasc | it would be nice to know what you have to do to the developer image to make it reasonably secure, though. | 18:53 |
djszapi | Xth time: use aegis | 18:53 |
tomma | disable root login from ssh | 18:53 |
tomma | problem solved | 18:53 |
Venemo | ok. how to configure aegis to disallow root to view my stuff? | 18:53 |
djszapi | tomma: well, that is his purpose.. | 18:53 |
bemasc | tomma: yep, planning on it. Do you know if there are any other accounts that need to be disabled? | 18:53 |
dm8tbr | tomma: the config might not be allowed to be modified, due to aegis | 18:53 |
tomma | sshd config can be modified... i hav | 18:53 |
djszapi | Venemo: you do not still know ? I cannot believe it :) | 18:54 |
tomma | i have device still working | 18:54 |
djszapi | so long time, we have been discussing aegis. | 18:54 |
Venemo | djszapi, you said million times that it is possible. but you never told how. :) | 18:54 |
bemasc | tomma: yep, I guess I'll look through sshd_config and /etc/passwd | 18:54 |
djszapi | Venemo: I told gazillion times. | 18:54 |
Venemo | djszapi, or maybe I just wasn't around when you told that part? | 18:54 |
djszapi | seriously, I am not keen on repeating things gazillion times | 18:54 |
djszapi | please do note | 18:54 |
dm8tbr | djszapi: please point to an instance in the log, kthx | 18:54 |
Venemo | ok | 18:54 |
djszapi | use manifest files. | 18:54 |
Venemo | djszapi, yeah, gimme the channel log where you explain this. | 18:55 |
djszapi | I have really better things to do... | 18:55 |
djszapi | I am pretty sure you can figure out it alone... | 18:55 |
djszapi | same work for me... | 18:55 |
Venemo | since Aegis is non-documented, I doubt it. | 18:55 |
djszapi | what does an irc log have to do with aegis documentation ? | 18:56 |
Venemo | ok, I'll look up the log somewhen | 18:56 |
*** crevetor has joined #harmattan | 18:56 | |
djszapi | look the situation from my pov please | 18:56 |
Venemo | I understand :) | 18:56 |
djszapi | people keep asking the same basic questions gazillion times | 18:56 |
djszapi | How would you feel it ? | 18:56 |
Venemo | yeah, I see your point | 18:57 |
lcuk | djszapi, make a FAQ | 18:57 |
lcuk | then when silly questions asked, point them to it | 18:57 |
dm8tbr | djszapi: I would stop acting like an asshat and have a wikipage to point people to. (you asked what I'd do) | 18:57 |
djszapi | lcuk: do you pay me for that ? | 18:57 |
djszapi | thanks kindly while I am helping | 18:57 |
djszapi | I feel so nice now really. | 18:57 |
lcuk | djszapi, no but you asked how to deal with that specific thing of being asked silly questions repeatedly | 18:57 |
djszapi | lcuk: seriously, they are getting help and they do not even try to document it ? | 18:58 |
djszapi | I should also do this instead of them ? | 18:58 |
djszapi | I am expecting some minimal thing | 18:58 |
bemasc | ok, looks like root is the only account that has a password. | 18:59 |
* lcuk slides coffee over to djszapi | 18:59 | |
bemasc | the main account ("user") is password-disabled | 18:59 |
dm8tbr | lcuk: good heavens no, get him something that calms him down... | 18:59 |
djszapi | lcuk: see my pov please, I am asked again and again with the same question. I am helping and I am called "asshat". | 19:00 |
djszapi | I am just stopping helping about aegis | 19:00 |
djszapi | I do not need this | 19:00 |
lcuk | djszapi, the faq observation would prevent your frustration, and each person asking the same question does not know you already answered it 100 times | 19:00 |
djszapi | lcuk: but if I help a lot, people cannot document it ? | 19:01 |
djszapi | should I also do this ? | 19:01 |
lcuk | and each person does not know they should be making the faq because they were never told to | 19:01 |
djszapi | because then I stop helping | 19:01 |
djszapi | if there is no such a minimal thing like that. | 19:01 |
lcuk | djszapi, the documentation for many aspects of n950 are coming together | 19:01 |
lcuk | but each person does not know this | 19:01 |
djszapi | well, anyway. I do not enjoy it. Good luck with aegis. | 19:02 |
lcuk | my girlfriend used to work in a book store | 19:02 |
lcuk | she got frustrated when customers would walk in and say "I am looking for a book.." | 19:02 |
lcuk | and wished to never hear that phrase | 19:02 |
djszapi | lcuk: I have never experienced that if someone helps is called "asshat". | 19:02 |
lcuk | but there is no way to tell everybody that it is silly | 19:02 |
djszapi | this is not really the way of collaboration | 19:02 |
lcuk | understood | 19:03 |
Venemo | djszapi, I did not call you an "asshat", and I accepted your viewpoint. | 19:03 |
dm8tbr | can we please cease the meta-discussion and get back to a topic? | 19:03 |
djszapi | Venemo: yep, you did not. | 19:03 |
lcuk | dm8tbr, start the wiki page then to help everyone | 19:03 |
* dm8tbr understands djszapi's frustration, but tries _never_ to get as carried away as to tell people 'it's documented, just finde it in the random pile over there' | 19:04 | |
Venemo | djszapi, IMO you are just another helpful person who is sacrificing his free time to help others. :) but this usually stands for every one of us here :) | 19:04 |
dm8tbr | I usually have for the topics I help people with a set of links at hand | 19:04 |
dm8tbr | lcuk: first step, what is a harmattan wiki that can be edited by random users? | 19:04 |
djszapi | Venemo: again, I have a lot to do | 19:04 |
dm8tbr | lcuk: meego.com is not a good choice3 | 19:05 |
lcuk | dm8tbr, harmattan is meego | 19:05 |
djszapi | what I have time is for giving advices | 19:05 |
lcuk | use wiki.meego.com as the migration page does | 19:05 |
djszapi | if nobody helps with documenting, that is the result | 19:05 |
djszapi | I will not document it sorry. I would like, but I do not have time. | 19:05 |
djszapi | also, my english sucks. | 19:05 |
Venemo | djszapi, btw I answered you in #qt-qml | 19:05 |
Venemo | :) | 19:05 |
*** fiferboy has joined #harmattan | 19:07 | |
djszapi | hi fiferboy :) | 19:07 |
dm8tbr | lcuk: I'd rather not get caught up in politics about harmattan and meego but see some real documentation. So far I have to agree with djszapi there seems to be no fitting place | 19:07 |
fiferboy | Hi all | 19:07 |
djszapi | fiferboy: I have QML question | 19:07 |
djszapi | questoins* | 19:07 |
djszapi | err... :) | 19:07 |
fiferboy | djszapi: Go ahead | 19:08 |
djszapi | fiferboy: is it like this ? I cannot have a text and image inside a component (delegate) related to the listview ? | 19:09 |
djszapi | if I put them into an "item" container, it works. | 19:09 |
fiferboy | You should be able to create a Component and put whatever layout you want inside it | 19:10 |
djszapi | it is a bug then I guess. | 19:10 |
fiferboy | If you have Component { Item { Row { Image {} Text {} } } } | 19:11 |
fiferboy | Make sure you are giving the proper size to the elements in the component | 19:11 |
fiferboy | djszapi: It's not a bug, it is working for me :) | 19:11 |
djszapi | mmmh, I need the row, that is actually a good idea :p | 19:11 |
djszapi | well, sure I mean I need an a dummy item container | 19:11 |
fiferboy | djszapi: You can either use the row or anchors | 19:12 |
djszapi | so I cannot do it indirectly. It could be smart about that | 19:12 |
djszapi | row is more explicit to me :p | 19:12 |
djszapi | and does not need continous adjustment in case of more columns | 19:12 |
fiferboy | True, it is better for dynamic layout | 19:13 |
frals | can have as many Image{} and Text{} you want inside a delegate ;) | 19:15 |
*** Rizzer has joined #harmattan | 19:15 | |
djszapi | frals: I am getting a runtime error message without a container item | 19:16 |
fiferboy | djszapi: What message? | 19:17 |
djszapi | invalid body | 19:18 |
GAN900 | djszapi, you've clearly never worked retail. :P | 19:19 |
djszapi | not sure what you mean | 19:20 |
*** rm_you has quit IRC | 19:20 | |
*** rm_you has joined #harmattan | 19:21 | |
*** rm_you has joined #harmattan | 19:21 | |
GAN900 | djszapi, was stuck in scrollback, related to your complaint about response to help. | 19:21 |
djszapi | fiferboy: we were discussing that with Venemo, whether I need to register default Qt roles with setRoleName in order to use it from QML ? | 19:21 |
djszapi | Do you have experience with this ? | 19:21 |
djszapi | GAN900: I would really like to document it, but no time.. | 19:22 |
*** kkito has quit IRC | 19:22 | |
fiferboy | djszapi: Yes, you need to do that if you are using a QAbstractItemModel-based model | 19:22 |
djszapi | k | 19:23 |
GAN900 | surely it's somebody's paid job to do the documentation. | 19:23 |
djszapi | GAN900: we do that internally :d | 19:23 |
tomma | http://doc.qt.nokia.com/latest/qabstractitemmodel.html#setRoleNames | 19:23 |
djszapi | tomma: that does not talk about default roles | 19:24 |
djszapi | I would personally expect that, the abstract class registers all the qt shipped roles. | 19:24 |
Venemo | djszapi, try it, and you'll see. | 19:24 |
djszapi | like it similarly handles the qt shipped enums | 19:24 |
tomma | true... and to find those names you need to output them to QDebug or something | 19:24 |
djszapi | Venemo: try what ? | 19:25 |
djszapi | I do not see any reference what I should type into QML. | 19:25 |
djszapi | if any | 19:25 |
tomma | enums would be more intuitive way | 19:25 |
Venemo | try using it without registering them and if they work, then you don't need to. | 19:25 |
djszapi | but I cannot try | 19:25 |
djszapi | that is the point until I find some registered name... | 19:25 |
djszapi | but since we do not find, I think it is not registered then | 19:25 |
djszapi | also, I trust fiferboy, he is a qml guru :p | 19:25 |
Venemo | mhm. | 19:26 |
GAN900 | djszapi, unrelated, do you happed to know if the person(s) responsible for the Components widget galleries maintain a public presence? | 19:29 |
Venemo | GAN900, I don't think so, but what is it that you're after? | 19:29 |
djszapi | GAN900: no clue here :) | 19:30 |
GAN900 | Venemo, planning to do a New and Improved widget gallery | 19:30 |
Venemo | GAN900, aah :) | 19:30 |
*** Rizzer has quit IRC | 19:31 | |
GAN900 | Let me know if you have any requests. | 19:32 |
djszapi | nice woman pictures :) | 19:32 |
GAN900 | Going to put in more commentary, semi-dynamic example code, links to API docs, etc. | 19:32 |
GAN900 | NataliePortman { } is not a Qt Component. | 19:33 |
djszapi | fiferboy: http://paste.xinu.at/bsGHN/ | 19:34 |
*** Scifig has quit IRC | 19:35 | |
djszapi | but isn't there some direct adjustment like with Qt Views and Models (C++) ? Decoration and Display roles are the default ? | 19:35 |
Venemo | GAN900, that is a very nice idea :) | 19:36 |
fiferboy | djszapi: That's the right way to set role names | 19:38 |
fiferboy | Does anyone know when using a QAbstractItemModel why I can't use header names to get different columns? | 19:39 |
fiferboy | Wht is the correct way to get column information? | 19:39 |
Venemo | you need to implement a method regarding headers | 19:41 |
Venemo | if you already know that, well, I don't know more about it | 19:41 |
fiferboy | What is the correct way to access different columns? | 19:42 |
Venemo | I don't know more about it, but if I were you, I'd ask #qt-qml in EU working hours | 19:42 |
fiferboy | Right now I am assigning names to different Qt::UserRole+n roles and reimplementing QAbstractItemModel::data to give column info based on the role | 19:42 |
Venemo | yes, that's what I do. | 19:42 |
Venemo | I have a generic QAbstractListModel subclass that gets all properties from a QObject descendant with its QMetaObject, and then sets them as roles. | 19:43 |
*** djszapi has quit IRC | 19:45 | |
fiferboy | Venemo: That sounds like a good solution | 19:46 |
fiferboy | At least, a good work around | 19:47 |
Venemo | fiferboy, yeah. I don't understand why isn't there such a thing in Qt by default. | 19:47 |
fiferboy | I would also like to know how to access an arbitrary value from a delegate from outside the delegate | 19:49 |
fiferboy | It seems like it should be possible, but using a QAbstractItemModel seems to complicate things | 19:49 |
Venemo | it is possible with a hack/workaround | 19:50 |
*** djszapi has joined #harmattan | 19:50 | |
djszapi | RzR: alure is broken in your repository | 19:51 |
djszapi | lbt: we have alure compiled in our shared repository, but it is not available for further packages in that repository. Got an idea ? | 19:51 |
Venemo | fiferboy, if you're interested, I can give you code | 19:51 |
djszapi | lbt: meaning that gluon is unresolvable since it depends on alure | 19:52 |
djszapi | lbt: it is not distributed even if it has been built properly. | 19:52 |
djszapi | lbt: properly built, but still not available in that repository: http://repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard/armel/ | 19:53 |
fiferboy | Venemo: I'd love to take a look | 19:54 |
fiferboy | I have 5 different models I am using, so naming them all individually and writing data replacements sin't great | 19:54 |
Venemo | fiferboy, https://gitorious.org/colorful-apps/irc-chatter/blobs/master/qobjectlistmodel.h | 19:54 |
fiferboy | Venemo: Thanks@! | 19:55 |
Venemo | fiferboy, the QObjectListModel class is what does it. the QObjectListModelMagic class is a workaround against MOC's not supporting template classes | 19:55 |
*** djszapi has quit IRC | 19:55 | |
*** djszapi has joined #harmattan | 19:55 | |
Venemo | fiferboy, as you see, it has a getItem() method which returns a QObject*. with this I can fetch the necessary item in the QML delegate with channelList.getItem(index) | 19:56 |
Venemo | fiferboy, then I can do with it whatever I want. | 19:56 |
djszapi | fiferboy: Actually, I am having the same question | 19:56 |
djszapi | How to actually get a column data from QML ? For instance, more columns have qtdisplayrole, so it is not a good thing for decoupling the columns | 19:57 |
fiferboy | djszapi: Yeah, I'm not sure the correct way to go about that | 19:58 |
djszapi | but you see it is a use case. | 19:58 |
fiferboy | But if you assign role names for all the information you want to obtain using the Qt::UserRole++ | 19:59 |
djszapi | http://fxrh.files.wordpress.com/2011/06/achievement_1.png | 19:59 |
djszapi | doing this in QML. | 19:59 |
djszapi | you need to know the column. | 19:59 |
fiferboy | You can then write a function to return the requested row but specific column based on the role passed | 19:59 |
djszapi | yeah, but it would be more elegant to pass a column argumenet | 19:59 |
fiferboy | djszapi: Yes, I know it is a use case - I need to implement functionality on five different models :) | 19:59 |
Venemo | so, just use the class I've linked :) | 20:00 |
fiferboy | I agree totally, and hope there is something simple I am overlooking that someone will point out :D | 20:00 |
*** stroughtonsmith has joined #harmattan | 20:01 | |
fiferboy | Venemo: Do you have an example of how you call that, for instance from within a delegate in QML? | 20:01 |
Venemo | fiferboy, I sure do. wait a moment and I'll push it | 20:02 |
fiferboy | Thanks | 20:02 |
djszapi | is this an example how to distinguish columns ? | 20:02 |
fiferboy | I have to go AFK for a while (putting son down for a nap) | 20:03 |
fiferboy | Back later | 20:03 |
djszapi | cya | 20:03 |
Venemo | ok, ping me when you're back fiferboy | 20:04 |
*** fiferboy is now known as fiferboy_away | 20:04 | |
fiferboy_away | Will do, thanks | 20:04 |
*** djszapi has quit IRC | 20:09 | |
Venemo | I hereby announce that SelectionDialog is horseshit. | 20:26 |
frals | what are you failing to accomplish? | 20:27 |
Venemo | I have a button in my IRC client that will show the user list of a channel | 20:28 |
Venemo | the user list is a property of type QStringListModel in my ChannelModel class | 20:28 |
Venemo | now the SelectionDialog is obviously a nice way to show the user list (it looks nice), but I just can't get it done | 20:29 |
Venemo | http://meegoharmattandev.blogspot.com/2011/07/populating-selectiondialog-from-c.html | 20:29 |
Venemo | this workaround almost works... if there were no channel switching, it'd work. | 20:29 |
Venemo | I'm down to the part when I'm actually manually adding items to the SelectionDialog's model, but even that is impossible with QStringListModel... | 20:30 |
Venemo | frals, if you have an idea, I'm listening | 20:30 |
frals | Venemo: https://qt.gitorious.org/qt-components/qt-components/merge_requests/887# | 20:31 |
Venemo | yeah, I saw that | 20:31 |
Venemo | it hasn't appeared on my N950 yet, nor in my sysroot. | 20:32 |
frals | (ugly workaround, include the fixed version in your project for now) | 20:32 |
Venemo | I tried. it was missing some js. so I added the js too. but then Qt Creator didn't see the js..... | 20:32 |
Venemo | maybe I should try again. | 20:32 |
Venemo | hm. | 20:33 |
frals | bah, damn uiconstant.js | 20:34 |
frals | afaik its been fixed so its importable in later versions as well but doesnt help you much atm :p | 20:35 |
Venemo | also, CommonDialog seems to be a non-existent type | 20:35 |
Venemo | meh | 20:37 |
Venemo | I will NEVER understand this | 20:37 |
Venemo | why are there SO MANY private headers/classes/etc in an OPEN library?? | 20:38 |
frals | making something a private part does not have anything to do with being OSS or not ;) | 20:38 |
Venemo | yeah | 20:38 |
Venemo | but. | 20:38 |
Venemo | why can't I use CommonDialog from my code? | 20:39 |
Venemo | why doesn't TextArea inherit TextEdit so I could use its onLinkClicked signal? | 20:39 |
*** lardman has joined #harmattan | 20:39 | |
*** lardman has quit IRC | 20:39 | |
*** lardman has joined #harmattan | 20:39 | |
frals | i guess it was added in master branch after the release was done | 20:39 |
Venemo | they say, nooo, we don't inherit, because we want to _hide_ this | 20:39 |
Venemo | but then why? | 20:39 |
frals | i suggest you ask why the design is like it is in #qt-components (or wherever they hang out :)) | 20:39 |
Venemo | if I want to use it, I can always copy their code. | 20:39 |
Venemo | I asked. | 20:39 |
Venemo | they said they don't agree with the design either. | 20:40 |
lardman | evening | 20:40 |
frals | lo lardman | 20:40 |
lardman | hi frals | 20:41 |
Venemo | frals, it doesn't work even with the fix. | 20:41 |
Venemo | it simply doesn't show any items | 20:41 |
Venemo | my model definitely has a "name" role. | 20:44 |
*** Arkenoi has quit IRC | 20:44 | |
*** Arkenoi has joined #harmattan | 20:45 | |
Venemo | frals, it doesn't even try to load the items in my model. | 20:48 |
Venemo | frals, does this guy visit IRC? | 21:17 |
*** javispedro has joined #harmattan | 21:20 | |
*** fiferboy_away is now known as fiferboy | 21:37 | |
fiferboy | Venemo: I am having the same problem with SelectionDialog | 21:37 |
fiferboy | But I am using compoents built from git three days ago, so the fix frals mentioned should be in it | 21:37 |
fiferboy | Populates fine from QML, won't at all from C++ | 21:37 |
Venemo | yeah | 21:38 |
Venemo | same here... | 21:38 |
fiferboy | Venemo: If you load your list model in a VisualDataModel it _almost_ works | 21:39 |
fiferboy | It reserves the space but doesn't draw the delegate | 21:39 |
fiferboy | Maybe I should try without a delegate... | 21:39 |
Venemo | well, I'm working on my own selection dialog now | 21:39 |
fiferboy | Yeah, I guess it isn't that complicated a component | 21:39 |
fiferboy | Could be done inline without much effort, even | 21:40 |
Venemo | since I already have the source of CommonDialog, all I need to do is put a Column and a Repeater into it. | 21:40 |
fiferboy | Or you could put a Flickable and a ListView in it | 21:41 |
Venemo | yep | 21:41 |
Venemo | ListView for some weird reason only shows the first element of the list. | 21:41 |
fiferboy | Wait, you don't even need flickable with listview :) | 21:41 |
fiferboy | Does it let you scroll? | 21:41 |
RST38h | It takes 450 lines of QML code to implement a file selection dialog | 21:42 |
Venemo | didn't check | 21:42 |
RST38h | In plain Qt it takes 1 line | 21:42 |
RST38h | Funny, isn't it? | 21:42 |
fiferboy | RST38h: To be fair, the implementation in Qt is more than one line :) | 21:42 |
fiferboy | You could write a compoenent for it in QML and ivoke it with one line in your main code | 21:43 |
RST38h | fiferboy: Qt only requires you to call a static QDIalog member | 21:43 |
RST38h | fiferboy: I cannot - the only components that I can call from C++ should start with PageStackWindow | 21:44 |
Venemo | fiferboy, no, it does not let me scroll. | 21:44 |
fiferboy | RST38h: I am forever forgetting you are doing everything in C++ and trying to use QML interface | 21:44 |
RST38h | fiferboy: Not "doing" but "already have it done" | 21:45 |
RST38h | fiferboy: Requiring developers to use pure QML is no better than requiring them to use pure Java | 21:45 |
Venemo | fiferboy, do you have an idea why does the ListView only show the first item in my model, while the repeater shows all? | 21:45 |
fiferboy | Yeah, I have my application already done in Qt, and fortunately the models do most of the work so an interface rewrite isn't bad | 21:45 |
fiferboy | Venemo: Are you using a delegate in listview? | 21:45 |
Venemo | fiferboy, yes! | 21:46 |
alterego | Think I'll be carrying around my N900 for a bit longer, the xterm is more useful. | 21:46 |
Venemo | fiferboy, seems that if I manually set the height of the listview then it displays the other items too | 21:46 |
Venemo | fiferboy, but it doesn't let me scroll :( | 21:46 |
lcuk | alterego, favourite harmattan app? | 21:46 |
fiferboy | Venemo: height was going to be my suggestion, but scrolling is a different issue | 21:46 |
alterego | lcuk: not really played with any apps yet :/ | 21:46 |
fiferboy | Is there a mousearea stealing the clicks? | 21:46 |
alterego | Really busy recently. | 21:46 |
lcuk | alterego, ahh, far away from computer land or in training? | 21:47 |
Venemo | fiferboy, not that I'm aware of. the delegate does contain a mousearea, but so does the default delegate of the SelectionDialog | 21:47 |
RST38h | fiferboy: BTW Android also requires you to implement your own file selector. But it takes much fewer lines. | 21:48 |
fiferboy | Venemo: I am about to take a look at implementing it myself | 21:48 |
alterego | alterego: working on tablet recently. | 21:48 |
alterego | lcuk: ^ | 21:48 |
fiferboy | RST38h: My android development is pretty limited, but I would say almost everything I do is easier in QML | 21:48 |
RST38h | fiferboy: definitely not =( | 21:49 |
RST38h | no fucking way it is easier, at least not right now | 21:49 |
Venemo | fiferboy, shall I send you what I've done so far? | 21:49 |
fiferboy | RST38h: Well, as I say my Android devel was limited and I am quite deep into QML | 21:49 |
fiferboy | Venemo: Sure, that would be helpful | 21:49 |
Venemo | fiferboy, hmm... why is anchors.fill: parent not enough for this ListView | 21:51 |
fiferboy | Venemo: Should be. Does the parent have an explicit size set? | 21:51 |
Venemo | nope | 21:51 |
fiferboy | Venemo: Maybe the listview is taking as much space as it needs so it doesn't think it needs to scroll | 21:51 |
fiferboy | That's what it sounds like | 21:52 |
Venemo | mhmm | 21:52 |
Venemo | interactive: true takes care of scrolling | 21:52 |
Venemo | fiferboy, ok, I'll pastebin it | 21:57 |
fiferboy | cool | 21:57 |
Venemo | fiferboy, this http://pastebin.com/9dDq7vpX works as expected | 21:58 |
Venemo | umm, correction: almost | 21:59 |
*** Rizzer has joined #harmattan | 22:01 | |
Venemo | I'll refactor it as a separte component | 22:01 |
* RST38h suddenly understands that replacing qml with html would makethings easier | 22:02 | |
javispedro | RST38h: see. | 22:02 |
RST38h | why did they invent a whole new markup language anyway? | 22:03 |
RST38h | moo javispedro | 22:03 |
javispedro | I was perplexed with the way QML lays out and wraps things | 22:03 |
RST38h | javispedro: are you writing a file selector? | 22:03 |
javispedro | and specially the anchors paradigm. Reminds of PalmOS and that is not a good signal here. | 22:03 |
RST38h | you can avoid anchors, they just do not tell you | 22:03 |
javispedro | RST38h: as said, I've joined the filesystemless club. So, Tracker for me. | 22:04 |
RST38h | Encapsulate your UI into Column {} or Row {} and forget about nachors | 22:04 |
javispedro | ah, nice | 22:04 |
javispedro | . | 22:04 |
fiferboy | Venemo: Did you use the CommonDialog code from the N950 install or from git for that? | 22:04 |
RST38h | OMG,javispedro, what made you do that? | 22:04 |
Venemo | fiferboy, I copypasted everything from git | 22:04 |
javispedro | RST38h: that's one thing of PalmOS I liked :) | 22:04 |
fiferboy | Ah, so parts of that may not work on the N950 | 22:04 |
Venemo | fiferboy, this works as a standalone component | 22:05 |
RST38h | javispedro: man, it is almost like going gay. | 22:05 |
Venemo | fiferboy, http://pastebin.com/CbA9QMjd | 22:05 |
Venemo | fiferboy, tested on N950 | 22:05 |
javispedro | RST38h: save for music, notes, and pictures (and not all of them are pr0n), I do not have enough files in my N900 to require a full-fledged filebrowser. | 22:05 |
Venemo | fiferboy, note that you will need CommonDialog in your source tree also, because that is not part of the public API | 22:05 |
javispedro | a searchable global list is fine for me. | 22:06 |
RST38h | Yes, but you are doing this on N950, not on N900, right? | 22:06 |
javispedro | RST38h: on the N950 I will have *less* stuff =) considering the little available disk space | 22:06 |
RST38h | Ah, you mean for media browsing on N900... Yes,I am also using the tracker generated stuff | 22:06 |
javispedro | RST38h: not only media; I plan to use it for rom listing. | 22:06 |
javispedro | also I will attach the latest savestate screenshot in the list. | 22:07 |
Venemo | fiferboy, I'm calling it WorkingSelectionDialog.qml :) | 22:07 |
RST38h | javispedro: When using meegotouch-qt-style, QDialog::FileDialog() or whatever brings up Tracker search UI instead of a file browser | 22:07 |
fiferboy | Venemo: :D | 22:07 |
javispedro | RST38h: O_O | 22:07 |
javispedro | RST38h: I need to see that, you have sample snippet or screenshot? | 22:07 |
RST38h | javispedro: Just click on "Search" in the applications menu | 22:08 |
RST38h | javispedro: that is what it looks like. of course, it shows no ROM files | 22:08 |
javispedro | that is smartsearch | 22:09 |
javispedro | I was asking the other day how to add filetypes there... | 22:09 |
RST38h | and? | 22:09 |
javispedro | I was told "smart"search was not really smart. | 22:09 |
javispedro | so I bet it is hardcoded. | 22:09 |
RST38h | umgh | 22:10 |
javispedro | it's fund cause tracker itself already indexes my files nicely | 22:11 |
javispedro | *funny | 22:11 |
RST38h | how did you add the types, anyway? | 22:11 |
fiferboy | Venemo: So I put that code in a file called... ? | 22:12 |
RST38h | Heh, talibs shot down a chopper carrying the same Team6 marines who offed Osama | 22:12 |
Venemo | fiferboy, I put it into WorkingSelectionDialog.qml, added it and the CommonDialog.qml (from git) to my qrc file and it works :) | 22:13 |
RST38h | 38 bodies, -22 to Team6 | 22:13 |
javispedro | RST38h: http://pastebin.com/wkVKaBb7 in /usr/share/mime/packages/ | 22:13 |
Venemo | fiferboy, how can I check in a delegate whether modelData is available or not? | 22:13 |
RST38h | aha | 22:13 |
javispedro | RST38h: then you tell tracker to list by mimetype | 22:13 |
RST38h | So, very similar to what it was before | 22:13 |
javispedro | yeah | 22:14 |
fiferboy | Venemo: modelData is from a StringList model? | 22:14 |
Venemo | fiferboy, I want the dialog to display modelData for QStringListModel models and "name" role for all other | 22:14 |
Venemo | fiferboy, from docs: "Models that do not have named roles (such as the QStringList model shown below) will have the data provided via the modelData role. The modelData role is also provided for models that have only one role. In this case the modelData role contains the same data as the named role." | 22:14 |
RST38h | javispedro: Actually my stuff is already added this way. Is there any way to check if tracker has indexed it via command line? | 22:15 |
fiferboy | Venemo: Hmm, not sure how to tell which a model uses without knowing what type of model it is | 22:15 |
Venemo | fiferboy, solved! | 22:15 |
lcuk | alterego, cool, which app areas have you been delving into? | 22:15 |
Venemo | text: model.modelData === undefined ? model.name : model.modelData; | 22:15 |
fiferboy | Does the SelectionDialog from git help at all? | 22:16 |
* RST38h asks the Tentacled One to take care of the MVC architecture inventor. Please, do something bad, using tentacles. | 22:16 | |
Venemo | fiferboy ^^ | 22:16 |
Venemo | fiferboy, yes, that's where I copied the delegate from. I deleted the garbage from it. | 22:16 |
Venemo | hmm | 22:18 |
Venemo | maybe this is bad syntax | 22:18 |
javispedro | RST38h: $ tracker-sparql -q "SELECT ?url WHERE { ?s nie:url ?url . ?s nie:mimeType \"a | 22:18 |
javispedro | pplication/x-snes-rom\" . }" | 22:18 |
Venemo | fiferboy, and modelData doesn't work for my QStringListModel... :( | 22:18 |
javispedro | forgive me for throwing some sparql to you, I myself have not really learned its darkest internals yet. | 22:18 |
RST38h | ahhaa | 22:19 |
*** Rizzer has quit IRC | 22:19 | |
RST38h | it is just like sql but for the weird crap | 22:20 |
fiferboy | Venemo: No? | 22:20 |
Venemo | fiferboy, qrc:/qml/harmattan/WorkingSelectionDialog.qml:87: ReferenceError: Can't find variable: modelData | 22:20 |
RST38h | yoooohoooo | 22:21 |
Venemo | fiferboy, either the docs lie... or something is wrong. | 22:21 |
RST38h | it found the files | 22:21 |
*** antman8969 has joined #harmattan | 22:21 | |
javispedro | RST38h: combine with http://blogs.kde.org/node/4340 and you get easy global file list dialogs | 22:21 |
fiferboy | Hmm, I used a string model breifly and I swear that worked | 22:21 |
javispedro | note that I've not done that yet, I'm still on lower level hacking. | 22:22 |
Venemo | fiferboy, hmm | 22:22 |
RST38h | hmmm... ok let us try | 22:22 |
Venemo | fiferboy, did it work with modelData or something else? | 22:22 |
javispedro | RST38h: note that if you use tracker, you need aegis manifest and TrackerReadAccess token | 22:23 |
javispedro | <rant>as the absolurdly coarse grained aegis thinks getting a list of filenames on the eMMC is as dangerous as getting a list of your contacts</rant> | 22:24 |
javispedro | RST38h: another qmltracker example, sorter even: http://git.mymadcat.com/index.php/p/qmltoys/source/tree/master/PictureModel.qml | 22:25 |
Venemo | fiferboy, hmm... works with QStringList but not with QStringListModel | 22:25 |
fiferboy | Venemo: Ah | 22:27 |
Venemo | fiferboy, seems that QStringListModel has an 'edit' role... | 22:27 |
npm | there should be a word for bugs that are found only while taking screenshots of one's ready to release app | 22:27 |
fiferboy | WorkingSelectionDialog is working for me :) | 22:27 |
RST38h | javispedro: trying to figure out what the page will look like | 22:27 |
javispedro | RST38h: probably as you want, that's just the list model. | 22:28 |
RST38h | That is the problem | 22:28 |
javispedro | my knowledge of QML is still flaky, specially the MVC parts. | 22:28 |
Venemo | fiferboy, have a laugh: | 22:29 |
Venemo | text: model.modelData !== undefined ? model.modelData : (model.display !== undefined ? model.display : (model.edit !== undefined ? model.edit : model.name)) | 22:29 |
*** hardaker2 has quit IRC | 22:29 | |
Venemo | this solves all my current possible needs. | 22:29 |
fiferboy | Venemo: !?! | 22:30 |
fiferboy | Nice statement ;) | 22:30 |
Venemo | :P | 22:33 |
*** javispedro has quit IRC | 22:34 | |
fiferboy | Venemo: You should submit a fix to the git source | 22:35 |
Venemo | fiferboy, I couldn't solve the height problem | 22:35 |
Venemo | plus I randomly deleted stuff until it began working | 22:36 |
Venemo | :D | 22:36 |
fiferboy | Very scientific :) | 22:36 |
Venemo | well. if I don't know what something is, then I don't need it. if I delete it and it works, then I really don't need it and leave it deleted. | 22:36 |
fiferboy | Works for me | 22:38 |
Venemo | :D | 22:40 |
*** antman8969 has quit IRC | 22:43 | |
RST38h | qml:Config.qml:3:1: plugin cannot be loaded for module "QtSparql": Cannot load library /usr/lib/qt4/imports/QtSparql/libsparqlresultslist.so: (/usr/lib/qt4/imports/QtSparql/libsparqlresultslist.so: undefined symbol: _ZNK18QSparqlResultsList10metaObjectEv) | 22:43 |
RST38h | javispedro: Here is how that example ends | 22:44 |
fiferboy | I don't see any way to have a SelectionDialog filter the results based on text input :( | 22:44 |
fiferboy | Venemo: I might have to hack that into your selection dialog | 22:44 |
Venemo | fiferboy, well, it can't do that by itself, but you can easily do it with a model. | 22:44 |
fiferboy | Yeah, I do it for other models - but I need a textinput in the dialog (and I guess signal/slot to the filter model) | 22:45 |
Venemo | you will need a bit different dialog for that... hmm... | 22:45 |
lcuk | does everybody in this channel have n950? | 22:46 |
Venemo | 1) add a method to the model that does the filtering | 22:46 |
fiferboy | Yeah, and it would be hard to make it generic with the different model types | 22:46 |
Venemo | 2) add code to the selectiondialog's TextField's onTextChanged that calls this method from the model. | 22:46 |
Venemo | this could solve it easily. | 22:46 |
fiferboy | Yes, that should work | 22:46 |
Venemo | maybe there is a more declarative way... lemme think. | 22:47 |
Venemo | ah! | 22:47 |
Venemo | got it. | 22:47 |
Venemo | fiferboy, you add a string property to the delegate which contains the displayed text, and then in the visible: property of the delegate item check if the displayed text contains the text in the TextField | 22:48 |
Venemo | I might add this to my dialog | 22:48 |
Venemo | reason: if you have 10+ IRC channels open, it might be handy to be able to filter between them | 22:48 |
fiferboy | I did this with my main list view in my program, but the performance is not as good as a filter model | 22:49 |
RST38h | ok, anyone successfully used sparql inside qml? | 22:50 |
Venemo | fiferboy, I sorted out most of my stuff and pushed it. https://gitorious.org/colorful-apps/irc-chatter | 22:51 |
fiferboy | RST38h: I used it but gave up on it quickly | 22:51 |
RST38h | fiferboy: did it load qtsparql plugin for you? | 22:51 |
*** antman8969 has joined #harmattan | 22:52 | |
fiferboy | RST38h: I used it to build a database and table successfully (I think) but it wasn't what I needed | 22:53 |
fiferboy | Venemo: What stage is irc-chatter at? | 22:53 |
fiferboy | Venemo: I'm going to try a build :) | 22:53 |
Venemo | fiferboy, it has a GUI and a model. but no backend. | 22:54 |
Venemo | fiferboy, you can uncomment a line and it can "fake" messages if you happen to want to test the view :P | 22:54 |
fiferboy | Venemo: And no packaging | 22:54 |
Venemo | fiferboy, indeed, why would I want to package it yet? | 22:54 |
Venemo | fiferboy, I don't even use Qt Creator's packaging. | 22:55 |
Venemo | I just run it on the device | 22:55 |
Venemo | it's a lot faster. | 22:55 |
antman8969 | does anyone know how to have a startup service in harmattan? There doesnt seem to be any rcx.d directories | 22:55 |
fiferboy | Oops, son is awake | 22:55 |
fiferboy | Later all | 22:55 |
antman8969 | and update-rc.d doesn't seem to do anything... | 22:56 |
* RST38h is close to giving up on QML altogether | 22:56 | |
lcuk | i am surprised you started in the first place! | 22:56 |
Venemo | RST38h, I feel with you. I felt the same way for the first few days of my QML "career" | 22:57 |
antman8969 | what's there to not like about QML? | 22:58 |
RST38h | lcuk: Well, I have been under impression that QML would help me develop the necessary UI elements quickly | 22:58 |
GAN900 | RST38h, but it's awesome! | 22:58 |
GAN900 | If shittily documented. | 22:58 |
Venemo | fiferboy, ok, your search feature is now implemented. I'll push it soon :) | 22:59 |
RST38h | lcuk: Now I see that it is simply pile of unfinished experimental code that is mostly centered around doing things differently, not on getting things done | 22:59 |
GAN900 | It's hardly that bad. | 22:59 |
RST38h | Nothing works. Elementary things that take a single line of code in Qt take 450 lines of QML. | 23:00 |
fiferboy | Venemo: Sweet! | 23:00 |
RST38h | Examples found on the net do not work, reporting syntactic problems | 23:00 |
antman8969 | RST38h, you are REALLY exagerating | 23:01 |
RST38h | The way to add qrc files is not documented anywhere and is not present in the code | 23:01 |
frals | RST38h: what is it that takes 100+ times more LOC in QML compared to only Qt? :) | 23:01 |
antman8969 | qrc files is not QML specific | 23:01 |
RST38h | antmanL sorry but U am not | 23:01 |
fiferboy | RST38h: those examples don't work on the version we hve, but they do on recent versions | 23:01 |
RST38h | frals: A file selection dialog. | 23:01 |
antman8969 | I'm telling you, I"m using QML also, just like everyone else, and it's not troublesome at all | 23:01 |
hiemanshu | antman8969: try using it with a C++ backend and lot of other stuff | 23:02 |
hiemanshu | it gets cubersome | 23:02 |
RST38h | frals: All I need is a freaking file selection dialog. Can you believe it? | 23:02 |
fiferboy | Implementing my backend in C++ Qt and interface in QML is ideal for me | 23:02 |
frals | RST38h: never had to use one, but I guess its not part of qt-components :< | 23:02 |
antman8969 | I have applications with c++ backends | 23:02 |
Venemo | fiferboy, ok, I've implemented your idea :) | 23:02 |
antman8969 | it works well... | 23:02 |
fiferboy | RST38h: Does MTF have a file dialog? | 23:02 |
frals | hiemanshu: i work on a "pretty big" project with C++ backend hooked up to QML ui, works superb | 23:03 |
RST38h | frals: Right. I am afraid QML designers never felt a need to develop any UIs | 23:03 |
RST38h | fiferboy:it does | 23:03 |
hiemanshu | frals: so I go back to the age old days where I had to write the UI by hand? | 23:03 |
RST38h | frals: they really liked how CSS and JS worked and copied them | 23:03 |
RST38h | frals: but never really considered anyone having to develop UI in this thing | 23:03 |
frals | RST38h: All the buildings blocks to construct a simple file selection dialog should be there, though. | 23:03 |
antman8969 | rst38h, thats just not true | 23:04 |
RST38h | frals: Look I do not need building blocks, I need a dialog | 23:04 |
fiferboy | Venemo: I take it the filtering can be turned on and off by a WorkingSelectionDialog property? | 23:04 |
RST38h | frals:And the dialog takes 450 lines of incomprehensible MVC buulshit | 23:04 |
frals | I've been doing it every day for the last months and not really hit any huge roadblocks | 23:04 |
Venemo | fiferboy, yes. | 23:04 |
fiferboy | Venemo: Perfection! | 23:04 |
fiferboy | Venemo: How does the performance feel? | 23:04 |
Venemo | fiferboy, not bad at all, but I don't have that many items. | 23:04 |
fiferboy | Venemo: I only have ~700 in the list I am thinking of | 23:05 |
Venemo | fiferboy, and I think I know why the "original" one doesn't work. | 23:05 |
Venemo | fiferboy, it calculates the height of the ListView from model.count - but since they now alias model from the ListView (instead of a QML model), its count is often just invalid... | 23:06 |
fiferboy | RST38h: I implemented a basic file browser (fixed to one directory) in <50 QML loc | 23:06 |
RST38h | fiferboy: Source code? | 23:06 |
fiferboy | RST38h: Just expose a model with the file information (from C++) to QML and have a simple dialog | 23:07 |
RST38h | Oh, so you also need to write C++ code just to get dialog working? | 23:07 |
fiferboy | RST38h: Yes | 23:08 |
fiferboy | RST38h: But you don't really care that it take 450 loc in QML, just that you have to do it yourself? | 23:08 |
fiferboy | If it was a built-in component that took 1500 loc and you only had to write one, that is what you want? | 23:09 |
antman8969 | ^^ | 23:09 |
Venemo | fiferboy, okay, I've pushed the new dialog as well. | 23:10 |
RST38h | fiferboy: No. What I really care is a working file selector. | 23:10 |
Venemo | fiferboy, https://gitorious.org/colorful-apps/irc-chatter/blobs/master/qml/harmattan/WorkingSelectionDialog.qml | 23:10 |
RST38h | fiferboy: Right now, the easiest (albeit ugly) path to that is QDialog | 23:10 |
Venemo | fiferboy, try it! I wanna know how well it performs for many items (although I don't have high hopes) | 23:10 |
RST38h | The other options look...intractable | 23:11 |
Venemo | fiferboy, the searchFieldVisible property is what controls it | 23:11 |
fiferboy | Venemo: I will try it out now | 23:12 |
Venemo | fiferboy, do you know how the Keys element works? | 23:12 |
Venemo | Keys.forwardTo: searchField -> this doesn't work. | 23:12 |
*** antman8969 has quit IRC | 23:14 | |
fiferboy | Venemo: gitorious isn't letting me download the blob :/ | 23:15 |
Venemo | fiferboy, I noticed a bug. and also, VKB doesn't open for this TextField.... seems that Nokia never planned that a TextField will be in a dialog... | 23:15 |
fiferboy | Hmmm | 23:16 |
Venemo | meh. | 23:16 |
Venemo | I dunno what I did but it works now. | 23:16 |
frals | I think you should use a Sheet if you are taking VKB input | 23:17 |
Venemo | why it works. | 23:18 |
frals | (not sure what UX guidelines say about dialogs with keyboard input) | 23:18 |
Venemo | the only problem is that in landscape mode the vkb tosses away most of the dialog | 23:18 |
fiferboy | Venemo: And you have to press enter to activate the filter? | 23:19 |
Venemo | fiferboy, nope | 23:20 |
Venemo | fiferboy, but it seems that you have to when you use the VKB... bah. | 23:20 |
fiferboy | Venemo: Hmm, it looks like I did | 23:20 |
fiferboy | Yeah, issue with the VKB | 23:23 |
fiferboy | frals: Speaking of sheets, with components 1.0 the sheet went up to the top of the screen | 23:23 |
fiferboy | In components 1.1 it leaves a gap at the top | 23:23 |
Venemo | fiferboy, you wand the visualParent of the sheet set to a Page | 23:23 |
frals | fiferboy: afaik 1.1 is still very much under development so file a bug or talk to the devs if it seems to misbehave :) | 23:24 |
Venemo | seems that the VKB doesn't trigger a textChanged signal! | 23:25 |
Venemo | this is a serious bug. | 23:25 |
frals | err | 23:27 |
frals | is the word commited? | 23:27 |
frals | ie is it underlined or not? | 23:27 |
Venemo | it is. | 23:27 |
Venemo | underlined, yes | 23:27 |
frals | so its not actually there yet | 23:27 |
Venemo | don't tell me that it commits non-underlined text only | 23:27 |
frals | check err, preEmpt.text or something like that | 23:27 |
frals | space/enter commits the word as well ;) | 23:28 |
Venemo | platformPreedit? | 23:28 |
frals | so if you dont get textChanged after that it sounds like a bug | 23:28 |
Venemo | LoL | 23:28 |
frals | platformPreedit yeah | 23:29 |
frals | or disable error correction in settings | 23:29 |
frals | but my guess is most people are going to use error correction | 23:29 |
Venemo | yep. | 23:29 |
Venemo | the app needs to be accessible for everyone | 23:29 |
Venemo | does preedit contain all the text or just the preedited text? | 23:30 |
frals | think just the word being edited | 23:30 |
frals | but not sure | 23:30 |
*** javispedro has joined #harmattan | 23:30 | |
frals | (would assume only word being edited) | 23:30 |
RST38h | Am I supposed to put "width:parent.width" into every widget???? | 23:30 |
Venemo | I'll check. | 23:30 |
Venemo | RST38h, that, or anchors.fill: parent. | 23:30 |
RST38h | Or is there some universal way to say "fill parent horizontally? | 23:31 |
frals | the universal way would be... width: parent.width, i guess :) | 23:31 |
frals | (or create an item with width: parent.width and use that all the time) | 23:31 |
RST38h | frals: goood idea | 23:33 |
RST38h | frals: how do I derive something from, let us say, a Button? | 23:33 |
fiferboy | Venemo: Turn the predictive text off for the filter field | 23:34 |
frals | create your own QML and start it with Button { and then add stuff | 23:34 |
frals | RST38h: but real inheritance seems to be a bit messy at times | 23:34 |
Venemo | fiferboy, I don't think I can. but I solved the issue with that property. | 23:35 |
fiferboy | Venemo: You can, it is pretty easy actually :) | 23:36 |
RST38h | frals: ok, so if it does not find any files other than the one it has been started with, then I cannot do inheritance? | 23:36 |
Venemo | fiferboy, how? | 23:36 |
frals | RST38h: uh, it doesnt find any files? your application? | 23:37 |
fiferboy | Venemo: inputMethodHints: Qt.ImhNoPredictiveText | 23:37 |
Venemo | fiferboy, okay, I've pushed the fixed and working version. | 23:37 |
frals | RST38h: you could always just define the Button { inside where you want to use it and add stuff directly there | 23:37 |
Venemo | fiferboy, https://gitorious.org/colorful-apps/irc-chatter/blobs/master/qml/harmattan/WorkingSelectionDialog.qml - enjoy! :) | 23:37 |
fiferboy | Within the TextField {} | 23:37 |
Venemo | now I'm going to eat. will be back later | 23:38 |
Venemo | :) | 23:38 |
fiferboy | Venemo: Thanks, I just git pull and copy it now :) | 23:38 |
RST38h | frals: Ok, added stuff directly, 16 times. | 23:38 |
RST38h | frals: Well, the way to add .qrc files from C++ is notdocumented | 23:38 |
frals | RST38h: do you have some code i can look at how you do it currently? | 23:39 |
RST38h | frals: And if I just add a searchable path for qml: resource, it works for C++ SetSource but not for references inside QML | 23:39 |
frals | RST38h: afaik as long as the resource file is included in the .pro file it should "just work"(tm) | 23:39 |
RST38h | frals: No, I have since merged everything into a single QML | 23:39 |
RST38h | frals: I have no .pro file | 23:39 |
RST38h | frals: (at this point you are going to ask me why I am not using QtCreator, please do not) | 23:40 |
frals | RST38h: ok, so not using qmake etc? | 23:40 |
RST38h | no | 23:40 |
RST38h | qmake has a tendency to silently drop source files from depends | 23:40 |
frals | it does? O_o | 23:40 |
RST38h | yes, there is even a bug for it but the trolls are not particularly eager ot fix it | 23:41 |
frals | got a link? | 23:41 |
RST38h | no, sorry | 23:41 |
frals | (never seen/heard about it before) | 23:41 |
RST38h | but you can easiy recreate it | 23:41 |
RST38h | do this: | 23:41 |
RST38h | frals: http://pastie.org/2331537 | 23:43 |
RST38h | frals: make it a .c file, include into project, try building | 23:44 |
RST38h | frals: has to include itself, as you see, but you will also see that inclusion is justified here | 23:44 |
* RST38h wonders how he can host QDeclarativeView inside a QMainWindow without terrible glitches | 23:45 | |
frals | dont have a dev environment here so cant test it, but ill take your word for it | 23:46 |
javispedro | RST38h: regarding the qt-sparql missing symbol: loud *sigh* | 23:46 |
RST38h | Anyway, there does not appear to be a documented way to include .qrc from a plain Makefile/debian project | 23:47 |
RST38h | javispedro: sighing is what I have been doing for the last fewdays | 23:47 |
RST38h | javispedro:I am still using plain Qt for everything | 23:47 |
javispedro | I am really considering giving MTF a go before involving with QML | 23:47 |
javispedro | not because of any bad experience with QML but rather because of good experiences with QGraphicsView.. | 23:48 |
RST38h | javispedro: I tried MTF | 23:48 |
RST38h | javispedro: Totally incompatible with QWidgets. | 23:48 |
javispedro | that's a given | 23:48 |
RST38h | javispedro: Once you go MTF, all your code has to change | 23:48 |
javispedro | you should know something: on Harmattan QWidgets is exactly as deprecated as Gtk+. | 23:49 |
RST38h | Unlike GTK they won't be able to remove QWidgets that easily | 23:49 |
javispedro | basically, the same amount of work or more than would be needed to get Gtk+ is also needed to get QWidgets up to speed | 23:49 |
javispedro | RST38h: they are already removing it. | 23:50 |
RST38h | QWidgets work decently so far | 23:50 |
javispedro | RST38h: no rotation | 23:50 |
RST38h | I do not see how they can remove QWidgets without breaking stuff | 23:50 |
frals | QWidgets dont support the theme iirc | 23:50 |
RST38h | Ah | 23:50 |
javispedro | no title bar | 23:50 |
javispedro | no many things | 23:50 |
javispedro | actually | 23:50 |
javispedro | the things that do no work in QWidgets are exactly the same things that do not work in Gtk+ | 23:50 |
javispedro | and it is not a coincidence. | 23:51 |
RST38h | Oh holy fuck, it does sound like MTF may be the way to go | 23:51 |
*** RzR has quit IRC | 23:52 | |
fiferboy | Venemo: The filter works well for me with >700 items. VKB and KB work well | 23:55 |
fiferboy | I have to go now, though | 23:55 |
lcuk | fiferboy, what is your favourite game? | 23:55 |
lcuk | balls | 23:55 |
fiferboy | lcuk: Favourite game on any platform ever? | 23:57 |
lcuk | yes | 23:57 |
fiferboy | I'd say Neverwinter Nights or Baldur's Gate | 23:57 |
lcuk | cool | 23:58 |
lcuk | how about handheld | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!