*** Mikaela is now known as Guest2482 | 12:54 | |
thilo[m] | Does anyone know an easy way to install a development build of qtmozembed? Doesnt look like its doable via pkcon. Do i need to build it myself? I just want to see this [message](https://github.com/sailfishos/qtmozembed/blob/15c80e1e6e786d0e3d2f559ba12e17fca6934060/src/qmozview_p.cpp#L1060) | 15:24 |
---|---|---|
poetaster | thilo[m], websockets debugging? | 16:36 |
Nico | You need to build it yourself, yes | 16:36 |
thilo[m] | debugging of webview. I am trying to send messages over to the qt side, but only see tons of unable to parse json messages | 16:38 |
poetaster | thilo[m], you mean over to QML or c? | 16:38 |
poetaster | thilo[m], I'm working on adding a method to permit QML to handle links in the html that I don't watn | 16:40 |
poetaster | oops, want handled 'in' the webview. | 16:40 |
thilo[m] | qml | 16:40 |
thilo[m] | its about hydrogen. Its a webapp that i bundle with qml. Currently i want to wire up logging so its sent from the hydrogen logging framework to qt, afterwards same for notifications | 16:41 |
thilo[m] | however sending stuff to qt doesnt work, thats why i was looking into this | 16:42 |
poetaster | thilo[m], ah, got you. We're both presumably using the same 'how-to' from flypig. | 16:42 |
thilo[m] | yes | 16:43 |
poetaster | thilo[m], presumably you are having difficulties mapping the messages from hydrogen logger back to the onRecvAsyncMessage | 16:48 |
poetaster | thilo[m], ok, where's your code? | 16:48 |
poetaster | thilo[m], what I'm doing is 'primitive' and just works. | 16:48 |
thilo[m] | sec | 16:49 |
poetaster | thilo[m], hydrogen is a matrix client, correct? | 16:49 |
thilo[m] | yes | 16:50 |
poetaster | thilo[m], (wading through typescript). | 16:58 |
thilo[m] | here is the sending part: https://github.com/thigg/hydrogen-web/blob/7eb14359871b1d26e46fefc7cd425875e1159bf3/src/logging/QtLogger.ts#L54-L57 | 16:58 |
thilo[m] | framescript: https://github.com/thigg/sfos-hydrogen/blob/master/qml/framescript.js | 16:59 |
thilo[m] | qml part: https://github.com/thigg/sfos-hydrogen/blob/master/qml/harbour-hydrogen.qml | 16:59 |
thilo[m] | poetaster: | 17:04 |
poetaster | thilo[m], | 17:04 |
poetaster | thilo[m], you're missing the glue from the hydrogen logger to fire message. | 17:05 |
poetaster | or I haven't found it yet :) | 17:06 |
poetaster | line 47 send(item.error) | 17:06 |
thilo[m] | as far as i saw _persist item is the basic logging method | 17:12 |
thilo[m] | but I also tried it without the logger | 17:12 |
poetaster | I wasn't sure about this {detail: {log: JSON.stringify(item)}}); | 17:12 |
thilo[m] | I also tried that at various places:```... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/WhHfWKSVxYEWkqSKYcDhijFV) | 17:13 |
thilo[m] | * I also tried that at various places:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/gvtZhhmGLMUMzIIYDqsptWLq) | 17:13 |
poetaster | thilo[m], Ok, I'll have a look later. I still have to finish up some 'work, work'. | 17:14 |
poetaster | thilo[m], are you testing on 4.3 or 4.4? | 17:14 |
thilo[m] | 4.4 | 17:14 |
thilo[m] | yeah i am also a bit distracted | 17:15 |
poetaster | thilo[m], ah, I"m on 4.3.0.15 | 17:15 |
thilo[m] | I also wanted to go the way from a minimal working example up to my usecase now | 17:15 |
thilo[m] | maybe i figure something out that way | 17:15 |
thilo[m] | i was just confused because of the malformed json and wanted to know what that is | 17:15 |
poetaster | thilo[m], that's what I did. But flypig had pointed it out ... I'll try to push the code later today. | 17:16 |
poetaster | thilo[m], but I have a number of security related live system things to do so it could take a couple of days. | 17:16 |
poetaster | and then you'll be finished :) | 17:16 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!