Tuesday, 2013-08-06

*** qwazix has quit IRC00:09
*** qwazix has joined #sailfishos00:15
*** toartist has joined #sailfishos00:22
*** phaeron has quit IRC00:30
*** triggerhappy has joined #sailfishos00:46
*** phaeron has joined #sailfishos01:02
*** vogon has quit IRC01:04
*** amppa_ has quit IRC01:12
*** amppa has joined #sailfishos01:14
*** ottulo has quit IRC01:28
miksuhnahka: Yeat, Tweetian is wery goof twitter client. I'm using it on Symbian. It's great that Tweetian will be available on Sailffish too.01:37
miksuhah,, he left...01:38
miksuhyeat == yeah01:39
miksuhgoof == goof01:39
*** ericcc has joined #sailfishos01:39
*** ottulo has joined #sailfishos01:40
miksuhdamn typos, well it's 4:40am...01:41
miksuhtime to sleep a bit %)01:41
miksuhgoof == good01:42
miksuhfa,m typos again!!01:43
miksuhargh, I'll go to sleep :)01:43
*** miksuh has quit IRC01:44
*** M4rtinK has quit IRC02:00
*** kaxing_ has joined #sailfishos02:21
*** ericcc_ has joined #sailfishos02:38
*** lpotter has joined #sailfishos02:42
*** Eismann_ has joined #sailfishos02:44
*** ericcc has quit IRC02:47
*** ljp_ has quit IRC02:47
*** Eismann has quit IRC02:47
*** jayrulez has quit IRC02:50
*** jayrulez has joined #sailfishos03:10
*** jayrulez has quit IRC03:28
*** krabador has joined #sailfishos03:48
*** krabador has quit IRC03:53
*** furikku has joined #sailfishos03:54
*** SfietKonstantin has joined #sailfishos03:55
*** SfietKonstantin has quit IRC03:59
*** martyone_ has joined #sailfishos04:01
*** jayrulez has joined #sailfishos04:17
*** Shaan7 has quit IRC04:23
*** Shaan7 has joined #sailfishos04:23
*** f3an0r has joined #sailfishos04:44
*** m4g0g has joined #sailfishos04:46
m4g0gI have problem with intallation of new SailfshSDK04:46
*** m4g0g has quit IRC04:52
*** ericcc_ has quit IRC05:01
*** chriadam has joined #sailfishos05:04
*** maninc has joined #sailfishos05:06
*** triggerhappy has quit IRC05:08
*** triggerhappy has joined #sailfishos05:09
*** piee has joined #sailfishos05:19
*** SeekingFor has quit IRC05:22
*** piee has quit IRC05:23
*** maninc has quit IRC05:25
*** VDVsx has quit IRC05:25
*** SeekingFor has joined #sailfishos05:27
*** jayrulez has quit IRC05:33
*** martyone_ has quit IRC05:35
*** martyone has joined #sailfishos05:35
*** maninc has joined #sailfishos05:37
*** ericcc has joined #sailfishos05:40
*** jukkaeklund has joined #sailfishos05:40
*** VDVsx has joined #sailfishos05:52
*** jpetersen_ has quit IRC06:00
*** fk_lx has joined #sailfishos06:03
*** itbaron has joined #sailfishos06:04
*** jjanvier has joined #sailfishos06:06
*** f3an0r has quit IRC06:14
*** f3an0r has joined #sailfishos06:16
*** Tomiol80 has joined #sailfishos06:17
*** Tomiol80 has quit IRC06:37
*** SeekingFor has quit IRC06:38
*** SeekingFor has joined #sailfishos06:39
*** jpetersen_ has joined #sailfishos06:41
*** Kabouik has quit IRC06:42
*** ericcai has joined #sailfishos06:44
*** Sfiet_Konstantin has joined #sailfishos06:56
*** Khertan has joined #sailfishos07:00
Khertanwhile using the sailfish sdk i got a qt5 problem, maybe you can help me :  erreur : Python.h: No such file or directory ... and python-devel is installed in mer vm, Python.h is in /usr/include/python2.7 and i use in the .pro QMAKE_CXXFLAGS += $$system(python$${PYTHON_VERSION}-config --includes) ... any idea ?07:01
*** jukkaeklund_ has joined #sailfishos07:05
*** jukkaeklund has quit IRC07:05
*** veskuh has quit IRC07:10
*** gabriel9|work has joined #sailfishos07:11
*** kjokinie has quit IRC07:13
*** Vlad_on_the_road has joined #sailfishos07:15
*** ljp has quit IRC07:16
*** lpotter has quit IRC07:17
*** niqt has joined #sailfishos07:19
*** veskuh has joined #sailfishos07:24
*** ericcai has quit IRC07:27
*** special has quit IRC07:28
*** kjokinie has joined #sailfishos07:28
*** special has joined #sailfishos07:28
*** Xruxa has joined #sailfishos07:31
*** special has quit IRC07:36
*** special has joined #sailfishos07:36
*** diegoyam has quit IRC07:45
*** rcg has joined #sailfishos07:51
*** njeiseck has joined #sailfishos07:52
*** cxl000 has joined #sailfishos07:53
*** f3an0r has quit IRC07:53
*** Xruxa has quit IRC07:58
*** liar has joined #sailfishos07:59
*** maninc has quit IRC07:59
*** Xruxa has joined #sailfishos08:00
*** Vlad_on_the_road has quit IRC08:00
*** t7 has joined #sailfishos08:20
*** lpotter has joined #sailfishos08:20
*** Morpog_PC has joined #sailfishos08:21
*** Morpog_PC has quit IRC08:22
*** Morpog_PC has joined #sailfishos08:26
*** arcean has joined #sailfishos08:30
*** exec_s has joined #sailfishos08:32
*** Superpelican has joined #sailfishos08:36
*** Shaan7 has quit IRC08:38
*** zenvoid has joined #sailfishos08:40
*** maninc has joined #sailfishos08:42
*** f3an0r has joined #sailfishos08:42
*** niqt has quit IRC08:45
*** Shaan7 has joined #sailfishos08:49
*** maninc has quit IRC08:51
*** lpotter has quit IRC08:57
*** nahka has joined #sailfishos08:57
SuperpelicanSfiet_Konstantin:Just copied your query from my N900 with scp09:00
Superpelican<3 N90009:00
*** maninc has joined #sailfishos09:05
*** mmbushido has quit IRC09:10
*** Khertan has quit IRC09:10
*** trustq has quit IRC09:11
*** maninc has quit IRC09:15
*** lpotter has joined #sailfishos09:19
*** sdjayna1 has joined #sailfishos09:21
*** sdjayna has quit IRC09:23
*** toartist has quit IRC09:24
*** toartist has joined #sailfishos09:25
*** Custodian has joined #sailfishos09:25
*** b0bben has joined #sailfishos09:28
*** fk_lx has quit IRC09:30
*** fk_lx has joined #sailfishos09:31
*** niqt has joined #sailfishos09:32
*** maninc has joined #sailfishos09:32
*** kjokinie has quit IRC09:34
*** jukkaeklund_ has quit IRC09:34
*** arcean has quit IRC09:35
*** rcg has quit IRC09:37
Juice__Hi, can everybody else debug their QML applications?09:37
Stskeepswhat error do you gt?09:37
Juice__I get remote debugger plugin not enabled09:37
Juice__"QML Debugger: Ignoring "-qmljsdebugger=port:10000,block". Remote debugger plugin has not been found."09:37
Stskeepscan you try to install a package on vm?09:37
Juice__I just try to run it on sailfish emulator09:38
*** Tomiol80 has joined #sailfishos09:38
Juice__Stskeeps: how do I do that?09:38
Stskeepszypper install qt5-qtdeclarative-plugin-qmlinspector09:38
Stskeepsas root09:38
Juice__in the emulator or sdk?09:38
SuperpelicanSfiet_Konstantin: Adding CoverPage{} to ApplicationWindow{} leads to the Cover being displayed in my app! :(09:40
*** alci has joined #sailfishos09:40
SuperpelicanPlus creating the pages at app startup violates Jolla's: "only load when needed" ideology :(09:40
alciHi all09:41
*** maninc has quit IRC09:41
alciI looking for help to install latest alpha SDK... I get get this error when installing:09:41
alciError during installation process (org.merproject.mersdk):09:41
alciError while extracting installer://org.merproject.mersdk/0.0.6-7mersdk.7z: Extraction failed..09:41
alciThis is on Ubuntu 64bit. Known problem ?09:42
Juice__I installed the qt5-qtdeclarative... package on sdk, no help09:43
Juice__How do I get root in the emulator?09:43
*** b0bben has quit IRC09:43
aknightJuice__: are you ssh'd in?09:43
*** maninc has joined #sailfishos09:44
Juice__aknight: no09:46
aknightJuice__: are you at the console then?09:47
*** kjokinie has joined #sailfishos09:47
Juice__aknight: I just have the emulator running09:47
Juice__I am trying to think the default ssh port for it09:47
aknightJuice__: https://sailfishos.org/develop-faq.html09:47
aknightthe ssh command is there09:48
aknightand once you are logged in as nemo, you can su to root09:48
*** M4rtinK has joined #sailfishos09:48
*** f3an0r has quit IRC09:48
Juice__yeah, now I can debug. Thanks a lot09:50
Juice__Maybe this stuff should be there on the FAQ because I think I searched quite hefty for it09:50
Juice__apparently it is not wiki or anything, maybe I search for contact information09:51
StskeepsJuice__: yes09:52
Stskeepslbt: jake9xx: ^09:52
*** b0bben has joined #sailfishos09:52
*** rcg has joined #sailfishos09:54
*** piee has joined #sailfishos09:58
*** jpetersen_ has quit IRC10:02
*** lpotter has quit IRC10:02
*** lpotter has joined #sailfishos10:02
alciOk. I was trying to override an existing installation. Cleaning up things beforehand and reinstalling went fine.10:04
*** alci has left #sailfishos10:05
*** ericcc has quit IRC10:06
Sfiet_KonstantinSuperpelican: then don't create it, but encapsulates it well (expose properties functions to make it good)10:07
SuperpelicanSfiet_Konstantin:I've fixed the problems partially10:07
Superpelicanit's a bit difficult to explain10:07
Superpelicanbut I'll push the changes to Bitbucket10:07
Superpelicanso you can have a look10:07
kaltsiJuice__: what do you want to see in the faq?10:08
*** jukkaeklund has joined #sailfishos10:09
*** dhbiker has joined #sailfishos10:10
*** piee has quit IRC10:10
*** rcg has quit IRC10:12
Juice__kaltsi: that zypper install tip10:13
kaltsiJuice__: right.. it's mentioned in here https://sailfishos.org/wiki/SDK_Alpha_Qt5_Known_Issues10:13
kaltsimaybe the faq could have a link to there.. how do you find the faq? :)10:14
Morpog_PCmaybe add a big link from FAQ to known issues?10:14
SuperpelicanSfiet_Konstantin:I pushed the changeset to Bitbucket10:14
Juice__google, like anyone else10:14
Juice__I also searched for "remote debugger plugin not installed" and nothing game up10:14
Morpog_PCjuice_, i think he asked how you like the FAQ :)10:15
*** maninc has quit IRC10:15
SuperpelicanSfiet_Konstantin:Check the main.qml and CoverPage.qml pages10:15
kaltsino, I asked how can I find the faq by clicking around the site.. I've never seen it before :)10:16
aknightlbt gave me the faq link iirc :)10:16
Juice__yeah, you can't actually find it by navigating10:17
Superpelicankaltsi: http://sailfishos.org > Develop > Explore SDK > FAQ10:17
kontioyeah that is really hidden... we should have that more prominent...10:17
lbtkontio: ROFL - you're welcome to edit the raw html of every single page manually to change the menu structure :)10:19
kaltsiI think we could add the link to known issues to the faq10:20
fk_lxsome of the stuff is well hidden10:21
fk_lxand you ran into it by chance10:22
fk_lxor someone gives you direct link10:22
aknightso add a known issue that the faq is hard to find?10:23
fk_lxproposal for question in FAQ:10:25
*** b0bben has quit IRC10:25
fk_lxWhy is the FAQ so hard to find?10:25
kontioA: so people are forced to go to IRC a make new friends.10:26
*** maninc has joined #sailfishos10:27
kaltsihehe :)10:28
kaltsimaybe we could have a big FAQ tab on the Develop page10:28
SuperpelicanSfiet_Konstantin:No reply yet on the ML about the bug in the Silica Reference and Dialog compoent :(10:30
fk_lxSuperpelican: "all our specialist are busy at the moment, please call later"10:32
chriadamSuperpelican: didn't matt respond?10:32
chriadam"In your Clamshell dialog, you do not need to explicitly pop() the dialog page in response to the accept action; it is popped by the user's interaction (either a drag or an 'Accept' click), and the accepted signal is generated in response to this event"10:32
chriadam"you should use the onDone() handler to react to the user's actions, leaving the accepted() signal to be handled by users of your dialog"10:32
SuperpelicanI never got a reply10:33
*** M4rtinK has quit IRC10:33
*** Tomiol80 has quit IRC10:33
SuperpelicanI'll check my web mail10:33
chriadamhrm, maybe the mailman got held up.  anyway, I pasted most of the reply from mvogt.  He also said thanks for mentioning the bugs in the docs, and he'll endeavour to fix them asap.10:33
Superpelicanchriadam:I've missed the mail10:36
Superpelicannever knew it came in10:37
Superpelicanchriadam:Don't understand the last part of the mail though10:37
SuperpelicanLooks like he thinks I'm creating a custom dialog derived from Dialog{}10:37
Superpelicaninstead of an app10:37
chriadamYes, I think that's what he's assuming10:37
chriadamMaybe that bit isn't applicable to you10:38
Superpelicanand the dialog isn't popped10:38
Superpelicanit's still on the pageStack10:38
chriadamhow did you push it?10:38
Superpelicanwell the dialog is accepted10:38
Superpelicanbecause the action I defined in onAccepted10:38
Superpelicanbut the dialog is still on the pageStack10:39
Superpelicanthe user just switches to a new page10:39
chriadamif you reimplement onDone instead of onAccepted, does it work "properly"?10:39
chriadamjust wondering whether the signal gets delivered to you, instead of to the pagestack which should do the popping etc.. (although that sounds crazy, both should be called)10:39
Superpelicana video of it10:41
Superpelicanit's very laggy though10:41
*** piee has joined #sailfishos10:41
*** VDVsx has quit IRC10:42
*** VDVsx_ has joined #sailfishos10:42
chriadamhrm pageStack.push(Qt.resolvedUrl("EnterMultiplicationTableDialog.qml"), {"startPage": startPage})10:42
*** VDVsx_ is now known as VDVsx10:42
chriadamthat... seems fine.  I wonder if the fact that you're holding a reference to it, makes a difference?  it shouldn't, but perhaps the pageStack won't destroy it in that case (and so it won't get popped)10:43
chriadambut.. I dunno, that would be strange, I think, since the pagestack explicitly owns it10:43
chriadamhrm, not sure.  I suggest sending matt another email, asking what's going on there.  It should be popped automatically, tbh.10:43
Superpelicanchriadam:CoverPage.qml is broken currently, so please ignore it for now ;)10:43
*** piee has quit IRC10:45
*** fk_lx has quit IRC10:47
*** fk_lx has joined #sailfishos10:48
*** b0bben has joined #sailfishos10:57
*** maninc has quit IRC11:03
*** jpetersen_ has joined #sailfishos11:08
*** toartist_ has joined #sailfishos11:08
*** toartist has quit IRC11:11
*** kaxing_ has quit IRC11:13
*** piee has joined #sailfishos11:14
*** veskuh has quit IRC11:15
*** piee has quit IRC11:19
SuperpelicanSfiet_Konstantin:I've fixed all the issues! :D11:19
SuperpelicanI've updated the Bitbucket repo too11:20
*** rcg has joined #sailfishos11:27
*** veskuh has joined #sailfishos11:28
*** rcg has quit IRC11:33
*** rcg has joined #sailfishos11:34
*** piee has joined #sailfishos11:36
Sfiet_KonstantinSuperpelican: :)11:40
Sfiet_Konstantinawesome :):)11:40
SuperpelicanSfiet_Konstantin:I'm thinking about removing the cover actions again though11:41
Superpelicanthey're pretty useless11:41
Sfiet_KonstantinSuperpelican: do what you want :)11:41
Superpelicanthey don't maximize the app again11:41
Sfiet_Konstantinit is your app afterall11:41
Sfiet_KonstantinSuperpelican: they should11:41
Sfiet_Konstantinor it is a bug11:41
Sfiet_Konstantin(in Sailfish side)11:41
*** jpetersen_ is now known as jpetersen11:45
SuperpelicanSfiet_Konstantin:I'll record all the bugs I have11:46
Superpelicanffmpeg screen recording works decently11:47
SuperpelicanI've written a short script for it11:47
Sfiet_Konstantinmind sharing it to the ML ?11:48
*** triggerhappy has quit IRC11:54
*** ericcc has joined #sailfishos12:02
SuperpelicanSfiet_Konstantin:Oh, turns out Matthew Vogt responded to my mail about the bug in Dialog{}12:03
SuperpelicanSfiet_Konstantin:But he misunderstood me12:03
Superpelicannow he thinks I'm creating a custom dialog instead of an Sailfish app -_-12:03
*** piee has quit IRC12:04
*** martyone has quit IRC12:05
*** Venemo_ has joined #sailfishos12:06
*** ericcc has quit IRC12:08
Sfiet_KonstantinSuperpelican: make yourself clear.12:09
*** jukkaeklund has quit IRC12:17
*** niqt has quit IRC12:25
*** niqt has joined #sailfishos12:25
*** maninc has joined #sailfishos12:25
*** amccarthy has quit IRC12:26
*** exec_s has quit IRC12:28
*** triggerhappy has joined #sailfishos12:28
*** ketil_k has joined #sailfishos12:30
*** jukkaeklund has joined #sailfishos12:38
*** Ketil has joined #sailfishos12:40
*** maninc has quit IRC12:41
*** ketil_k has quit IRC12:43
*** amccarthy has joined #sailfishos12:45
*** Superpelican has quit IRC12:52
*** arcean has joined #sailfishos12:52
*** dhbiker has quit IRC12:57
*** ericcc has joined #sailfishos13:02
*** jukkaeklund_ has joined #sailfishos13:04
*** arcean_ has joined #sailfishos13:06
*** vzidek has joined #sailfishos13:06
*** veskuh has quit IRC13:08
*** jukkaeklund has quit IRC13:08
*** arcean has quit IRC13:09
*** ericcc has quit IRC13:10
*** ericcc has joined #sailfishos13:10
*** piee has joined #sailfishos13:11
*** niqt has quit IRC13:15
*** piee has quit IRC13:15
*** chriadam has quit IRC13:15
*** toartist_ has quit IRC13:16
*** toartist has joined #sailfishos13:16
*** vzidek has left #sailfishos13:16
*** Superpelican has joined #sailfishos13:20
*** jukkaeklund_ has quit IRC13:23
*** veskuh has joined #sailfishos13:23
*** piee has joined #sailfishos13:34
*** arcean_ has quit IRC13:37
*** piggz_ has joined #sailfishos13:38
*** piee has quit IRC13:42
*** nodevel has joined #sailfishos13:43
*** veskuh has quit IRC13:46
*** jpetrell has quit IRC13:50
*** piggz_ has quit IRC13:53
*** piggz_ has joined #sailfishos13:53
SuperpelicanSfiet_Konstantin:I'm having problems with porting the C++<->QML part of my app to Qt513:53
*** veskuh has joined #sailfishos13:53
SuperpelicanQObject * QMLrootobject = view->rootObject() doesn't work anymore for example13:53
Superpelicanit's complaing about that you can't convert a QQuickItem pointer to a QObject pointer13:54
*** piee has joined #sailfishos13:54
SuperpelicanChanged QObject -> QQuickItem13:54
Sfiet_Konstantinview.data()->rootObject() ?13:54
Superpelicanwill try13:55
Sfiet_Konstantinor not13:55
Sfiet_Konstantinwell, maybe not13:55
Sfiet_Konstantinyou need some includes13:55
Sfiet_Konstantintry including <QtQuick/QQuickItem> ?13:55
SuperpelicanSfiet_Konstantin:Isn't there a guide for QML<->C++ for Qt5?13:56
Sfiet_KonstantinSuperpelican: that's not a guide problem13:56
Sfiet_Konstantinthis should work13:56
*** trustq has joined #sailfishos13:56
Sfiet_Konstantinand  a QQuickItem is a QObject13:56
Sfiet_Konstantinso the compilter is complaining because it might not understand what is a QQuickItem13:57
Sfiet_Konstantinso, my guess is that QQuickItem is forward declared13:57
Sfiet_Konstantinand you need an include13:57
SuperpelicanSfiet_Konstantin:But in Qt4 everyone used QObject13:57
Sfiet_KonstantinSuperpelican: compile with the incude13:58
SuperpelicanI've never seen QDeclarativeItem * rootobject = view.rootObject()13:58
*** piee has quit IRC13:58
Sfiet_KonstantinSuperpelican: please comile with the include and see if it work or not13:59
SuperpelicanSfiet_Konstantin:error: no matching function for call to 'QQuickItem::findChild(const char [10])'13:59
Sfiet_KonstantinSuperpelican: try to manage :)14:01
Sfiet_Konstantinat least the error is not the same :)14:01
Sfiet_Konstantin(actually, your code was good, but you just did not had the good include)14:01
piggz_if i put the source for my news reader online, would anyone test it on a device? (the acceptible responses are 1) yes 2) no, but i know someone who will send you a device)14:01
Sfiet_Konstantinpiggz_: 3)14:01
Sfiet_Konstantinpiggz_: do you have an owncloud instance ?14:01
Sfiet_Konstantinor you can test with emulator can't you ?14:02
*** piee has joined #sailfishos14:02
piggz_Sfiet_Konstantin: of course, thats why i made the app in the first place...to free ymself from google reader :)14:02
piggz_Sfiet_Konstantin: yes, its working ok in the emulator14:02
Sfiet_Konstantinpiggz_: an owncloud instance that i can have access O:) ?14:02
Sfiet_KonstantinI have no owncloud instance, but i might be able to test14:02
piggz_i think i will merge the code back into the main project, it doesnt seem difficult supporting qt4 and 5 in one base14:03
piggz_Sfiet_Konstantin: lets see how i get on in the next hour, and you can ofcouse have a user account on my owncloud14:03
piggz_(patiently waiting for windows vm to boot up so i can control my sonos speakers ... all the android tablets are on holiday!!!)14:04
Sfiet_Konstantinpiggz_: :D14:04
SuperpelicanSfiet_konstantinhttp://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-interactqmlfromcpp.html QObject *object = view.rootObject() really should work14:05
SuperpelicanSfiet_Konstantin: http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-interactqmlfromcpp.html14:05
Sfiet_KonstantinSuperpelican: it works14:05
Sfiet_Konstantinjust that your code do not14:05
Sfiet_Konstantinand you are doing it wrong14:05
Sfiet_Konstantinsorry :(14:05
*** piee has quit IRC14:06
SuperpelicanSfiet_Konstantin:http://paste.kde.org/p67df54e6/ Have a look yourself ;)14:07
piggz_honestly, the sonos speakers are great, but youd think that a product with linux at its core could come with a linux client!14:07
Superpelicanpiggz:That's the problem with lots of stuff14:09
SuperpelicanI heard N9 doesn't work with Linux well either14:09
*** brunelli has joined #sailfishos14:09
Sfiet_KonstantinSuperpelican: what do not works ?14:09
*** toartist has quit IRC14:09
SuperpelicanSfiet_Konstantin:error: cannot convert 'QQuickItem*' to 'QObject*' in initialization14:10
Superpelicanit keeps complaining about that14:10
SuperpelicanAlso I noticed that I get different errors14:10
Superpelicanwhen QObject *object14:10
Superpelicanand QObject * object14:10
*** piggz_ has quit IRC14:10
Superpelicaniirc in Qt4 I also had <dynamic_cast>14:11
Sfiet_KonstantinSuperpelican: well14:11
Superpelicantoo bad I just deleted the Qt4 version this morning14:11
*** piee has joined #sailfishos14:11
Sfiet_Konstantinactually, please read the doc for findchild :)14:11
Sfiet_Konstantinyou will find out yourself14:11
SuperpelicanSfiet_Konstantin:Should you know the "C++ and QML docs by heart"? :P14:12
Sfiet_KonstantinSuperpelican: well, if you don't, read them14:12
Sfiet_Konstantin(but for QML docs, you will quickly learn them by heart, there is no much stuff)14:12
*** brunelli has left #sailfishos14:13
Sfiet_Konstantinfor C++ docs, it is harder, honestly :P14:13
SuperpelicanSfiet_Konstantin: "QObject *rect = object->findChild<QObject*>("rect");"14:13
SuperpelicanI knew ->findChild("startPage") looked a bit too clean and short ;)14:13
Sfiet_Konstantinyep, it is a templated call14:14
*** piee has quit IRC14:14
SuperpelicanSfiet_Konstantin:I'm sure I'm doing it right this time: error: cannot convert 'QQuickItem*' to 'QObject*' in initialization14:16
Sfiet_Konstantinsounds strange14:16
SuperpelicanSfiet_Konstantin:I'm really sure: http://paste.kde.org/p649918dc/14:17
aknightQQuickItem's header needs to be included to make that cast work14:17
Superpelicanfrom the Qt docs14:17
Superpelicanfor Qt514:17
*** rcg has quit IRC14:18
Sfiet_Konstantinaknight: it is included14:18
Sfiet_Konstantinand that puzzles me14:18
SuperpelicanSfiet_Konstantin:I forgot to tell you14:18
Superpelicanthat I changed the QQuickItem to QObject14:18
Superpelicanthe last 2 times14:18
Sfiet_KonstantinSuperpelican: ...14:19
Superpelicanit works now though14:19
SuperpelicanSfiet_Konstantin:Adding the objectName broke main.qml14:22
SuperpelicanSfiet_Konstantin:file:///opt/sdk/Quick2Clamshell/usr/share/Quick2Clamshell/main.qml:14: ReferenceError: startPage is not defined14:22
Superpelicanwhen does this endless stream of errors stop?14:23
Superpelicaneverything single thing I change causes an error14:23
*** gabriel9 has joined #sailfishos14:23
*** gabriel9|work has quit IRC14:24
*** arcean has joined #sailfishos14:25
*** jpetrell has joined #sailfishos14:29
*** mhall119 has quit IRC14:34
*** Venemo_ has quit IRC14:34
*** rcg has joined #sailfishos14:36
*** piggz has joined #sailfishos14:39
*** mhall119 has joined #sailfishos14:40
*** exec_s has joined #sailfishos14:43
*** simbrown has quit IRC14:43
SuperpelicanSfiet_Konstantin:Fixed it14:52
SuperpelicanI did objectName: startPage instead of objectName: "startPage"14:52
*** Sfiet_Konstantin has quit IRC14:54
*** Superpelican has quit IRC14:55
*** Superpelican has joined #sailfishos14:55
*** trustq has quit IRC14:59
piggzis there a qmake directive for a sailfish section?15:00
*** Xruxa has quit IRC15:02
*** rcg has quit IRC15:04
*** rcg has joined #sailfishos15:06
*** M13 has joined #sailfishos15:08
*** Sfiet_Konstantin has joined #sailfishos15:11
*** gabriel9 has quit IRC15:13
*** arcean has quit IRC15:17
*** VitaBushido has quit IRC15:18
*** fk_lx has quit IRC15:19
*** VitaBushido has joined #sailfishos15:19
piggzSfiet_Konstantin: is there any ifdefs for sailfish (and qmake) ?15:19
*** fk_lx has joined #sailfishos15:20
*** rm_work_ has joined #sailfishos15:20
*** b0bben has quit IRC15:29
*** ottulo has quit IRC15:30
*** ottulo has joined #sailfishos15:31
*** jayrulez has joined #sailfishos15:32
*** piee has joined #sailfishos15:32
*** diegoyam has joined #sailfishos15:33
*** b0bben has joined #sailfishos15:34
*** trustq has joined #sailfishos15:36
*** jjanvier has quit IRC15:56
*** ericcc has quit IRC16:11
*** m4g0g has joined #sailfishos16:11
*** louisdk has joined #sailfishos16:17
*** njeiseck has quit IRC16:23
*** jjanvier has joined #sailfishos16:31
*** spider-mario has joined #sailfishos16:34
*** mikhas has joined #sailfishos16:39
*** liar has quit IRC16:40
*** jjanvier has quit IRC16:40
*** rcg has quit IRC16:46
*** liar has joined #sailfishos16:54
Sfiet_Konstantinpiggz: there is one iirc16:56
Sfiet_Konstantinlike checking for pkgconfig with sailfishsilica16:56
Sfiet_Konstantinand from here you can define an ifdef16:56
piggzSfiet_Konstantin: i found one that used qmake load to check for sailfishsilicabackground .. but that didnt seem to work, and i couldnt see any .prf files for such a thing in the sdk .. maybe pgkconfig will work16:57
*** arcean has joined #sailfishos16:58
piggzputting my inkscape skill to the test http://imgur.com/0mronbB17:00
Yanielpiggz: awesome!17:01
Sfiet_Konstantinreally nice17:01
Sfiet_Konstantinmaybe make the owncloud logo smaller and emphasize on the fish ?17:01
Yanielnow add a sailfish icon shape as background17:01
Sfiet_Konstantinalright, after the mae-<something>17:01
*** liar has quit IRC17:01
Yanielmaybe the "tombstone" shape17:01
Sfiet_Konstantinhere is the <something>-fish17:01
*** sardini has joined #sailfishos17:02
piggzSfiet_Konstantin: the name came from somone on twitter complianing about -fish of siail- names .... so i did it as a joke and it stayed17:02
Sfiet_Konstantinthere is nothing to complain about it imo17:03
Sfiet_Konstantinand I thought about doing a blowfish that looks like a sun as a logo17:03
piggzanyway, back to coding, ive spent too much time on the icon!17:04
Sfiet_Konstantinpiggz: worthj it17:06
*** liar has joined #sailfishos17:09
piggzSfiet_Konstantin: looking thru the sdk pckgonfig files, i cant see anything for silica ... best thing so far is qdeclarative5-boostable.pc .... there is a good chance that is sailfish only?17:10
Stskeepsnot sailfish only, it's in mapplauncher17:10
Sfiet_Konstantinpiggz: interesting ...17:11
Sfiet_Konstantinno sailfishsilica thing ?17:11
piggznot that i can see in /srv/mer/targets/sailfishos..../usr/lib/pkgconfig17:12
*** Khertan has joined #sailfishos17:19
Khertani require some help ... i ll going mad trying to understand a simple problem ... items from my model isn't displayed in my SilicaListView17:20
Khertanand none error17:20
piggzKhertan: im, ive had no problems...did you use qmlregistertype ?17:21
Khertanqmlregistertype ? model is filled in qml17:22
piggzah, not a c++ model then17:22
Khertanhttp://pastebin.com/HhxhtGdt <<< firstpage.qml17:23
Sfiet_KonstantinKhertan: ooc17:23
Khertanhttp://pastebin.com/g2Fygptf <<< main.qml17:23
KhertanSfiet_Konstantin: hi17:23
Sfiet_Konstantinconsole.debug(notesModel.length ?)17:24
Sfiet_Konstantinout of curiosity17:24
Sfiet_Konstantinhello Khertan :)17:24
Sfiet_Konstantinso there is something17:24
KhertanSfiet_Konstantin: yep there is something17:24
Sfiet_KonstantinKhertan: try to just draw a big and ugly rectangle ?17:24
Sfiet_Konstantindelegate: Rectangle { width: parent.width; height: 100: color: "red" } ?17:25
Khertani have even try Label { text : 'test' }17:25
Sfiet_KonstantinKhertan: I wonder if you have to reset the model when populated17:25
Sfiet_Konstantin(like notesView.model = notesModel)17:26
Sfiet_Konstantinever tried to just add dummy entries in the model ?17:26
Sfiet_Konstantinusing something like JS N17:26
Khertanoh ... hum... that s not the case in harmattan :)17:26
Khertanwill try17:26
Khertanlet s see what ugly rectangle do ....17:27
Khertantest is slow17:27
Khertanto run in the vm17:27
Sfiet_Konstantinit is rather fast when you only change qml17:27
Sfiet_Konstantinbut yeah, I have seen faster17:27
Khertanoh that not fast when changing only qml ... the slow part is deploy17:28
Sfiet_KonstantinKhertan: IMO the slow part is parsing the spec, pro etc file17:28
Khertanlol no ugly rectangle17:28
Khertanlet see with a sync()17:28
Sfiet_Konstantinsomething interesting:17:29
Sfiet_Konstantinwhy a silicaflickable ?17:29
Sfiet_Konstantinjust use the silicalistview17:29
Sfiet_Konstantin(I think that your silicalistview is anchoring to something empty17:30
*** triggerhappy has quit IRC17:31
KhertanQML ListModel: List sync() can only be called from a WorkerScript17:31
*** rm_work_ has quit IRC17:32
Sfiet_KonstantinKhertan: remove the flickable ?17:32
Sfiet_Konstantinyou can put pulley in siicalistview17:32
Khertanyep ... don't know why it s here :)17:33
Khertanprobably result of my while True:17:33
Khertanmethodology :)17:33
KhertanSfiet_Konstantin: thx a force de chercher on finit par ne plus rien trouver :p17:34
Sfiet_KonstantinKhertan: hehe, that's true17:34
Sfiet_Konstantinand good to see you in the Jolla ship17:34
Sfiet_Konstantinhunting for sailfishes17:34
KhertanLOL that s works no17:34
Khertanmouarf !17:34
Sfiet_KonstantinKhertan: ??17:35
Khertanthat s work17:35
Khertanwhy b17:35
Khertanarg ... never let your kid touch a laptop keyboard17:35
Sfiet_Konstantinb ?17:35
Khertankey broken :)17:35
Khertani mean : that's work now17:36
Khertanspace can trigger alt key, b or v ... * can trigger return and w trigger shift17:37
Sfiet_Konstantinthat's nice17:37
Sfiet_Konstantintime to change kbd it seem17:37
Khertanand laptop17:37
Sfiet_Konstantinif it is a laptop, just plug an external kbd :)17:38
*** Superpelican has quit IRC17:39
KhertanSfiet_Konstantin: need a bluetooth keyboard as usb is broken ...17:39
Sfiet_KonstantinKhertan: alright17:39
Khertanand bluetooth chipset didn't work in linux17:39
Sfiet_Konstantintime to change laptop17:39
Khertan3 year old... and battery discharging too fast17:40
Sfiet_KonstantinKhertan: well, I had to change the battery of my LX20017:41
Sfiet_Konstantinbecause it was holding 15 min17:41
Sfiet_Konstantinit had 4 yo17:41
Sfiet_Konstantinbut close to anything were perfectly working17:41
Sfiet_Konstantin(but the CPU was rather old)17:41
Sfiet_Konstantinnow I upgraded to a LX20...1 !17:41
Khertanthat s a toshiba portege m800 ... too hot, bad trackpad, bad keyboard17:41
Sfiet_KonstantinKhertan: time to grab Lenovo, I tell you17:42
KhertanSfiet_Konstantin: yep ... just need the money17:42
Sfiet_Konstantinwell, it is not the IBM era of unkillable computers17:42
Sfiet_Konstantinhowever the Lenovo Thinkpads are pretty good17:42
Sfiet_Konstantinthe T series is affordable17:42
Sfiet_KonstantinKhertan: buy an old X2xx17:42
Sfiet_Konstantin201, 210 etc17:42
Sfiet_Konstantinthey should be rather inexpensive17:43
Sfiet_Konstantinand are pretty good17:43
KhertanSfiet_Konstantin: AMD Fusion E450 ?17:46
Sfiet_KonstantinKhertan: don't know much about AMD17:47
Sfiet_Konstantinbut sn't fusion something made for mobility17:47
Sfiet_Konstantin(tablets etc)17:47
KhertanSfiet_Konstantin: X121e model ... i like 11"17:47
Khertanand now the dvd reader is broken too17:51
Sfiet_Konstantin11 isn't it a bit small ?17:52
Sfiet_KonstantinI prefer 13'17:52
*** Plnt has quit IRC17:52
*** Plnt has joined #sailfishos17:53
KhertanSfiet_Konstantin: in rer i prefer to have small screen17:54
*** Kabouik has joined #sailfishos17:54
Sfiet_KonstantinKhertan: true17:55
Sfiet_Konstantinbut 11 is IMO too small17:55
Sfiet_Konstantin(just imo)17:55
Khertanyeah indeed ... can't display completely qtcreator dialog you can't see button on the bottom17:56
yuntause emacs, problem solved ;P17:58
Khertanyunta: even the sailfish sdk installer17:59
Khertanyunta: but yes qtcreator is  used only for the build/run button17:59
Khertanyunta: else i code in vim17:59
Khertanand i write qml in qtcreator (but writing qml isn't coding)18:00
yuntaah, you can easily build/run from script I think, if that would help you18:00
Khertanyunta: i ve enought strange problem to add more by not using provided tools :)18:00
*** exec_s has quit IRC18:04
*** rm_work_ has joined #sailfishos18:10
*** arcean has quit IRC18:16
piggzSfiet_Konstantin: i think i have: 1 Codebase for 2 Qt versions supporting 3 platforms18:17
Sfiet_Konstantinpiggz: :)18:22
piggzSfiet_Konstantin: my .pro file is a bit of a mess tho! ;)18:23
piggzand lets not talk about main.cpp!18:23
*** m4g0g has quit IRC18:28
*** b0bben_ has joined #sailfishos18:40
*** blue787 has quit IRC18:48
KhertanSfiet_Konstantin: did u have example of source targetting qt4 harmattan and qt5 ?18:58
*** furikku has quit IRC19:00
*** blue787 has joined #sailfishos19:04
*** dhbiker has joined #sailfishos19:08
Juice__hi, can someone please hint how can I extend qt quick canvas element19:12
Juice__in C++19:12
KhertanThe TextArea type provides a display for multiple lines of editable rich text. but it look like it didn't support richtext19:13
*** blue787 has quit IRC19:15
Khertanor which format is it ?19:15
*** blue787 has joined #sailfishos19:17
piggzSfiet_Konstantin: id be interested to know if you can build this code https://github.com/owncloud/News-Qt-App19:18
piggzjust pushed the sailfish support19:18
piggzit seems to mostly work19:18
piggzjust in time for me to go on holiday at 5am tomorrow morning!19:18
*** vogon has joined #sailfishos19:20
*** M4rtinK has joined #sailfishos19:25
*** blue787 has quit IRC19:25
*** blue787 has joined #sailfishos19:28
*** Shaan7 has quit IRC19:29
*** blue787 has quit IRC19:32
*** b0bben has quit IRC19:39
*** b0bben_ is now known as b0bben19:39
*** blue787 has joined #sailfishos19:42
*** b0bben has quit IRC19:46
*** rcg has joined #sailfishos19:50
*** blue787 has quit IRC19:51
*** phaeron has quit IRC19:55
*** blue787 has joined #sailfishos19:55
*** jpetersen_ has joined #sailfishos19:55
*** jpetersen has quit IRC19:58
*** blue787 has quit IRC20:00
*** blue787 has joined #sailfishos20:03
*** dhbiker has quit IRC20:06
*** blue787 has quit IRC20:08
*** blue787 has joined #sailfishos20:13
*** nodevel has quit IRC20:14
*** blue787 has quit IRC20:20
*** Custodian has quit IRC20:21
*** Vlad_on_the_road has joined #sailfishos20:21
*** SfietKonstantin has joined #sailfishos20:21
*** blue787 has joined #sailfishos20:24
*** Sfiet_Konstantin has quit IRC20:24
*** blue787 has quit IRC20:28
Khertanpiggz: if u are interested in a note taking application with ownCloud sync, i'm currently porting KhtNotes20:30
*** itbaron has quit IRC20:33
*** nodevel has joined #sailfishos20:33
*** blue787 has joined #sailfishos20:33
*** VitaBushido_ has joined #sailfishos20:37
M4rtinKKhertan: I'm following your PyOtherSide progress20:37
M4rtinKKhertan: good job ! :)20:37
KhertanM4rtinK: thx20:37
KhertanownNotes (the KhtNotes clones is already working in harmattan ... i test it a bit more and i ll release it)20:38
*** VitaBushido_ has quit IRC20:38
*** blue787 has quit IRC20:38
KhertanM4rtinK: i currently discovering Silica components20:38
M4rtinKusing PyOther side ?20:38
KhertanM4rtinK: and having bad surprise20:38
KhertanM4rtinK: yep using pyotherside20:38
KhertanM4rtinK: i should name it pyotherotherside ... as thp4 will probably update pyotherside, but use a different way i do it20:39
KhertanM4rtinK: http://github.com/khertan/ownNotes20:39
*** VitaBushido_ has joined #sailfishos20:39
*** Vlad_on_the_road has quit IRC20:39
M4rtinKwell, we will see :)20:39
M4rtinKI guess you can merge it once he releases his stuff :)20:40
*** VitaBushido has quit IRC20:40
KhertanM4rtinK: probably20:40
M4rtinKI'll check out ownNotes - example code is what I need at the moment :)20:40
KhertanM4rtinK: but the idea was so interesting that i couldn't wait he release it :)20:41
M4rtinKbtw, what was that bad surprise with Silica ?20:41
*** nodevel has quit IRC20:41
M4rtinKyep, same sentiment :)20:41
KhertanM4rtinK: i'm writing mail to the devel mailing list20:41
KhertanM4rtinK: TextArea look like not supporting richtext20:41
M4rtinKyesterday is too late :D20:41
*** blue787 has joined #sailfishos20:41
specialKhertan: for input?20:42
M4rtinKcould be that it is not yet supported20:42
KhertanM4rtinK: And same problem as in Harmattan in managing textarea and flickable20:42
Khertanspecial: for input yes20:42
*** piggz has quit IRC20:42
M4rtinKwell, my current plan is just to use the built in Controls, at least initially20:42
M4rtinKdue to cross platform compatibility20:43
specialKhertan: TextArea is built on QtQuick's TextEdit, it should support the same as that does.20:43
Khertanspecial: didn't know what QtQuick's TextEdit support, but it couldn't be worse than in Qt4 :p20:45
*** blue787 has quit IRC20:45
specialKhertan: I'm not sure of the details for editing, yeah.20:46
Khertanspecial: hum textedit have a property textFormat: and a enum TextEdit.RichText20:47
specialit's able to display basic HTML formatting, but I don't know how well it'll handle editing.20:47
Khertanspecial: on qtquick1 it was handling well editing20:47
specialwell, then you can expect at least that much :p20:47
Khertanspecial: i ve even made a source code editor with it :p20:48
Khertanspecial: http://khertan.net/static/medias/khtsimpletext_screenshot_4.png20:48
specialhm, nice.20:48
specialqt 5.1 does actually allow you to get access to the QTextDocument for a TextEdit from C++ code20:49
specialwhich means you can use QSyntaxHighlighter and all of the extensive rich document support QTD has20:49
specialbut that's quite a bit more elaborate.20:49
Khertanspecial: oh... this mean i could use QSyntaxHighlighter20:49
Khertanspecially when i will port KhtSimpleText20:50
Khertanspecial: file:///opt/sdk/ownNotesForSailfish/usr/share/ownNotesForSailfish/pages/EditPage.qml:25 Cannot assign to non-existent property "textFormat"20:51
Khertanspecial: so it s didn't herit all TextEdit property20:51
specialKhertan: hmph, yeah, it's aliasing some of them20:52
specialthe technically-private-API workaround is _editor.textFormat20:52
*** Vlad_on_the_road has joined #sailfishos20:52
*** piggz has joined #sailfishos20:53
*** SfietKonstantin has quit IRC20:54
piggzargh, gotta boot up my windows vb again, jsut to control my speakers!20:54
Khertanspecial: source of silica components are available ?20:56
specialKhertan: not as far as I know, unfortunately.20:57
Khertanspecial: will be difficult to fork for my own needs so :p20:57
Khertanspecial: _editor.textformat : Cannot assign to non-existent property "textFormat"20:59
specialyou might need to do it imperatively, as in Component.onCompleted: _editor.textFormat = Text.RichText20:59
Khertanthe fact that cascade didn't support richtext in their text components was the reason why i didn't want to do apps for bb10 ...21:00
Khertani ll try21:00
specialwe should be aliasing that property, probably.21:00
*** blue787 has joined #sailfishos21:00
*** Vlad_on_the_road has quit IRC21:00
Khertanspecial: any advice on how to use a textarea in a silicaflickable whitout using a scroll mode and a input mode ?21:01
specialhm, what do you mean?21:02
Khertanspecial: when i ve a long textarea i put it in a flickable item, but as textarea take input and focus21:03
Khertani can't scroll the text21:03
Khertanon qtquick flickable there was a         pressDelay property21:04
Khertanif delay was higher the textarea got the input21:04
Khertanelse the flickable catch it21:05
*** blue787 has quit IRC21:05
specialdo you mean scrolling while editing, or scrolling without the area being focused?21:05
Khertanspecial: both :)21:05
specialI don't have any trouble doing either with the expanding text area in component gallery's input page21:05
Khertanspecial: oh ... maybe that my implementation21:06
M4rtinKKhertan: I've just finished a first pass through the ownNotes source21:06
M4rtinKKhertan: looks fabulous ! :D21:06
Khertanspecial: youhou! the _editor.textFormat in onCompleted works! thx a lot21:07
M4rtinKeven in this state, it would be usable for a modRana & Mieru port21:07
M4rtinKwith some hacks though21:07
*** blue787 has joined #sailfishos21:07
KhertanM4rtinK: even in this state it should be usable for everythings i think21:07
KhertanM4rtinK: which hack did you think of ?21:08
M4rtinKKhertan: it is currently basically one way, when not counting running the code in a (Qt) thread21:09
M4rtinKmy apps do all threading in Python21:09
M4rtinKso I need to make the QtQuick aware that for example an address search just finished21:10
M4rtinKor offline route lookup, etc.21:10
KhertanM4rtinK: the onMessage is here for that21:10
Khertanwith threadedCall21:10
*** b0bben has joined #sailfishos21:10
KhertanM4rtinK: one problem is that i lock the GIL so only one threadedCall is executed at the same time21:12
M4rtinKwell, sure, I could  just run a blocking version of the search with threadedCall21:12
*** blue787 has quit IRC21:12
KhertanM4rtinK: if you have better idea or patch your welcome ;)21:12
M4rtinKKhertan: well, the problem is I'm not really that fond of C++ :)21:13
KhertanM4rtinK: I was using a python thread for the sync of KhtNotes ... in ownNotes i didn't thread it, but i use it with threadedCall21:13
M4rtinKI've done some simple modifications to the QtC C++ code to get rotation work on BB10 and Android21:13
*** zetaz has joined #sailfishos21:13
M4rtinKbut that qpython C++ looks seriously crazy in comparison :)21:14
KhertanM4rtinK: i wasn't too ...that why i made that modification to PyOtherSide ... to avoid doing my apps in c++21:14
KhertanM4rtinK: you didn't know how segfault i ve made during the exploration of GIL21:14
Khertanpython has a silly capi21:15
*** blue787 has joined #sailfishos21:16
M4rtinKI think some way will be needed to just kinda start a "Python thread", that can bot react to signals from QML and trigger signals in QML21:17
Khertanspecial: source of components gallery is available somewhere?21:17
*** datagutt has quit IRC21:18
M4rtinKsomething like threadedCall that can send multiple onMessage signals21:18
*** lpotter has quit IRC21:19
KhertanM4rtinK: hum ... yep and not just on return21:19
M4rtinKKhertan: yeah, and you can send it events21:19
Khertanso this mean exposing a c extension to python interpreter21:19
specialKhertan: hmm, is it in the SDK examples or something?21:19
M4rtinKKhertan: yeah, that would be that way I think21:20
specialKhertan: anyway, it's just a SilicaFlickable { contentHeight: column.height; Column { ... TextArea { } } }. TextArea will size itself with implicitHeight as long as you don't set height21:20
specialKhertan: contentHeight on the flickable is important21:20
*** blue787 has quit IRC21:20
M4rtinKany it should communicate asynchronously - just passing data in queues or something similar21:20
Khertanspecial: lol indeed it s in the example ;)21:21
Khertanspecial: that's what i do ... with contentHeight: childrenRect.height21:21
specialavoid childrenRect21:21
specialor if you use it, you need to do contentItem.childrenRect.height21:21
M4rtinKthis would enable stuff like telling the Python backend: "fetch me these 30 images", backend launches a 10 thread pool, fetches the data and sends a message once done21:22
Khertanspecial: oh ...21:22
Khertanthis explain that :)21:22
KhertanM4rtinK: yep but should be complicated to implement21:22
KhertanM4rtinK: extending python in a embedded python...21:23
M4rtinKKhertan: it is a challenge :)21:23
KhertanM4rtinK: yep...21:23
M4rtinKKhertan: while the current implementation covers most of the ground needed, I think something like that needs to be done eventually :)21:26
M4rtinKKhertan: worst case I'll have to learn some C/C++ :D21:26
M4rtinKto make it happen :)21:26
*** piggz has quit IRC21:26
KhertanM4rtinK: i ll try to find some time this weekend to do it21:26
KhertanM4rtinK: will be busy next days21:27
M4rtinKKhertan: BTW, the other stuff missing that is quite critical for my use cases is image loading21:27
*** piggz has joined #sailfishos21:28
M4rtinKKhertan: while some horrible hack like passing path to temporary files can be probably used as a workaround21:28
*** piggz has quit IRC21:28
M4rtinKKhertan: being able to pass file objects with images to the QML context will be really handy21:29
KhertanM4rtinK: it s not horrible... that s a nuclear strike21:29
M4rtinKKhertan: but doable with current state o POS :)21:29
M4rtinKtwo Python calls - first returns the path21:30
KhertanM4rtinK: and the neutrino version : encoding your image in b64 and decoding it in qml21:30
M4rtinKonce the image finishes loading, you do a "image loaded" call, and that's it, it can be removed21:30
Khertanwhat is the type of the image ?21:30
Khertanthat mean import this libs21:31
M4rtinKKhertan: well, I have a localhost tileserver for passing images from Python to QML :)21:31
M4rtinKin modRana21:31
KhertanM4rtinK: you can also create an http server and access it in qml21:31
M4rtinKnot used at the moment once I got ImageProvider working acceptably21:31
*** piggz has joined #sailfishos21:32
*** piggz has joined #sailfishos21:32
M4rtinKKhertan: that's what I've done when I was having some issues with image providers :)21:32
M4rtinKKhertan: would certainly be less hacky than using temporary files21:33
M4rtinKKhertan: but not sure how it would interact with GIL21:33
M4rtinKKhertan: regarding the image type21:34
M4rtinKI think just making a simple ImageProvider in C++ accessible as Python extension will work21:35
*** blue787 has joined #sailfishos21:35
*** M13 has quit IRC21:35
KhertanM4rtinK: or use a native python type21:36
M4rtinKnow when I think about it, it might be a bit more complicated :D21:36
KhertanM4rtinK: like bitarry21:36
M4rtinKKhertan: how do you mean it ?21:36
M4rtinKwell, it could "consume" file objects and convert them internally21:37
Khertanan image is just a pack of bits21:37
M4rtinKwell, sure21:37
M4rtinKbut you have to somehow get them displayed on the Image element21:38
*** liar has quit IRC21:38
M4rtinKat least in Qt4, the onyl way was to have them: on filesystem, on network or on a image provider URI21:38
*** zetaz has left #sailfishos21:38
*** Sarvi has quit IRC21:39
M4rtinKif it was just accepting the content of js variables, it would be easier21:39
KhertanM4rtinK: you could not use a QImage?21:39
*** blue787 has quit IRC21:40
*** piggz has quit IRC21:42
M4rtinKKhertan: how ?21:43
KhertanM4rtinK: indeed even in qt5 you can't21:44
KhertanM4rtinK: that was a question, never tryed21:44
M4rtinKKhertan: I'm checking the docs at the moment21:44
KhertanM4rtinK: i was checking the doc21:44
*** Sarvi has joined #sailfishos21:44
Khertani don't think they add http://qt-project.org/doc/qt-5.0/qtquick/qquickimageprovider.html just for fun21:44
M4rtinKKhertan: I think I remember some hacks for image loading in early QtQuick bot nothing possible at the moment21:45
Khertanlook like i got some work for the next release of pyotherotherside21:45
*** spider-mario has quit IRC21:46
Khertanspecial: look like the most difficult part for implementing ownNotes is now working ... thx a lot, i just have to make qml binding for the other part of the apps.21:47
specialyou're welcome :)21:48
M4rtinKKhertan: just checked the Qt 5 image provider21:48
M4rtinKKhertan: looks like you can finally set that an image should not be cached21:48
*** nodevel has joined #sailfishos21:49
M4rtinKKhertan: you don't  have to mutilate the URIs to reload an image ! :D21:49
M4rtinKKhertan: but still no progress support when loading images from image provider21:49
Khertanlook like it s time to go sleeping21:50
M4rtinKwell, now how to fit it all together :D21:50
M4rtinKgood point ! :)21:50
*** blue787 has joined #sailfishos21:51
KhertanM4rtinK: i ll look at the signal bothway in pyotherside this weekend21:51
Khertangood night all21:51
M4rtinKBTW, looking forward to testing your PyOtherSide improvements :)21:51
*** Khertan has quit IRC21:51
M4rtinKKhertan: yeah, I think thats the most important stuff at the  moment21:51
M4rtinKthe rest can be worked around somehow21:52
*** blue787 has quit IRC21:55
*** blue787 has joined #sailfishos22:00
*** piee has quit IRC22:01
*** blue787 has quit IRC22:03
*** rcg has quit IRC22:04
*** Ketil has quit IRC22:05
*** blue787 has joined #sailfishos22:05
*** piee has joined #sailfishos22:05
*** zenvoid has quit IRC22:08
*** sardini has quit IRC22:10
*** piee has quit IRC22:13
*** cxl000 has quit IRC22:19
*** fk_lx has left #sailfishos22:21
*** b0bben has quit IRC22:35
*** VitaBushido_ has quit IRC22:40
*** rm_work_ has quit IRC22:46
*** nahka has quit IRC22:47
*** jpetersen_ has quit IRC22:52
*** ericcc has joined #sailfishos22:57
*** lpotter has joined #sailfishos23:09
*** ericcc has quit IRC23:10
*** ericcc has joined #sailfishos23:11
*** vogon has quit IRC23:13
*** ericcc has quit IRC23:33
*** piee has joined #sailfishos23:53
*** piee has quit IRC23:57

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