frals | your abuse of ; makes my eyes bleed :[ | 00:02 |
---|---|---|
*** GNUton-BNC has quit IRC | 00:05 | |
frals | and wait, what are you expecting to happen | 00:06 |
*** GNUton-BNC has joined #harmattan | 00:06 | |
frals | all the delegates are going to look the same there | 00:06 |
frals | with projectName/projectDescription/app-gluon.png | 00:06 |
*** zarlino has quit IRC | 00:13 | |
frals | i guess he added me to ignore list after the last time i mentioned aegis, though.. oh well | 00:16 |
cos^ | phew.. finally submitted an app to ovi store. | 00:17 |
*** vladest has quit IRC | 00:26 | |
*** vladest has joined #harmattan | 00:27 | |
*** zarlino has joined #harmattan | 00:31 | |
*** vladest_ has joined #harmattan | 00:33 | |
*** vladest has quit IRC | 00:34 | |
*** vladest_ is now known as vladest | 00:34 | |
*** zarlino has quit IRC | 00:40 | |
*** trx has quit IRC | 01:07 | |
*** dymaxion has quit IRC | 01:08 | |
*** trx has joined #harmattan | 01:14 | |
*** b3ll has quit IRC | 01:30 | |
*** bjv has left #harmattan | 01:30 | |
djszapi | is it expected if the Status bar at the top covers the top part of my ListView without setting margins explicitely ? | 01:33 |
*** Crnkoj has joined #harmattan | 01:35 | |
*** niqt has quit IRC | 01:52 | |
*** Venemo has quit IRC | 01:56 | |
*** wazd has quit IRC | 01:57 | |
*** heeeegua_ has joined #harmattan | 01:57 | |
*** heeeegua__ has quit IRC | 02:00 | |
*** b3ll has joined #harmattan | 02:02 | |
*** heeeegua__ has joined #harmattan | 02:04 | |
*** heeeegua_ has quit IRC | 02:06 | |
*** zk8 has joined #harmattan | 02:08 | |
*** rcg1 has quit IRC | 02:11 | |
*** zk8 has left #harmattan | 02:13 | |
artemma | Who knows how to turn on showing clock on the lock screen? | 02:15 |
artemma | I see it on YouTube videos, but can't find setting for it | 02:15 |
artemma | when I lock screen, it is just black | 02:15 |
*** Natunen has quit IRC | 02:16 | |
*** Crnkoj has quit IRC | 02:17 | |
*** crevetor has joined #harmattan | 02:27 | |
corecode | hi | 02:30 |
SpeedEvil | hi | 02:31 |
corecode | any idea what part of the system implements the services in contacts/phone | 02:31 |
corecode | like sip, skype, gmail | 02:31 |
*** arcean has quit IRC | 02:33 | |
*** NIN101 has quit IRC | 02:35 | |
*** b3ll has quit IRC | 02:41 | |
DocScrutinizer | probably telepathy | 02:46 |
DocScrutinizer | plus rtcom-* | 02:46 |
DocScrutinizer | (just handwaving) | 02:46 |
*** b3ll has joined #harmattan | 02:48 | |
b3ll | npm: you available? | 03:17 |
*** hardaker2 has quit IRC | 03:18 | |
*** b3ll has quit IRC | 03:22 | |
npm | for some value of available. | 03:23 |
npm | go easy i have a fever and a cold and am semi-delirious | 03:23 |
npm | bleh i think i forgot to eat | 03:26 |
npm | must feed | 03:27 |
*** bindi has joined #harmattan | 04:00 | |
*** wicket64 has quit IRC | 04:18 | |
*** M4rtinK has quit IRC | 04:18 | |
*** Arkenoi has quit IRC | 04:24 | |
*** Arkenoi_ is now known as Arkenoi | 04:24 | |
*** ArkanoiD_ has joined #harmattan | 04:24 | |
*** b3ll has joined #harmattan | 04:27 | |
*** ArkanoiD_ has quit IRC | 04:37 | |
*** b3ll has quit IRC | 04:45 | |
*** ArkanoiD_ has joined #harmattan | 04:49 | |
*** Smith has joined #harmattan | 05:02 | |
*** b3ll has joined #harmattan | 05:16 | |
*** Evgeniy has joined #harmattan | 05:41 | |
*** Smith has quit IRC | 05:42 | |
*** crevetor has quit IRC | 05:47 | |
*** b3ll has quit IRC | 05:56 | |
*** b3ll has joined #harmattan | 06:07 | |
*** b3ll has quit IRC | 06:11 | |
djszapi | corecode: mostly telepathy backends | 06:19 |
*** Smith has joined #harmattan | 06:31 | |
*** Evgeniy has quit IRC | 06:31 | |
*** b3ll has joined #harmattan | 06:35 | |
*** Natunen has joined #harmattan | 06:37 | |
*** artemma_ has joined #harmattan | 06:38 | |
*** artemma has quit IRC | 06:39 | |
*** artemma_ is now known as artemma | 06:39 | |
*** hardaker2 has joined #harmattan | 06:50 | |
*** Smith has quit IRC | 06:59 | |
*** Stecchino_ has joined #harmattan | 07:19 | |
*** dymaxion has joined #harmattan | 07:21 | |
*** Stecchino has quit IRC | 07:21 | |
*** DocScrutinizer has quit IRC | 07:22 | |
*** DocScrutinizer has joined #harmattan | 07:22 | |
*** Smith has joined #harmattan | 07:29 | |
*** heeeegua_ has joined #harmattan | 08:22 | |
*** heeeegua__ has quit IRC | 08:26 | |
*** chpwn has joined #harmattan | 08:27 | |
*** chpwn has left #harmattan | 08:27 | |
*** hardaker2 has quit IRC | 08:45 | |
*** oscoder has joined #harmattan | 09:19 | |
*** messerting has joined #harmattan | 09:42 | |
*** fuz_ has quit IRC | 10:00 | |
*** dymaxion has quit IRC | 10:04 | |
*** psycho_oreos has quit IRC | 10:04 | |
*** fuz_ has joined #harmattan | 10:06 | |
*** BluesLee has joined #harmattan | 10:12 | |
*** BluesLee has quit IRC | 10:17 | |
*** psycho_oreos has joined #harmattan | 10:19 | |
*** wazd has joined #harmattan | 10:25 | |
*** dymaxion has joined #harmattan | 10:25 | |
*** zk8 has joined #harmattan | 10:59 | |
*** hatake_kakashi has joined #harmattan | 11:02 | |
*** psycho_oreos has quit IRC | 11:05 | |
*** zk8 has left #harmattan | 11:06 | |
*** vladest has quit IRC | 11:08 | |
corecode | hi | 11:19 |
corecode | ok, i think i didn't ask the right question | 11:20 |
corecode | any idea what part of the system implements the *display* of services like skype, sip, gmail? those blocks that are below the "services" divider in the contact. I think telepathy is the backend, but what hooks does the contact manager use to show these things? | 11:22 |
corecode | I'd like to enable xmpp for my xmpp server, like it supposedly works for gmail | 11:22 |
*** rcg1 has joined #harmattan | 11:23 | |
djszapi | huh ? MTF and QML | 11:23 |
djszapi | accounts ui plugin and all that jazz | 11:23 |
corecode | yes, that | 11:32 |
corecode | where can i find that? | 11:32 |
corecode | also, my meego-sb-session start doesn't show anything in xephyr :/ | 11:32 |
djszapi | find what ? | 11:32 |
corecode | accounts ui plugin | 11:32 |
djszapi | I am not sure what you mean... | 11:33 |
corecode | 10:23:58 < djszapi> accounts ui plugin and all that jazz | 11:33 |
djszapi | if you look for how to write account ui plugins, that is not documented decently, and you might need to read the code | 11:33 |
corecode | ok | 11:33 |
corecode | no worries | 11:33 |
djszapi | anyway, apt-get source matter as usual | 11:34 |
corecode | i just want to hack the existing gmail plugin to work for other xmpp servers | 11:34 |
djszapi | will not really work | 11:34 |
corecode | why? | 11:34 |
djszapi | I would write a completely new plugin... | 11:34 |
djszapi | because it is a golden rule on Harmattan, do not touch the system components | 11:34 |
corecode | ah, sure | 11:35 |
corecode | i'm just trying to understand the components | 11:35 |
corecode | but so far i can't get the desktop showing in xephyr | 11:35 |
djszapi | why would you want that ? | 11:35 |
corecode | well, the home screen | 11:36 |
djszapi | why would you want that ? | 11:36 |
corecode | to set up a development environment | 11:36 |
djszapi | why not test on the device ? | 11:36 |
corecode | of cousre | 11:36 |
corecode | after i'm done testing in scratchbox | 11:37 |
djszapi | thatis a bad workflow, but you are entitled to do that | 11:37 |
*** vladest has joined #harmattan | 11:37 | |
corecode | what would be the right workflow? | 11:38 |
djszapi | 11:36 < djszapi> why not test on the device ? | 11:38 |
corecode | the harmattan docs talk about installing the sdk | 11:38 |
corecode | http://harmattan-dev.nokia.com/docs/library/html/guide/html/Developer_Library_Alternative_development_environments_Platform_SDK_user_guide_Using_Harmattan_Platform_SDK.html | 11:39 |
djszapi | I am saying, that is a bad workflow. | 11:39 |
djszapi | you need to test it on the device anyway | 11:39 |
corecode | so nokia is telling me to use a bad workflow? | 11:39 |
corecode | hm. | 11:39 |
*** zarlino has joined #harmattan | 11:39 | |
petteri | with qtsdk you can easily deploy to n9 | 11:40 |
djszapi | no, Nokia writes all the possibilities | 11:40 |
djszapi | that is good if you do not have a device... | 11:40 |
djszapi | Nokia writes everything good, you evaluate the docs wrong :) | 11:40 |
corecode | you can use Harmattan Platform SDK to develop native applications and system-level components for Harmattan. It is most suitable for developing platform components and features, | 11:41 |
corecode | that's what they say | 11:41 |
corecode | but that's besides the point | 11:42 |
corecode | i'd just like to get the screen in xephyr to work | 11:42 |
djszapi | why | 11:42 |
corecode | are you eliza? | 11:42 |
corecode | just to get it to work on my machine | 11:42 |
djszapi | why | 11:43 |
corecode | just assume that i don't have a n9 | 11:43 |
petteri | qtsdk has also this simulator, which is quite easy to use | 11:43 |
djszapi | you do not have adevice ? | 11:43 |
corecode | petteri: with all system components in there? | 11:43 |
* djszapi fails to see what this discussion about | 11:43 | |
corecode | djszapi: there is no discussion, except for you saying "why" | 11:44 |
djszapi | please use the community wikipage with experiences | 11:44 |
corecode | harmattan platform sdk doesn't display the home screen in xephyr. i'd like to fix it | 11:44 |
djszapi | this is not how we develop applications | 11:44 |
petteri | corecode: don't know. I just did app with qml and it worked fine, there are buttons to emulate, gps, calls, etc, but did not use them | 11:44 |
djszapi | you are entitled to this bad workflow, but do not expect too much help | 11:44 |
*** zarlino has quit IRC | 11:44 | |
petteri | i have also scratxbox setup on my machine, but it is much more harder to setup and update than the qtsdk, which just worked out of the installation | 11:45 |
djszapi | people use qtcreator for deploying or just modify the qml giles on the device directly. | 11:45 |
corecode | yea, i'm not trying to develop an application | 11:45 |
corecode | petteri: i see | 11:45 |
corecode | petteri: did scratchbox with xephyr ever work for you? | 11:45 |
* djszapi fails to see why one need xephyr if he does not develop application... | 11:45 | |
petteri | corecode: yes, running 64bit debian here | 11:46 |
djszapi | needs* | 11:46 |
petteri | it does not work on arm target | 11:46 |
corecode | petteri: ok | 11:46 |
corecode | petteri: and you just run meego-sb-session start and it works? | 11:46 |
petteri | corecode: hmmm.. not sure, i did what the tutorial told me, but i remmeber that there were couple of issues | 11:48 |
petteri | it has been some months since i used it. I am using the qtsdk as it so much easier | 11:49 |
corecode | ok | 11:50 |
corecode | ok, downloading the qt sdk | 11:55 |
*** vladest has quit IRC | 11:58 | |
*** leinir has joined #harmattan | 12:01 | |
*** leinir has joined #harmattan | 12:01 | |
*** Smith has quit IRC | 12:15 | |
djszapi | is it a good practice to register all the pages in the main.qml with identifiers so that they can be referenced from any page to the pageStack.push method ? | 12:27 |
djszapi | or shall I just load a page from a file, and leave the main.qml cleaner ? | 12:27 |
*** leinir has quit IRC | 12:41 | |
djszapi | ok, I chose the loading from the resource file. | 12:50 |
*** Smith has joined #harmattan | 12:52 | |
*** zarlino has joined #harmattan | 12:55 | |
*** M4rtinK has joined #harmattan | 13:02 | |
*** messerting has quit IRC | 13:05 | |
*** vladest has joined #harmattan | 13:06 | |
*** Natunen has quit IRC | 13:18 | |
*** trx has quit IRC | 13:21 | |
*** Smith has quit IRC | 13:21 | |
*** natunen has joined #harmattan | 13:22 | |
*** trx has joined #harmattan | 13:26 | |
*** zz_gri is now known as gri | 13:41 | |
*** zarlino has quit IRC | 13:45 | |
*** hatake_kakashi has quit IRC | 13:55 | |
*** piggz_ has quit IRC | 14:14 | |
djszapi | M4rtinK: o/ | 14:17 |
djszapi | M4rtinK: do you have experience with Cairo ? | 14:18 |
*** cougar has joined #harmattan | 14:18 | |
*** cougar has quit IRC | 14:20 | |
*** piggz_ has joined #harmattan | 14:22 | |
M4rtinK | djszapi: I'm using to to draw the GUI in current modRana incarnation | 14:33 |
djszapi | I was just wondering about an inkscape-like tool based on Qt. | 14:35 |
djszapi | and iirc inkscape uses cairo for rendering. | 14:36 |
*** Arkenoi has quit IRC | 14:39 | |
M4rtinK | well, Cairo is pretty nice to use IMO | 14:48 |
djszapi | I would use QtSvg probably. | 14:49 |
M4rtinK | the only problem I have with it at the moment is, that its not compatible with Qt :) | 14:49 |
djszapi | whois not compatible with qt is an antagonist ;-) | 14:50 |
M4rtinK | thinks like draw an icon/marker/etc with Cairo and place it on an QML or QGRaphicsView item :) | 14:50 |
djszapi | M4rtinK: sounds like a corner-case, right ? ;) | 14:51 |
M4rtinK | this would spare quite some time when doing a Qt based GUI for modRana :) | 14:52 |
M4rtinK | well, yeah but would be nice if it worked | 14:52 |
djszapi | :))) | 14:52 |
M4rtinK | towards 2D drawing compatibility ! :D lets use QPainter in GTK and Cairo in Qt :) | 14:53 |
djszapi | not sober, right ? :) | 14:54 |
djszapi | https://build.pub.meego.com/package/live_build_log?arch=armv7el&package=gtk-fremantle&project=home%3Arzr%3Aharmattan&repository=MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard -> gtk-fremantle is still dodgy | 14:55 |
M4rtinK | hmm, still that same old immodules error | 14:56 |
djszapi | I wonder why I am getting math errors...I need to add -lm explicitely everywhere. | 14:56 |
djszapi | on c-obs only | 14:56 |
*** fuz_ has quit IRC | 14:57 | |
djszapi | like: https://build.pub.meego.com/package/live_build_log?arch=armv7el&package=redland&project=home%3Arzr%3Aharmattan&repository=MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard and https://build.pub.meego.com/package/live_build_log?arch=armv7el&package=rasqal&project=home%3Arzr%3Aharmattan&repository=MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard | 14:57 |
djszapi | X-Fade: got a clue ? | 14:57 |
*** fuz_ has joined #harmattan | 15:02 | |
*** attah has joined #harmattan | 15:04 | |
*** oscoder has quit IRC | 15:10 | |
attah | Hi guys.. I'm rather new to this so bare with me.. My problem is that apparently I'm to dumb to get gstreamer working in an app. Eventually i'd like to play rtmp streams.. but for now i just want to play a video. | 15:15 |
attah | Anyone that has done this? | 15:15 |
*** piggz_ has quit IRC | 15:16 | |
djszapi | you can use the builtin, or smplayer from the community repository as far as I can see. If you are interested in the details, look at the smplayer source code. | 15:17 |
attah | the builtin gstreamer? that's what i'm trying.. thanks, i'll have a look at smplayer | 15:21 |
djszapi | mplayer2 is also available for Harmattan | 15:22 |
djszapi | but it uses ffmpeg though | 15:23 |
attah | okay.. well i tried pipeing rtmpdump to mplayer.. that kinda worked.. hmm.. | 15:26 |
*** zarlino has joined #harmattan | 15:27 | |
*** Ans5i has joined #harmattan | 15:31 | |
SpeedEvil | IIRC mplayer can do rtmp urls | 15:39 |
SpeedEvil | Or am I uimagining stuff | 15:39 |
*** zarlino has quit IRC | 15:41 | |
attah | yeah with the proper plugins enabled.. mine can't however | 15:41 |
djszapi | you did not give any error description yet, right ? :) | 15:41 |
attah | not really :P | 15:42 |
attah | i'm pursuing two things atm.. but i'd like to shift focus from rtmp to getting gstreamer running in my project.. as per http://harmattan-dev.nokia.com/docs/library/html/guide/html/Developer_Library_Best_practices_for_application_development_Using_GStreamer.html | 15:43 |
attah | now it actually does compile.. but i can't seem to add a source.. so that's my problem | 15:44 |
djszapi | any idea for getting "green" icons on the appgrid after installing my package ? | 15:47 |
djszapi | it worked fine before doing the icon with javispedro's generator. | 15:48 |
attah | i got the same bug with an appified webpage.. no idea on solution though | 15:49 |
*** V13 has joined #harmattan | 15:52 | |
V13 | ro | 15:52 |
corecode | hi | 15:53 |
V13 | I'm starting working with QML and I've a Q: How do you declare a rectangle to be full height ? | 15:53 |
corecode | i'm getting "mass storage in use" when connecting the usb cable | 15:53 |
corecode | any idea what that could be? | 15:53 |
V13 | corecode: something is using MyDocs most probably | 15:53 |
V13 | do you have any open apps ? | 15:53 |
corecode | nope | 15:54 |
V13 | open a terminal | 15:54 |
V13 | su to root | 15:54 |
V13 | and run fuser -m /home/user/MyDocs | 15:54 |
V13 | it should list a number of pids | 15:54 |
V13 | (it's harmless) | 15:55 |
djszapi | V13: anchors.fill: parent | 15:55 |
*** V13 has left #harmattan | 15:55 | |
*** V13 has joined #harmattan | 15:55 | |
djszapi | or height: parent.height; | 15:55 |
V13 | wait... codered: n900 or n950 ? | 15:55 |
corecode | n9 | 15:55 |
V13 | djszapi: with or without height ? | 15:55 |
djszapi | V13: sorry ? | 15:56 |
V13 | djszapi: Rectangle { anchors.fill: parent width:50 height:90 } ? | 15:56 |
djszapi | uhh that is wrong... | 15:56 |
djszapi | Rectangle { height: parent.height; } for instance | 15:57 |
V13 | djszapi: Rectangle { anchors.fill: parent width:50 height:90 } ? | 15:57 |
djszapi | if you just need the full height | 15:57 |
*** Venemo has joined #harmattan | 15:57 | |
djszapi | uhh that is wrong... | 15:57 |
V13 | Unable to assign undefined value | 15:57 |
corecode | nothing on MyDocs | 15:57 |
Venemo | good afternoon everyone :) | 15:57 |
djszapi | hi Sir Venemo ! :) | 15:57 |
Venemo | hey Sir Djszapi! :) | 15:58 |
djszapi | Venemo: I solved my role issue :) | 15:58 |
Venemo | djszapi, what was the problem? | 15:58 |
djszapi | Venemo: very deep backend issue... | 15:58 |
corecode | can't umount /home/user/MyDocs: invalid argument | 15:58 |
* V13 doesn't like qml | 15:58 | |
corecode | what's going on? | 15:58 |
djszapi | we rewrote the gluon description language parser | 15:58 |
Venemo | djszapi, hmmm. then why did it work on other platforms? | 15:58 |
djszapi | Venemo: because the other platform had the new commits from master | 15:58 |
djszapi | 1-2 new commits that fixed it | 15:59 |
Venemo | djszapi, aaaawwww | 15:59 |
frals | V13: if you use anchors.fill: parent it will fill the parent and ignore width and height, also you are missing a ; after anchors.fill: parent on that line | 15:59 |
* djszapi does not like QML yet either... | 15:59 | |
corecode | ah now it worked? | 15:59 |
corecode | funny | 15:59 |
V13 | frals: I'm doing this on different lines, so ; is not needed (right?). However, anchors.fill does what exactly? How does it know to only fill the height ? | 15:59 |
frals | V13: it will fill both width and height | 16:00 |
*** zarlino has joined #harmattan | 16:00 | |
djszapi | V13, you need... | 16:00 |
frals | V13: and yeah, not needed if different lines | 16:00 |
djszapi | and it does not fill just the height... | 16:00 |
djszapi | why not do what I said ? | 16:00 |
frals | V13: to get only height use height: parent.height | 16:00 |
V13 | doesn't work | 16:01 |
V13 | none of them | 16:01 |
V13 | Rectangle { color: "red"; width: 100; anchors.fill: parent } | 16:01 |
V13 | I do this... nothing appears on screen | 16:01 |
djszapi | completely wrong | 16:01 |
frals | show the full qml file please | 16:01 |
djszapi | everything, but height | 16:01 |
V13 | just this and an "import Qt 4.7" | 16:01 |
djszapi | meh | 16:01 |
frals | well if its your "base" item you need to set width and height for it | 16:01 |
frals | i guess | 16:01 |
V13 | don't get it | 16:02 |
djszapi | V13: you normally do it from main.cpp by calling showFullScreen() | 16:02 |
djszapi | and using PageStackWindow on Harmattan | 16:02 |
V13 | ok.. here's from the start.. i want to port an app from meego to harmattan.. and QWidget is not supported as far as I can see.. so i'm going to use qml. | 16:02 |
djszapi | but for pure QML, you need to set the size | 16:02 |
djszapi | whatever the resolution of the gadget is | 16:02 |
V13 | and I'm trying to create one rectangle with full height and width (e.g.) 50px | 16:02 |
djszapi | V13: wrong, QWidget is done | 16:03 |
V13 | done ? | 16:03 |
djszapi | it is not unsupported | 16:03 |
*** zarlino has quit IRC | 16:03 | |
V13 | that's what I read somewhere I believe. | 16:03 |
V13 | maybe it was old page... or i read wrong | 16:03 |
djszapi | V13: in any case, meanwhile it is highly discouraged, you need to figure out the resolution and set that | 16:03 |
frals | V13: if its the only thing you are showing you need to set height: 854 for the rectangle then | 16:04 |
V13 | and how will the be adjusted when rotating to portrait or landscape ? | 16:04 |
V13 | the==this | 16:04 |
frals | if you use plain qml, it wont | 16:04 |
V13 | and what should I use ? | 16:04 |
frals | i suggest you take a look at qt-components | 16:04 |
*** Smtih has joined #harmattan | 16:04 | |
djszapi | V13: that is what I have said above :) | 16:05 |
frals | V13: http://harmattan-dev.nokia.com/docs/library/html/qt-components/qt-components-meego-pagestackwindow.html?tab=0 | 16:05 |
djszapi | main.cpp and then PageStackWindow prolly. | 16:05 |
djszapi | V13 please read the landing page in the topic | 16:05 |
djszapi | there are links there to the harmattan components | 16:05 |
* V13 hopped that porting from maemo to harmattan would be easier with qt... | 16:06 | |
djszapi | it is quite easy | 16:06 |
frals | V13: this is more about porting from QWidget to QML, though ;) | 16:06 |
V13 | I'd like to keep the qwidget approach | 16:06 |
djszapi | :D :D :D | 16:06 |
V13 | however I get a white background (!) | 16:06 |
frals | qwidgets look like shit on harmattan though, but it should run | 16:06 |
V13 | while getting the color from the current style | 16:07 |
V13 | exactly | 16:07 |
V13 | so it's crap :) | 16:07 |
V13 | AFAIU it needs a full rewrite | 16:07 |
djszapi | just the Ui | 16:07 |
V13 | wrt the gui | 16:07 |
djszapi | and it is pretty easy to make something work in qml apart from the pre-matureness | 16:07 |
V13 | pre-matureness ? | 16:07 |
djszapi | so please start reading the landing page :) | 16:08 |
V13 | the d.n.c ? | 16:08 |
V13 | lib.d.n.c ? | 16:08 |
djszapi | write this: /topic, and then read. | 16:08 |
V13 | oh sort.. the landing page after that :) | 16:08 |
V13 | I will.. | 16:08 |
rcg1 | well.. there are some guides that explain how to use qwidget based classes in qml | 16:08 |
V13 | thanks for the tips | 16:08 |
rcg1 | i actually do this in VUMeter | 16:08 |
djszapi | yes, it is also documented starting from the landing page :) | 16:09 |
rcg1 | essentially, you need to write some adapter classes and make your "custom widgets" known to qml | 16:09 |
rcg1 | hehe aye :) | 16:09 |
djszapi | rcg1: btw, I found my nice workflow for Ui dev | 16:09 |
rcg1 | djszapi: ah cool.. what's that workflow? | 16:09 |
djszapi | rcg: I am in the build directory of my project on the host, so I can test any changes against the modifications, and then just simply scp ../file/to/qml/files/*.qml root@192.168.2.15:/opt/gluon/qml | 16:10 |
djszapi | and launch | 16:10 |
rcg1 | aye.. sounds sensible | 16:12 |
M4rtinK | rcg1: BTW I made a simple rsync based script for similar purpose, might be useful for larger projects: http://wiki.meego.com/RsyncAndRunShellScript :) | 16:13 |
djszapi | M4rtinK: will it also grab the binaries ? That would be nasty ;) | 16:14 |
M4rtinK | everything in the source folder :) | 16:14 |
M4rtinK | well, everything that changed since last sync | 16:15 |
rcg1 | hehe .. i cannot claim that my projects are pretty big... in fact most are quite tiny. but for bigger stuff that might be a good alternative as well :) | 16:15 |
M4rtinK | and it will nuke any local on device changes | 16:15 |
djszapi | M4rtinK: that is not gonna work on Harmattan... | 16:15 |
djszapi | since you cannot run unsigned binaries, and if it nukes the working packaged one... | 16:15 |
djszapi | not packaged binaries* | 16:16 |
M4rtinK | well, I use Python so its a non-issue for me :) | 16:16 |
djszapi | lol xD | 16:16 |
M4rtinK | and if you configure the path just to the QML directory, it should work for packaged apps without issues :) | 16:17 |
M4rtinK | but just for QML, SCP is probably enough :) | 16:18 |
djszapi | indeed | 16:19 |
*** zarlino has joined #harmattan | 16:20 | |
* djszapi misses the scratchbox development for Android | 16:21 | |
attah | btw.. if i'd want to get my hands on pr1.1, is there any way i could make my phone find the ota update faster? | 16:22 |
Venemo | attah, just reflash | 16:22 |
attah | won't that mean i have to reinstall apps and reconfigure the settings? ;( | 16:23 |
*** usakc has joined #harmattan | 16:26 | |
*** piggz_ has joined #harmattan | 16:28 | |
usakc | Hello can anybody help me how to lock Qt widget app rotation to portrait? | 16:30 |
* V13 wonders if qml inherits anything from qtdesigner | 16:31 | |
*** zarlino has quit IRC | 16:32 | |
*** xmlich02 has quit IRC | 16:34 | |
*** xmlich02 has joined #harmattan | 16:37 | |
djszapi | M4rtinK: ping | 16:42 |
djszapi | do you have any ideas why we do need recently to use "-lm" explicitely only on the community obs ? | 16:42 |
Corsac | because libpng dropped it from its pkconfig | 16:44 |
djszapi | really ? | 16:44 |
djszapi | I do not think it has anything to do with that | 16:44 |
djszapi | it is a linker option, and I probably have the same libpng then in sb, too | 16:44 |
djszapi | and it works there. | 16:44 |
Corsac | check that, at least | 16:46 |
djszapi | check what ? | 16:47 |
Corsac | a lot of project never use -lm in linker flags when still using stuff from libmath because they inherited if from libpng | 16:47 |
Corsac | now libpng doesn't do it anymore | 16:47 |
djszapi | inheriting linker flag option, sorry ? | 16:47 |
Corsac | and it'll fail (especially if using -z,defs and/or --as-needed) | 16:47 |
Corsac | yes | 16:47 |
*** piggz_ has quit IRC | 16:48 | |
djszapi | how, I am not aware of this stuff ? Could you please ellaborate ? | 16:49 |
djszapi | also, could you please ellaborate why it works on all major distributions, and in sb, but c-obs ? | 16:50 |
Venemo | usakc, port it to Qt Components | 16:50 |
Corsac | maybe check if c-obs uses the exact same version of libpng, and check the linker flags | 16:50 |
Corsac | djszapi: I have no idea if it is that, but I did have some issues with that back in time | 16:50 |
djszapi | yes, of course it uses the same Nokia repository | 16:50 |
Corsac | just trying to help | 16:50 |
djszapi | otherwise I would be useless | 16:50 |
Corsac | can you paste the content of /usr/lib/pkgconfig/libpng12.pc on the various testbeds? | 16:51 |
djszapi | cat /usr/lib/pkgconfig/libpng12.pc | 16:51 |
djszapi | cat: can't open '/usr/lib/pkgconfig/libpng12.pc': No such file or directory | 16:51 |
djszapi | this is in sb: http://paste.kde.org/151706/ | 16:52 |
Corsac | well, try to find the relevant file :) | 16:52 |
Corsac | ok so in sb it does have the -lm in Libs.private (meaning it won't be inherited). | 16:53 |
djszapi | http://harmattan-dev.nokia.com/pool/harmattan-beta3/free/libp/libpng/ -> I have this version in sb | 16:53 |
djszapi | yes, and it works in sb oob | 16:53 |
Corsac | by the way, is your problem that -lm is not passed while it was passed before, or that it wasn't needed before? | 16:54 |
djszapi | first | 16:54 |
djszapi | it is like for zillion packages nowadays | 16:55 |
Corsac | so that definitely looks like the same kind of thing than libpng (-lm passed from Libs to Libs.private) | 16:56 |
Corsac | maybe it's another lib | 16:57 |
Corsac | note that if you use math stuff, you should link with lm anyway | 16:57 |
djszapi | debian's been working for ages without that | 16:58 |
Corsac | djszapi: http://mail.gnome.org/archives/desktop-devel-list/2011-August/msg00236.html | 16:58 |
Corsac | (sorry it took me so long to find the mail) | 16:58 |
Corsac | the fact that it was working was just good luck | 16:59 |
*** kinncj has joined #harmattan | 16:59 | |
Corsac | it's bad to rely on such assumptions | 16:59 |
djszapi | Corsac: it breaks at least 10-20 softwares so far | 17:02 |
djszapi | just for me, one person...Also, it does not still explain why it works in sb | 17:02 |
Corsac | can you paste the build logs? | 17:03 |
djszapi | see above | 17:04 |
*** zarlino has joined #harmattan | 17:04 | |
Corsac | hmhm, sorry, I fail to see them, maybe you pasted it before we started? | 17:05 |
djszapi | http://mg.pov.lt/harmattan-irclog/latest.log.html#t2011-11-27T14:56:48 | 17:06 |
Corsac | and some “working” ones? | 17:08 |
djszapi | there are no working ones | 17:08 |
Corsac | even in sb? | 17:09 |
Corsac | I though you said it was working there | 17:09 |
djszapi | yes, just grab those packages, and try in sb | 17:10 |
Corsac | I don't have sb | 17:10 |
djszapi | then wait, when I get some worker free :) | 17:10 |
djszapi | until* | 17:10 |
usakc | is the way to do it with only c++ and QT? thanks | 17:11 |
Corsac | gcc options look fine to me, maybe gcc is a wrapper which pass some --as-needed (or -z,defs, I don't remember which one was the issue) | 17:11 |
Corsac | djszapi: can you point me to the .dsc though? | 17:11 |
djszapi | Corsac: so how did you solve this issue ? By using -lm in rules file ? | 17:11 |
djszapi | well, the dsc is there. | 17:11 |
Corsac | ha https://build.pub.meego.com/package/view_file?file=redland_1.0.13-3.dsc&package=redland&project=home%3Arzr%3Aharmattan&srcmd5=6054b6f931cd957c798e8b42df9388a6 ? | 17:12 |
Corsac | djszapi: no, this is an upstream problem | 17:12 |
djszapi | Corsac: we cannot wait for upstream to fix and release... | 17:12 |
Corsac | then make a patch? | 17:12 |
djszapi | yw for doing that | 17:13 |
Corsac | fuck, OBS links won't work in dget | 17:13 |
*** adlan has joined #harmattan | 17:14 | |
djszapi | anybody having experience with setting up a debian repository ? | 17:15 |
Corsac | I usually use apt-ftparchive packages . |gzip > Packages.gz | 17:16 |
Corsac | for very simple repositories | 17:16 |
kinncj | anybody here know how to compile some C files directly in harmattan? i have not gcc in mines, how to put it? | 17:18 |
*** Venemo has quit IRC | 17:18 | |
kinncj | mine* | 17:19 |
*** xmlich02 has quit IRC | 17:19 | |
*** zarlino has quit IRC | 17:20 | |
djszapi | sorry ? Just install gcc... | 17:21 |
djszapi | Corsac: mmm, the repository guide writes dpkg-scanpackages | 17:21 |
*** NIN101 has joined #harmattan | 17:21 | |
kinncj | i cant...when i type apt-get install gcc... it do not find gcc to install | 17:22 |
kinncj | do you know any .deb package ? | 17:22 |
kinncj | or a repository with this? | 17:23 |
usakc | Does anybody know if this works http://harmattan-dev.nokia.com/docs/library/html/guide/html/Developer_Library_Developing_for_Harmattan_Controlling_rotation_Example_of_rotating_a_web_application_manually.html ? I haven't got meego device so i can't test it. Thanks | 17:25 |
djszapi | kinncj: use the comm repo | 17:27 |
kinncj | Could i talk to you in pvt djszapi ? | 17:28 |
*** zarlino has joined #harmattan | 17:29 | |
djszapi | kinncj: is it a secret ? :) | 17:30 |
kinncj | @meego forum it's uses zypper... don't appear to be a deb repository | 17:30 |
kinncj | djszapi, no, not secret :) | 17:30 |
djszapi | echo 'deb http://repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard/ ./' >>/etc/apt/sources.list.d/nicks.list | 17:30 |
*** zarlino has quit IRC | 17:32 | |
kinncj | performing an update | 17:33 |
kinncj | apt-get update working! thanks! | 17:33 |
djszapi | can someone give a try to my freshly created harmattan repository ? | 17:35 |
kinncj | djszapi, after i compile php5.4 and php-qt, i'll build a .deb package... so, can you re-distribute thisat your repository? | 17:36 |
djszapi | nope | 17:36 |
djszapi | "my" repository is for KDE only. | 17:36 |
kinncj | php-qt | 17:37 |
kinncj | ? | 17:37 |
djszapi | huh ? | 17:37 |
kinncj | E: Package gcc has no installation candidate | 17:37 |
djszapi | http://harmattan-dev.nokia.com/pool/harmattan-beta3/free/g/gcc-4.4/ -> why not, it is there ? | 17:38 |
djszapi | deb http://harmattan-dev.nokia.com/ harmattan/sdk free non-free | 17:38 |
hiemanshu | usakc: you can test it Qt Simulator, there is a N9 target in the simulator to test stuff | 17:39 |
hiemanshu | +in | 17:39 |
kinncj | now downloading ;) | 17:40 |
usakc | Yes i know but simulator hasn't X server. | 17:42 |
kinncj | djszapi, the php-qt project is like python-qt... the idea is provide PHP developers to made Qt applications programming in PHP language... and when they are happy with Qt, maybe they will develop in c++... so, php-qt is a qt application. | 17:42 |
djszapi | echo 'deb http://http://files.kde.org/maemo/ ./' >>/etc/apt/sources.list.d/nicks.list -> Could someone test this repository please ? | 17:42 |
*** decibyte has quit IRC | 17:42 | |
djszapi | to add to the existing ones, and try to install "libkdeedu-dev" for instance ? | 17:42 |
usakc | I find a solution to lock orientation to portrait in Qt Widget app | 17:43 |
djszapi | kinncj: again, "my" repository is dedicated for KDE. | 17:44 |
kinncj | djszapi, i know that do you know "that" kde runs under qt | 17:46 |
*** mojo_risin has joined #harmattan | 17:47 | |
*** decibyte has joined #harmattan | 17:48 | |
mojo_risin | hi, is bash shell available on N9? | 17:48 |
kinncj | E: Couldn't find package libkdeedu-dev | 17:49 |
*** gri is now known as zz_gri | 17:51 | |
*** vladest has quit IRC | 17:52 | |
usakc | Or is the way to kinetic scrolling in QListWidget in meego?? thanks | 17:52 |
djszapi | kinncj: kde runs on /top/ of Qt. | 17:52 |
djszapi | mojo_risin: it is | 17:52 |
kinncj | The following packages have unmet dependencies: | 17:52 |
kinncj | libkdeedu-dev: Depends: kdelibs5-dev (>= 4:4.0.82) but it is not going to be installed | 17:52 |
kinncj | Depends: libkdeeduui4 (= 4:4.7) but it is not installable | 17:52 |
kinncj | Depends: libkeduvocdocument4 (= 4:4.7) but it is not going to be installed | 17:52 |
kinncj | Depends: libscience4 (= 4:4.7) but it is not installable | 17:52 |
kinncj | E: Broken packages | 17:52 |
djszapi | kinncj: run apt-get update ... | 17:52 |
*** rcg2 has joined #harmattan | 17:52 | |
kinncj | i run | 17:53 |
kinncj | broken packages... it doesn't get the dependencies | 17:53 |
djszapi | there is nothing broken about the packages. | 17:53 |
mojo_risin | djszapi, which repository should I add to apt? | 17:54 |
kinncj | the broken message is related the dependencies, it doens't download and install them... | 17:54 |
*** rcg1 has quit IRC | 17:54 | |
djszapi | please try to understand the same packages have been working for ages | 17:54 |
kinncj | mojo_risin, echo 'deb http://files.kde.org/maemo/ ./' >>/etc/apt/sources.list.d/nicks.list | 17:55 |
djszapi | nothing wrong with the packages, it is just the repo set up ... | 17:55 |
mojo_risin | kinncj, nice | 17:55 |
kinncj | yeah djszapi , but when performing apt-get install libkdeedu-dev, it's not downloading the dependencies too, just this. | 17:55 |
djszapi | mojo_risin: please do not include that repo... | 17:55 |
kinncj | nothing is broken, it's just now download them. | 17:55 |
Sazpaimon_ | jesus | 17:56 |
*** natunen has quit IRC | 17:56 | |
djszapi | mojo_risin: bash is never gonna be there.... | 17:56 |
djszapi | as I said many times, it is only KDE repository. | 17:56 |
Sazpaimon_ | the quality of apps in the store have really gone down | 17:56 |
djszapi | mojo_risin: that is what you need: deb http://harmattan-dev.nokia.com/ harmattan/sdk free non-free | 17:56 |
djszapi | kinncj: as I said many times, it is a KDE repository | 17:57 |
kinncj | i know djszapi , i add this to my debian here and it's dont download the dependencies...understand? | 17:57 |
mojo_risin | djszapi, yeah, i just noticed that repository is kde related... | 17:57 |
djszapi | kinncj: we will not build a full-fledged c-obs replacement... | 17:57 |
djszapi | you still need to use c-obs for the common stuff.... | 17:57 |
djszapi | it is intended to not download deps from there. | 17:57 |
Sazpaimon_ | they're all blog apps | 17:57 |
Sazpaimon_ | what the hell | 17:57 |
kinncj | understand | 17:57 |
djszapi | kinncj: so if you have both repositories, you should be happy. | 17:58 |
Sazpaimon_ | i really wish someone would make a touch friendly remote desktop program | 17:59 |
Sazpaimon_ | :/ | 17:59 |
Sazpaimon_ | its the only reason i still carry my N900 around, rdesktop is a must have app | 17:59 |
djszapi | why don't you do that, you need certain creds ovi does not grant for you, or ... ? | 18:00 |
Sazpaimon_ | I only know PyGTK | 18:01 |
jonni | rdesktop with bt keyboard | 18:01 |
Sazpaimon_ | jonni, may as well just keep my N900 with me | 18:01 |
mojo_risin | can you guys mount NFS shares? | 18:02 |
djszapi | Sazpaimon_: I can do it for you, if you pay :) | 18:02 |
Sazpaimon_ | not to mention rzr's rdesktop port has that bar at the bottom | 18:02 |
Sazpaimon_ | djszapi, put it on the store and I'd gladly pay for it | 18:02 |
mojo_risin | I'm having a 'ERR_ACCESS' error | 18:02 |
Sazpaimon_ | telexy charges 30EUR for their remote desktop app | 18:02 |
Sazpaimon_ | http://www.telexy.com/Products/ProductInfo.aspx?ProductId=21 | 18:02 |
Sazpaimon_ | I think its very well optimized for touch phones, but its proprietary | 18:03 |
kinncj | Sazpaimon_, did you try to install the .deb package into meego? i've installed lighttpd from a maemo package. | 18:03 |
Sazpaimon_ | kinncj, the fact is that I would prefer to not have to lug around extra hardware | 18:04 |
Sazpaimon_ | and I dont know why people insist on rdesktop | 18:04 |
djszapi | kinncj: so could you install libkdeedu ? | 18:04 |
Sazpaimon_ | freerdp is a superior product | 18:04 |
Sazpaimon_ | and I think it has pulseaudio support, so sound redirection would work | 18:04 |
kinncj | djszapi, libkdeedu give a lot of dependencies that i wont download one-by-one.. | 18:05 |
djszapi | kinncj: you do not need, it should be automated. | 18:05 |
djszapi | all deps are available from the comm repo... | 18:05 |
Sazpaimon_ | kinncj, debian/maemo 5 packages are softfp | 18:05 |
Sazpaimon_ | so running them on harmattan would be hit or miss | 18:06 |
kinncj | djszapi, it dont download... dont know why.... the lighttpd i just type dpkg install and works fine. | 18:06 |
djszapi | kinncj: do you have the community repository in your sources.list before my repo ? | 18:06 |
Sazpaimon_ | for example, I made an entire maemo 5 chroot on my N9, and only maybe 30% of apps worked without crashing | 18:06 |
Sazpaimon_ | i could get picodrive to start though, that was cool | 18:07 |
kinncj | i have this deb http://repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard/ djszapi | 18:08 |
djszapi | that is bad | 18:08 |
kinncj | Sazpaimon_, would be great to have gimp inside n9 | 18:08 |
djszapi | deb http://repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard/ ./ | 18:08 |
mojo_risin | djszapi, do you know where can i find the default nicks.list for N9? | 18:09 |
djszapi | you need that, note the "./" at the end | 18:09 |
kinncj | yeah, i have it | 18:09 |
Sazpaimon_ | kinncj, debian has a hardfp ARM release for sid | 18:09 |
kinncj | deb http://repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard/ ./ | 18:09 |
kinncj | deb http://files.kde.org/maemo/ ./ | 18:09 |
Sazpaimon_ | so once open mode becomes stable, easy debian should become a reality | 18:09 |
djszapi | mojo_risin: what is nicks.list ? | 18:09 |
djszapi | /etc/apt/sources.list.d/nicks.list -> just use this | 18:10 |
kinncj | cool Sazpaimon_ , xchat and others will be nice. | 18:10 |
mojo_risin | djszapi, exactly it's that file | 18:10 |
djszapi | that is not default though | 18:10 |
Sazpaimon_ | kinncj, instead of xchat, I'd wait to see what the irc chatter guys come up with | 18:10 |
Sazpaimon_ | they've got some good things planned | 18:10 |
Sazpaimon_ | i would like xchat personally, but with vkb it becomes difficult | 18:11 |
djszapi | kinncj: you are understand the theory, like the comm repo and nokia. What needs for the commrepo, that will come from the nokia repo...That simple... | 18:11 |
mojo_risin | djszapi, do you know which are the default repos? | 18:11 |
*** crevetor has joined #harmattan | 18:11 | |
Sazpaimon_ | id rather have an irc client optimized for vkb usage | 18:11 |
Sazpaimon_ | anyway djszapi name your price for a symrdp-like clone | 18:12 |
djszapi | mojo_risin: aegis.ssu-keyring-001-tr.list ? | 18:12 |
*** Natunen has joined #harmattan | 18:12 | |
djszapi | Sazpaimon_: my tooth treatment fee, 1000 EUR :D | 18:12 |
*** vladest has joined #harmattan | 18:12 | |
djszapi | lol | 18:12 |
Sazpaimon_ | djszapi, put it in the store for $10 a pop and you'll probably get that in not too long | 18:12 |
djszapi | well, I will try it when I have time... | 18:12 |
mojo_risin | djszapi, I see, so that is the default file... nicks.list should be empty by default? | 18:13 |
djszapi | mojo_risin: yes, but no worries | 18:13 |
* djszapi wanna have android target work in scratchbox! | 18:13 | |
kinncj | mojo_risin, the only repo thet you'll have by default is from aegis... otherones you need to add by yourself. | 18:13 |
*** lardman|home has joined #harmattan | 18:14 | |
Sazpaimon_ | also can anyone tell me how to get PR1.1 packages in the scratchbox SDK? | 18:15 |
mojo_risin | kinncj, I see. i was used to the old 'sources.list' :) | 18:15 |
Sazpaimon_ | even beta3's repository has PR1.0 packages | 18:15 |
*** zarlino has joined #harmattan | 18:15 | |
mojo_risin | is there a way to force the update to pr.1.? | 18:16 |
mojo_risin | pr1.1 | 18:16 |
Sazpaimon_ | mojo_risin, flash your device with PR1.1 firmware | 18:17 |
Sazpaimon_ | i flashed my ausralia variant phone with the global PR1.1 firmware | 18:17 |
Sazpaimon_ | worked fine | 18:17 |
*** zarlino has quit IRC | 18:18 | |
lardman|home | does one have to do anything specific to enable the flick up to close app functionality? | 18:18 |
mojo_risin | Sazpaimon_, http://nokiagadgets.com/2011/11/18/how-to-force-pr1-1-firmware-updated-to-your-n9-by-flashing-it/ | 18:19 |
mojo_risin | like this? | 18:19 |
djszapi | meh, I need to re-create the Packages.gz file every single time I upload or change a package. | 18:20 |
jonni | lardman|home: its flick down to close, other flicks just put on background | 18:20 |
Sazpaimon_ | mojo_risin, yes | 18:20 |
lardman|home | jonni: ah that's the one, do I need to do anything as I just had a case where I couldn't get mBarcode off the screen at all? | 18:20 |
lardman|home | had to ctrl-c it from the ssh terminal (where I started it), otherwise I'd have been stuck | 18:22 |
jonni | dont know, havent seem mbarcode in N9 yet, if it programically disables swipe then its a feature | 18:23 |
lardman|home | no, I don't programmatically disable swipe, but how would I? | 18:24 |
jonni | lardman|home: there is an example in developer wiki howto disable swipe, but that really is not recomended for 3rd parties, since its kinda uses non-public API. | 18:24 |
lardman|home | ok that's fine, not something I need anyway | 18:25 |
lardman|home | what I do need is to get mBarcode to close rather than needing to kill it as I need to test the settings save functionality | 18:25 |
mojo_risin | Sazpaimon_, navifirm is only available as a '.exe'? | 18:25 |
jonni | and if developer doesnt make easy exit inside the app, then it kinda forces users to reboot to get ouf of the app :) | 18:25 |
lardman|home | jonni: sure | 18:25 |
Sazpaimon_ | mojo_risin, yes | 18:26 |
jonni | but basicly if you start downswipe just off the screen it should close. | 18:26 |
lardman|home | ok, must have just been a general failure of functionality then | 18:26 |
mojo_risin | Sazpaimon_, ok, let's start virtualbox :) | 18:26 |
lardman|home | will test again and see if I can swipe now | 18:27 |
*** wazd_ has joined #harmattan | 18:27 | |
*** wazd has quit IRC | 18:28 | |
*** zarlino has joined #harmattan | 18:29 | |
mojo_risin | Sazpaimon_, no portugal variant :( | 18:33 |
kinncj | At nokia developer launchpad it was in 1.2 | 18:35 |
kinncj | but works only via ota @N950 devices. | 18:35 |
kinncj | it's very stable. | 18:35 |
mojo_risin | as anyone tried smb or nfs as a client with N9? | 18:37 |
*** leinir has joined #harmattan | 18:38 | |
Sazpaimon_ | [11:17] <Sazpaimon_> i flashed my ausralia variant phone with the global PR1.1 firmware | 18:40 |
Sazpaimon_ | [11:17] <Sazpaimon_> worked fine | 18:40 |
mojo_risin | Sazpaimon_, unfortunately my variant isn't available | 18:41 |
Sazpaimon_ | [11:17] <Sazpaimon_> i flashed my ausralia variant phone with the global PR1.1 firmware | 18:41 |
Sazpaimon_ | this implies that it doesnt matter what variant you use | 18:42 |
mojo_risin | Sazpaimon_, I see, the global one... | 18:42 |
Sazpaimon_ | and did you read the nokiagadgets posting? | 18:42 |
Sazpaimon_ | it clearly says "You can flash your N9 with different region N9 firmware, this might not be the case always: I flashed Swedish N9 with Finnish firmware with no problems. Just remember to download the firmware version that got same amount of internal memory and same color as your N9)." | 18:42 |
*** Smtih has quit IRC | 18:43 | |
mojo_risin | Sazpaimon_, i will probably loose local language and locale setting right? | 18:44 |
*** djszapi has left #harmattan | 18:45 | |
Sazpaimon_ | mojo_risin, yes but you can change that obviously | 18:45 |
mojo_risin | Sazpaimon_, ok | 18:46 |
*** Smtih has joined #harmattan | 18:49 | |
*** djszapi has joined #harmattan | 18:50 | |
*** b3ll has quit IRC | 18:50 | |
djszapi | kinncj: how about the -lm patch ? | 18:50 |
djszapi | sorry, Corsac ^ | 18:50 |
mojo_risin | Sazpaimon_, in version 10.2 there is variants called global | 18:51 |
mojo_risin | on 20.2 the global are the ones without country name? | 18:51 |
Sazpaimon_ | i would assume so | 18:52 |
mojo_risin | e.g. RM-696 NDT 64GB ROW BLACK | 18:52 |
Sazpaimon_ | i just used the 16GB black version without a country | 18:52 |
mojo_risin | ok | 18:52 |
dm8tbr | ok, looks like I have most of the LiveView logic figured out to do call alert and notifications... time to get the sowatch sources and see how much pain it will be to add all that | 18:57 |
lardman|home | dm8tbr: how large is the device, possible to wear as a watch? | 18:59 |
dm8tbr | yes, I wear it as a watch | 18:59 |
lardman|home | cool | 18:59 |
dm8tbr | I don't even notice it as it's so light, that's a plus over the Metawatch, which is a hunk of metal | 19:00 |
djszapi | kinncj: can you update from my repository and try to install again ? I have just fixed couple of issues | 19:01 |
djszapi | kinncj: and I have changed the repository to this: deb http://files.kde.org/maemo/dists/harmattan/ ./ | 19:02 |
*** hardaker2 has joined #harmattan | 19:03 | |
kinncj | The following information may help to resolve the situation: | 19:04 |
kinncj | The following packages have unmet dependencies: | 19:04 |
kinncj | libkdeedu-dev: Depends: kdelibs5-dev (>= 4:4.0.82) but it is not going to be installed | 19:04 |
kinncj | Depends: libkeduvocdocument4 (= 4:4.7) but it is not going to be installed | 19:04 |
kinncj | E: Broken packages | 19:04 |
*** vladest_ has joined #harmattan | 19:06 | |
djszapi | mmh, your set up is completely broken | 19:06 |
*** vladest has quit IRC | 19:06 | |
*** vladest_ is now known as vladest | 19:06 | |
djszapi | kinncj: try to install kdelibs5-dev | 19:07 |
*** kinncj has quit IRC | 19:16 | |
djszapi | is there a good signal that I can catch for the Page loading, if I use this harmattan components ? | 19:22 |
djszapi | I would like to run a javascript function before (or at least well right after the page loading). | 19:22 |
hiemanshu | djszapi: there is a signal for the transition | 19:22 |
djszapi | but that sucks :) | 19:23 |
djszapi | because I need to have a auxilliary boolean variable. | 19:23 |
hiemanshu | ah | 19:23 |
djszapi | so I need something which emitted once. | 19:23 |
hiemanshu | is it the intial page? | 19:23 |
djszapi | nope | 19:23 |
hiemanshu | then do it before you are the pushing the active page | 19:24 |
M4rtinK | there is a onCompleted signal | 19:24 |
djszapi | hiemanshu: cannot really do since it is loaded from file | 19:24 |
djszapi | so I cannot have an access to the Page id | 19:24 |
M4rtinK | for all components: http://doc.qt.nokia.com/stable/qml-component.html#onCompleted-signal | 19:24 |
M4rtinK | and I'm using it for pages loaded from file :) | 19:24 |
djszapi | true | 19:25 |
djszapi | I used for the themes. | 19:25 |
djszapi | M4rtinK: mmm, actually it is not gonna work either since I need information from the list of the previous page. The index the user clicked on, that is | 19:28 |
djszapi | M4rtinK: so the situation is that, I have a list on page A, and I need to know which item the user clicked to construct the page B content accordingly. I used the "index" builtin feature for this, understand ? | 19:33 |
djszapi | M4rtinK: so you can see the onClicked signal in my delegate with the "index" builtin argument: https://projects.kde.org/projects/playground/games/gluon/repository/revisions/master/entry/player/fremantle/Home.qml#L29 | 19:35 |
M4rtinK | the B page should be able to access the A page just fine | 19:35 |
M4rtinK | I have a page with history list, that updates the list model once loaded, using a property defined in the "main" page | 19:36 |
M4rtinK | https://github.com/M4rtinK/mieru/blob/master/gui/qml/HistoryPage.qml#L11 | 19:36 |
*** kinncj has joined #harmattan | 19:37 | |
*** Venemo_N950 has joined #harmattan | 19:37 | |
djszapi | M4rtinK: so where does this "index" property come from, which component ? | 19:38 |
M4rtinK | you can add a property in the previous page | 19:38 |
djszapi | well it sounds hackish | 19:38 |
M4rtinK | store the index inside it | 19:38 |
djszapi | history page... | 19:39 |
M4rtinK | and retrieve it once the other is loaded | 19:39 |
M4rtinK | readingState is a property defined for the root item | 19:39 |
djszapi | M4rtinK: so where does this "index" property come from, which component ? | 19:40 |
kinncj | apt-get install kdelibs5-dev purged all my meego files... i'll need to flash it again. thanks. | 19:40 |
M4rtinK | and the page loaded from file sees it just fine - that was what I wanted to demonstrate | 19:40 |
djszapi | M4rtinK: I think index is coming from the component | 19:41 |
djszapi | nope, well I have no idea where I got it from... | 19:41 |
M4rtinK | no idea | 19:42 |
*** Venemo_N950_ has joined #harmattan | 19:43 | |
M4rtinK | oh, is it not the item index from that listview ? | 19:43 |
*** Venemo_N950 has quit IRC | 19:44 | |
djszapi | I do not find it anywhere inside the documentation.. | 19:44 |
*** Venemo_N950_ is now known as Venemo_N950 | 19:46 | |
djszapi | M4rtinK: I would need to save all the data of the given list item into properties of the A page then .... | 19:48 |
djszapi | is there a way to ask my model with the given index for all the data instead of saving all of them ? | 19:48 |
djszapi | so the list normally fills the ui in with the model data, but is there an explicit way to call the data method of the model with the given index ? | 19:49 |
M4rtinK | are you using a QML list model or an external one ? | 19:51 |
djszapi | c++ | 19:54 |
*** Venemo_N950 has quit IRC | 19:55 | |
*** Venemo_N950 has joined #harmattan | 19:55 | |
mojo_risin | Sazpaimon_, all went well but find wireless networks | 19:57 |
M4rtinK | then you should be able to do an equivalent of this: https://github.com/M4rtinK/mieru/blob/master/gui/qml/HistoryPage.qml#L99 and this: https://github.com/M4rtinK/mieru/blob/master/gui/qml_gui.py#L466 | 19:57 |
M4rtinK | eq register a list controller as a property | 19:58 |
*** Venemo_N950 has quit IRC | 19:58 | |
mojo_risin | Sazpaimon_, it seemed that a restart solved it | 19:58 |
M4rtinK | and once an item is clicked, call C++ code using the controller with that items data | 19:59 |
*** BluesLee has joined #harmattan | 19:59 | |
*** zarlino has quit IRC | 20:03 | |
*** npm has quit IRC | 20:03 | |
BluesLee | when i download a file with the default browser where it is stored? | 20:05 |
*** npm has joined #harmattan | 20:07 | |
djszapi | M4rtinK: thingSelected :D :D :D | 20:07 |
djszapi | what a term man :) | 20:07 |
djszapi | why not stuffySelected ? ;) | 20:08 |
*** nameless has joined #harmattan | 20:09 | |
nameless | Hello | 20:09 |
djszapi | M4rtinK: well, this code sounds difficult. All I need to do is to query the model with various roles according to the index | 20:10 |
djszapi | is it possible ? | 20:10 |
*** lardman|home has quit IRC | 20:11 | |
BluesLee | when i download a file from the mail client where it is stored? | 20:11 |
nameless | Somehow, my N9 wont start up the ssh server... does anyone recognize this problem? | 20:11 |
djszapi | BluesLee: you already asked 6 minutes ago :) | 20:12 |
BluesLee | djszapi: those are two different questions;-) | 20:12 |
djszapi | BluesLee: /home/user/MyDocs/Downloads/ | 20:13 |
BluesLee | djszapi: there is also a bug in the mail client | 20:13 |
djszapi | I am not a mail client dev | 20:13 |
djszapi | but yes, those are the same questions... | 20:14 |
BluesLee | djszapi: okay, now assume that i removed the /home/user/MyDocs/Downloads/ folder, the application says that the file is saved and i can launch it but where it is saved in that case? | 20:14 |
djszapi | I guess it should create the dir on demand ? | 20:14 |
M4rtinK | djszapi: that naming comes from a PySide example my list handling code is based on :) | 20:16 |
BluesLee | djszapi: the file is a debian file name.version.etc.deb and the mail client interprets the extension as .version.etc.deb instead of .deb | 20:16 |
djszapi | BluesLee: I am still not a mail client dev :) | 20:17 |
djszapi | M4rtinK: I do not understand how you do there that what I mean. | 20:17 |
BluesLee | djszapi: its not a really bug ... okay, i recreated the Downloads folder, its not saved there, will do a find from / | 20:17 |
nameless | Found a workaround for the strange problem with sshd not starting. Rebooted phone, plugged the USB cable in, waited some time, then select "SDK mode". After that, it is again possible to access the N9 via ssh. | 20:18 |
RST38h | EHLO ALL | 20:18 |
* SpeedEvil suspects RST38h is a spammer, so terminates his connection. | 20:19 | |
*** zarlino has joined #harmattan | 20:19 | |
djszapi | BluesLee: huh ? find from "?". You better do it in /home/user/MyDocs... | 20:20 |
djszapi | "/"* | 20:20 |
djszapi | M4rtinK: say, I have an index, and a role I would like to ask for. What would the statement in QML for that with those arguments ? | 20:20 |
*** vladest has quit IRC | 20:21 | |
*** zarlino has quit IRC | 20:22 | |
mojo_risin | i'm trying to mount NFS volume as root, but i'm receiving this error: nfs bindresvport: Permission denied | 20:23 |
mojo_risin | this should only happen with non root user... | 20:24 |
M4rtinK | if I understand that code correctly there is a column/role named "thing" | 20:26 |
M4rtinK | then in the delegate onClicked signal it just calls some backend code with model.thing | 20:27 |
M4rtinK | it looks like it supplies the the object that the delegate is representing to that model.thing | 20:28 |
BluesLee | djszapi: it depends where the files are saved, some apps msave them in /home/user | 20:29 |
M4rtinK | not suer about the index though | 20:30 |
djszapi | BluesLee: that app is buggy | 20:30 |
djszapi | mojo_risin: you cannot have sys_mount.. | 20:31 |
djszapi | sys_admin* | 20:32 |
djszapi | M4rtinK: that is clear, but where is the index in that workflow ? | 20:32 |
mojo_risin | djszapi, that means one cannot mount anything? | 20:34 |
*** BluesLee has quit IRC | 20:34 | |
djszapi | mojo_risin: no | 20:34 |
mojo_risin | djszapi, what does it mean then? :) | 20:35 |
mojo_risin | an alternative way to mount as to be used? | 20:36 |
M4rtinK | djszapi: looks like it is not needed ? the delegate seems to handle it internally somehow in this case | 20:37 |
djszapi | M4rtinK: yes, it works inside the delegate, but as we discussed it, we need it from page B. | 20:38 |
djszapi | after the selection, so either I store everything in a property in page A inside the delegate, or just the index, and make a query again from page B. | 20:38 |
djszapi | the first way is faster, but longer code. | 20:39 |
djszapi | probably worth having a long code here, but still...we have been discussing it for a while, thus it would be nice to know =) | 20:39 |
djszapi | mojo_risin: /usr/include/linux/capabilities.h | 20:40 |
mojo_risin | djszapi, i only found capability.h | 20:44 |
mojo_risin | is that one? | 20:44 |
djszapi | yes | 20:44 |
djszapi | wrote it by off hand from memory | 20:44 |
mojo_risin | :) | 20:45 |
mojo_risin | Allow mount() and umount(), setting up new smb connection | 20:45 |
mojo_risin | it's the only relevant thing i found | 20:45 |
mojo_risin | it doesn't exist on N9 though | 20:46 |
M4rtinK | djszapi: if you have the index & role, you can use the data() method of the abstract list model | 20:46 |
djszapi | M4rtinK: I guess, but how ? :) | 20:46 |
M4rtinK | well, just call it and see what it returns :) | 20:47 |
M4rtinK | should work both from C++ or from QML I guess | 20:47 |
djszapi | how to call it ? | 20:47 |
djszapi | M4rtinK: Also, I think I cannot avoid the page id registrations on the main page because I have no idea how B could have an access to A. They are not siblings, children, parents and so forth. | 20:49 |
mojo_risin | djszapi, i have to install the package which contains this capability header? | 20:52 |
djszapi | nop, that is system default. | 20:52 |
M4rtinK | well, the visibility in QML is quite flat | 20:52 |
M4rtinK | the id might be "visible" after all | 20:53 |
mojo_risin | djszapi, i'm not following you... | 20:54 |
*** messerting has joined #harmattan | 20:54 | |
djszapi | M4rtinK: what do you mean ? | 20:55 |
*** Smtih has quit IRC | 20:55 | |
M4rtinK | djszapi: have you tried if using the id of A inside B ? | 20:58 |
djszapi | frals helped me out on #qt-qml | 20:58 |
djszapi | though, I did not test it yet | 20:58 |
attah | has anyone gotten gstreamer working in an app? | 21:00 |
mojo_risin | djszapi, so it has to do with default security policies? no way around it? | 21:04 |
djszapi | mojo_risin: sorry, but busy atm | 21:05 |
mojo_risin | djszapi, sure, no prob | 21:05 |
dm8tbr | hmpfh, anyone can tell me if those two errors are to be worried about? http://pastebin.mozilla.org/1388589 | 21:07 |
* dm8tbr just tried to install harmattan SDK on his debian | 21:08 | |
*** lardman|home has joined #harmattan | 21:12 | |
dm8tbr | nvm, seems it ate all free disk space *grmbl* | 21:13 |
djszapi | M4rtinK: so why not just a simple register main.qml, like here ? https://gitorious.org/colorful-apps/irc-chatter/blobs/master/qml/harmattan/main.qml | 21:13 |
dm8tbr | I'm sure there were at least 3-4G free | 21:13 |
dm8tbr | how much space does the harmattan SDK need? | 21:14 |
djszapi | Venemo registered the pages like that in the irc-chatter's main.qml. I guess this is because he can then access to any pages from any pages later. | 21:14 |
M4rtinK | yeah, that might also work :) | 21:15 |
djszapi | M4rtinK: with that, you can even avoid the file loading. | 21:16 |
djszapi | I mean from your code. It will load the Components from files for sure. | 21:16 |
M4rtinK | djszapi: well in my case, the loading is like this on purpose | 21:17 |
M4rtinK | basically "on demand loading" :) | 21:18 |
djszapi | I do not see how you access from page B to page A. | 21:19 |
djszapi | so you load the B page from A, but how will the B have an access to A, if there is no page "introducing them to each other" ? | 21:21 |
*** wazd_ has quit IRC | 21:24 | |
M4rtinK | flat namespace ? | 21:25 |
flat` | wa | 21:26 |
flat` | :D | 21:26 |
*** Arkenoi has joined #harmattan | 21:27 | |
M4rtinK | lol | 21:27 |
*** harbaum has joined #harmattan | 21:27 | |
M4rtinK | yep, just tested it - the HistoryPage can directly access properties of mainView | 21:29 |
M4rtinK | without any introducing | 21:29 |
*** vladest has joined #harmattan | 21:30 | |
*** wazd has joined #harmattan | 21:30 | |
*** leinir has quit IRC | 21:40 | |
djszapi | frals M4rtinK: I encountered the next difficulty.... How can I act for a click in a list according to the given index ? | 21:45 |
djszapi | for instance I have listelements in a listmodel, and I would like to make different actions for clicks. | 21:45 |
djszapi | so the problem is that, I would like to build a list because they have the same Ui, but I would like to call different backend functionality in the background for any of them. I cannot ues onClicked in ListElement ... What is the most appropriate way of doing it ? | 21:54 |
M4rtinK | no idea | 22:02 |
M4rtinK | mayb - can you stuff a mouse area into those ListElements ? :) | 22:02 |
messerting | Anyone working on a QR code reader for the N9 yet? Porting mBarcode should be easy? I'd be happy to test :) | 22:06 |
SpeedEvil | lardman keeps threatening to port mbarcode. | 22:07 |
djszapi | M4rtinK: you are using nice words, like "can you stuff?" :))) | 22:09 |
djszapi | M4rtinK: I tried to "stuff", but I am getting this: file:///opt/gluon/qml/GameDetailsModel.qml:31 ListElement: cannot use script for property value -> text: "Play " + mainPage.selectedProjectName; | 22:14 |
djszapi | M4rtinK: what to stuff now ? | 22:14 |
M4rtinK | weird, I have: text : mainView.pageNumber + "/" + mainView.maxPageNumber | 22:20 |
M4rtinK | for a ToolButton though | 22:20 |
*** faenil has joined #harmattan | 22:22 | |
faenil | good evening :) | 22:22 |
djszapi | M4rtinK: weird stuff | 22:23 |
*** Sazpaimon__ has joined #harmattan | 22:23 | |
DocScrutinizer | good evening | 22:26 |
*** Sazpaimon_ has quit IRC | 22:26 | |
DocScrutinizer | any news about Nokia shipping an official open mode how-to, or even kernel? | 22:27 |
DocScrutinizer | or at least a letter of intent stating that platsec won't mind and HARM core apps all will work in open mode and it's not planned to change that? | 22:28 |
DocScrutinizer | Stskeeps: was this you who got a kernel that actually allows HARM fully working in open mode? | 22:30 |
*** diggy128 has joined #harmattan | 22:33 | |
*** diggy has quit IRC | 22:34 | |
*** diggy128 is now known as diggy | 22:34 | |
M4rtinK | according to FMO, a formal GPL source request has been submitted for PR 1.1 kernel | 22:40 |
djszapi | :D | 22:40 |
djszapi | M4rtinK: so what script does it actually mean above ? | 22:41 |
M4rtinK | that ToolButton ? | 22:43 |
M4rtinK | a button caption that automatically updates as the page numbers change | 22:44 |
djszapi | no, I mean in my code | 22:44 |
M4rtinK | hmm | 22:44 |
M4rtinK | try without ; ? | 22:44 |
M4rtinK | but that's probably not the cause | 22:45 |
*** zz_gri is now known as gri | 22:47 | |
djszapi | M4rtinK: same | 22:48 |
gri | djszapi: The other way should work -- text: qsTr("%1 / %2").arg(mainView.pageNumber).arg(mainView.maxPageNumber) | 22:52 |
djszapi | gri you slept more days :D | 22:53 |
gri | huh? | 22:54 |
djszapi | well, zz_gri for years like, a bear :) | 22:54 |
gri | well, it changes the name to that when I shut down my computer :) | 22:55 |
djszapi | same | 22:55 |
djszapi | text: qsTr("Play %1").arg(mainPage.selectedProjectName); | 22:55 |
djszapi | I now have this, but same error | 22:55 |
*** BluesLee has joined #harmattan | 22:56 | |
*** BluesLee has quit IRC | 22:57 | |
gri | oh | 22:57 |
gri | what is the type of "text"? | 22:57 |
*** BluesLee has joined #harmattan | 22:59 | |
djszapi | string | 23:08 |
djszapi | it is basically an imported ListDelegate | 23:08 |
djszapi | without the heavy stuff, just what I need | 23:09 |
djszapi | embedded arrows by default as I like :) | 23:09 |
djszapi | but at any rate...no real clue.. | 23:09 |
gri | do you have the code somewhere? | 23:10 |
djszapi | code of what ? | 23:11 |
djszapi | https://projects.kde.org/projects/playground/games/gluon/repository/revisions/master/show/player/harmattan | 23:12 |
*** BluesLee has quit IRC | 23:14 | |
*** hardaker2 has quit IRC | 23:16 | |
gri | hmm, sometimes the contexts of qml are a bit scary. I'd think the GameDetailsModel has no idea what "mainPage" is | 23:16 |
djszapi | there are basically 2 pages: MainPage and GameDetailsPage. | 23:18 |
*** niqt has joined #harmattan | 23:18 | |
djszapi | I open up the GameDetailsPage from the MainPage when the player clicks on a game on the mainpage. | 23:18 |
djszapi | and I need to write "Play X" according to the clicked game out of the MainPage. | 23:18 |
*** ZogG has quit IRC | 23:19 | |
djszapi | that is the simple idea. I may have used a wrong concept...irc-chatter defines all the pages in the main.qml. I guess the reason is that any page can have an access to any page that way. However I would prefer the on-demand loading. | 23:19 |
*** ab has quit IRC | 23:19 | |
gri | try to add a property named "selectedProjectName" to the ListModel and fill that from where you create the model | 23:20 |
gri | I never reference to "global" variables in my qml code and it works most of the time :) | 23:20 |
djszapi | it is not really global... | 23:20 |
djszapi | it is the variable of the element with an ID | 23:21 |
djszapi | that is what the ID is for after all | 23:21 |
gri | yeah, I just have no idea how that is really called in qml | 23:21 |
gri | it's like using "global unique" variables for me :) | 23:21 |
djszapi | I just feel it hackish I need to assign a property 40 times if I pass it from A to Z. | 23:21 |
*** diggy128 has joined #harmattan | 23:22 | |
djszapi | same with your idea | 23:23 |
*** diggy has quit IRC | 23:23 | |
gri | ok .. | 23:23 |
djszapi | http://paste.xinu.at/wrS/ | 23:23 |
djszapi | and model: GameDetailsModel { projectName: mainPage.selectedProjectName; } | 23:24 |
*** diggy128 is now known as diggy | 23:24 | |
*** wicket64 has joined #harmattan | 23:24 | |
djszapi | interestingly enough, there is no complain about mainpage.selectedProjectName there. | 23:24 |
gri | text: Play + gameDetailsModel.projectName; | 23:25 |
djszapi | I think ListElement expects const | 23:25 |
gri | where are the "" ? | 23:25 |
djszapi | oh | 23:25 |
* djszapi points to QtCreator as the culsprit muhaha :) | 23:25 | |
gri | if it expects const, I have another idea :) | 23:26 |
djszapi | ListElement: cannot contain nested elements | 23:26 |
djszapi | meh | 23:26 |
djszapi | how to do mousearea then | 23:26 |
gri | VisualItemModel | 23:26 |
gri | or something like that | 23:27 |
gri | a model that is also a delegate | 23:27 |
gri | visualdatamodel | 23:27 |
djszapi | I need to call different C++ backend methods for different item clicks in the list | 23:27 |
djszapi | like, player, comment, donate etc | 23:27 |
djszapi | play* | 23:28 |
djszapi | but for that, I would need a separate onClicked for each of those. | 23:28 |
gri | don't understand the problem | 23:28 |
gri | either: | 23:28 |
djszapi | as you can see ListElement cannot contain nested elements | 23:29 |
djszapi | so no mousearea | 23:29 |
gri | create a model + delegate, each delegate has onClicked: callSomeFunction(model.index, model.gameName) ... | 23:29 |
gri | or | 23:29 |
gri | create a VisualDataModel which does exactly what you're trying here | 23:29 |
*** wazd has quit IRC | 23:30 | |
djszapi | I did create a model and delegate | 23:30 |
djszapi | and we can see that model does not work as I wish. | 23:30 |
djszapi | there is no way of handling the clicks per se. | 23:30 |
gri | yes, I meant with a mousearea inside the delegate | 23:31 |
djszapi | oh | 23:31 |
gri | djszapi: https://gitorious.org/web2sms/web2sms/blobs/master/messaging-ui/SettingsPage.qml#line18 my programs "settings" view | 23:31 |
gri | you see I create switches and visible elements using visualdatamodel | 23:32 |
djszapi | mouse area will not really help | 23:32 |
djszapi | inside the delegate | 23:32 |
gri | damn, visualitemmodel | 23:32 |
gri | those names confuse me :) | 23:32 |
*** diggy128 has joined #harmattan | 23:33 | |
*** diggy has quit IRC | 23:33 | |
*** diggy128 is now known as diggy | 23:33 | |
djszapi | afk, will read it later. | 23:33 |
djszapi | but it is not viable with ListElement it seems so | 23:34 |
*** ab has joined #harmattan | 23:35 | |
gri | it is but not like you expect it :) | 23:35 |
gri | the delegate has to handle the actions depending on the ListElement's properties | 23:36 |
gri | which could lead to ugly code | 23:36 |
*** harbaum has quit IRC | 23:39 | |
djszapi | sorry, but what do you mean ? | 23:44 |
djszapi | yeah, I could manage it from the delegate with some identifier | 23:44 |
djszapi | and having a big if/elseif/elseif.../else thingie | 23:44 |
djszapi | but that is hackish imho | 23:44 |
gri | take a look at the VisualItemModel documentation | 23:44 |
djszapi | it would be nice if QML can provide a listelement where you can attach the onClicked signal | 23:45 |
gri | and in 2 secs you realize: this is what you want to use | 23:45 |
djszapi | doing atm | 23:45 |
djszapi | though, I started with VDM | 23:45 |
gri | VDM != VIM :) confusing names | 23:45 |
M4rtinK | gri: thanks ! :D your example comes very handy as I'm currently hacking my applications settings page together :) | 23:46 |
djszapi | well, I started it anyway | 23:46 |
djszapi | I am interested in that now :) | 23:46 |
djszapi | gri: well VIM will not help me | 23:46 |
djszapi | actually, it will. | 23:48 |
*** Dotti has quit IRC | 23:48 | |
gri | what now? :D | 23:48 |
djszapi | it will because I can use my ListItem | 23:48 |
djszapi | and I can hopefully put onClicked there separately, but I need to test it | 23:48 |
djszapi | and I can probably delete my model altogether :D | 23:49 |
djszapi | well, actually I can even keep my model | 23:50 |
*** attah has quit IRC | 23:56 | |
djszapi | gri: ok works, great thanks | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!