Saturday, 2021-04-17

*** zbenjamin is now known as Guest2820501:26
*** zbenjamin_ is now known as zbenjamin01:26
*** jrt is now known as Guest165802:23
*** BitEvil_ is now known as SpeedEvil03:14
*** nyov is now known as Guest5501303:18
*** frinring_ is now known as frinring07:03
AL13N_lappyhey, i'm designing a backend system for something, and I was wondering what the best way was for a QML app to communicate with backend... is a REST type thing easier, or should i look into something else?11:02
AL13N_lappyplan would be to have native qml, QMLonAndroid en qmlweb on it....11:05
attahAL13N_lappy: so i'm assuming you mean server-side as opposed to lower layers of the app... sure, (JSON over) REST is good... can't think of many alternatives11:29
attahor i guess i should say HTTP, doesn't have to be strictly restful11:29
attahXML would also work for data format, but i'm not a fan11:31
AL13N_lappyattah: yeah, thanks, but, i wasn't sure there was a good QML way to get a json page in the background? or is it?13:30
AL13N_lappyattah: i've had to use the qml python thing to do it in my past apps13:32
AL13N_lappyattah: wondering if there's a better way13:33
AL13N_lappyi didn't wanna do any Qt C++ on it13:33
AL13N_lappywhich i'm gonna need to avoid if i'm doing qmlweb anyway13:33
AL13N_lappywait, if it's json, maybe i can use it directly with dynamic imports?13:34
attahAL13N_lappy: the standard XMLHttpRequest works in the background by default.. so it can do something,and the qml reacts to some data changing14:03
attahAnd this is a good abstraction if it is lists of things https://github.com/kromain/qml-utils14:04
Mister_Magisterabranson: ping14:51
Mister_Magisterwhere did he go :<15:28
malMister_Magister: it's weekend15:29
malMister_Magister: what problem do you have?15:29
Mister_Magistermal: it wasn't weekend yesterday15:29
Mister_Magistermal: some discussion about dash license and i have huge ui freeze when i start playback (phone dependent on length) and also if i lock phone or leave app when its playing it will fail to resume playback, throw stuff at me about shaders not being linked (i link them so idk) and also app doesn't close when you close it (gst takes over terminate signal?)15:30
Mister_Magisterand gps not working in moto g2 but thats for you :>15:30
Mister_Magisterim thinking of putting license stuff in mer meeting15:33

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!