Saturday, 2013-12-21

*** Eztran has joined #sailfishos00:00
mfulzdo you have a link to some beginner tutorial?00:01
mfulzwhich describes the concept and the glue between the c++ and qml code?00:01
*** rashm2k has joined #sailfishos00:01
*** whippler has quit IRC00:03
lbt:) ... earlier I posted this:   FWIW this is how I do it for a single simple object which can offer slots and signals as QML methods/events : http://pastie.org/856647800:03
lbtin MObject header I may have :   Q_PROPERTY(bool enabled READ enabled NOTIFY enabledChanged)00:05
lbtand that means I must declare bool enabled(); signals: void enabledChanged(bool);00:05
lbtso it's pretty simple00:05
mfulzhm I guess I'm thinking in a complete wrong way here :)00:05
lbtprobably00:06
lbtQML defines how a UI will look at application load time00:06
mfulzcould you perhaps try to explain in high level how you would go to achieve the following in qml / c++:00:06
mfulzI've a qml with on button00:06
mfulzwhen this button is clicked some code should be called to a.e. run a system program and process the output to some view element?00:07
*** a3Dman has joined #sailfishos00:07
*** a3Dman has joined #sailfishos00:07
lbtso the QML UI defines things that a) may be changed by the user interaction b) may be changed by incoming data changes00:07
lbtin this case the user touches the button00:08
lbthttps://sailfishos.org/sailfish-silica/qml-sailfishsilica-button.html00:08
lbttells us that there is an 'onClicked' event you can link to some javascript00:09
mfulzyep this one I understand but what I do not understand is, how to let the button a.e. run my c++ code for doing something?00:10
lbtsince JS can't run a system app you'd need to write some c++00:10
lbtthat class would wrap a QProcess or something00:10
mfulzyep and this point is my missing part of understanding00:11
mfulzwho to tell the button to call c++ code00:11
lbtand would offer a slot called runMyExe00:11
lbtnow if you set view->rootContext()->setContextProperty("MyWrapper", mw);00:11
lbtthen in QML you'd have a MyWrapper object which js could call00:12
lbtonClicked: MyWrapper.runMyExe()00:12
mfulzah00:12
mfulzI think I understand now00:12
lbttry it00:12
mfulzand in this object I can use whatever I want to do with qt/c++00:13
lbtyes00:13
lbtand there's a rich API to go between QML/C++00:13
lbtthat's the trivial way (which is often enough)00:13
mfulzdo you have any link to an example app which does this wrapping?00:14
lbtno - just start by making an empty QObject class00:14
lbtthen add it to the QML and see how QtCreator automatically does completion on the name00:15
mfulzok00:15
lbteg typing MyW would get you a dropdown00:15
*** planasb has quit IRC00:15
lbtthen add a slot00:15
lbtand see how that appears00:15
lbtstick some qdebug in the slot instantiation00:15
lbtand off you go00:15
lbthttp://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-interactqmlfromcpp.html00:16
*** Kabouik has quit IRC00:16
lbthttp://qmlbook.org/index.html00:16
*** a3Dman has quit IRC00:17
*** Kabouik has joined #sailfishos00:17
*** pizzulicchio has quit IRC00:18
*** pizzulicchio has joined #sailfishos00:19
*** planasb has joined #sailfishos00:21
distlbt: oh thanks so much for qmlbook00:26
*** Kabouik_ has joined #sailfishos00:26
mfulzhm getting an invalid use of incomplete type 'struct QObject'd00:27
mfulzsome header missing=?00:27
*** rashm2k has quit IRC00:27
*** rashm2k has joined #sailfishos00:28
*** Kabouik has quit IRC00:28
mfulzyep where is QtQuickView defined?00:29
mfulzah nervermind its QQuickView :)00:31
*** arcean has quit IRC00:40
*** a3Dman has joined #sailfishos00:40
*** a3Dman has quit IRC00:42
*** a3Dman has joined #sailfishos00:42
*** a3Dman has quit IRC00:43
*** planasb has quit IRC00:44
*** a3Dman has joined #sailfishos00:45
*** planasb has joined #sailfishos00:47
*** bugzy has quit IRC00:50
*** rashm2k has quit IRC00:50
*** rashm2k1 has joined #sailfishos00:50
*** pizzulicchio has quit IRC00:53
*** Eztran has quit IRC00:53
*** rashm2k1 has quit IRC00:58
*** rashm2k1 has joined #sailfishos00:58
*** cvp has quit IRC01:10
mfulzlbt: thank you very much for the help now I got the principle behind01:12
mfulzOne other thing (I want to code an simple openvpn gui - that's all about) how can I run the openvpn process from the gui with sufficient rights? it's not working under normal user01:13
XenGifußballfans--01:17
XenGidämliche spacken im bus01:18
XenGioh. wrong channel01:19
*** M4rtinK has quit IRC01:26
*** ericcc has joined #sailfishos01:31
*** planasb has quit IRC01:33
*** planasb has joined #sailfishos01:38
*** planasb has joined #sailfishos01:38
*** planasb has joined #sailfishos01:38
*** Frye has quit IRC01:39
*** Frye has joined #sailfishos01:42
*** rashm2k1 has quit IRC01:47
*** mfulz has quit IRC01:48
*** jjarven has quit IRC01:49
*** planasb has quit IRC01:51
*** triggerhappy has joined #sailfishos01:51
*** freedomrun has quit IRC01:52
*** parasemic has quit IRC01:53
*** a3Dman has quit IRC01:55
*** a3Dman has joined #sailfishos02:00
*** a3Dman has joined #sailfishos02:00
*** a3Dman has quit IRC02:03
*** a3Dman has joined #sailfishos02:04
*** Hurrian has joined #sailfishos02:05
*** jjarven has joined #sailfishos02:05
*** artemma has joined #sailfishos02:07
*** Morpog_Mobile has quit IRC02:17
*** planasb has joined #sailfishos02:18
*** planasb has joined #sailfishos02:18
*** rm_work is now known as rm_work|away02:25
*** s1gk1ll_ has joined #sailfishos02:28
*** furikku has joined #sailfishos02:29
*** s1gk1ll has quit IRC02:31
*** artemma has quit IRC02:35
*** Morpog_Mobile has joined #sailfishos02:36
*** a3Dman has quit IRC02:42
*** Kabouik_ has quit IRC02:43
*** Almehdin has quit IRC02:46
*** VDVsx_ has joined #sailfishos03:22
*** VDVsx has quit IRC03:25
*** joecool has joined #sailfishos04:12
*** Hurrian has quit IRC04:25
*** Hurrian has joined #sailfishos04:42
*** dist has quit IRC05:01
*** Milo- has quit IRC05:01
*** Milo- has joined #sailfishos05:01
*** dist has joined #sailfishos05:07
*** smokex is now known as Andrew_Jackson05:19
*** Andrew_Jackson is now known as smokex05:20
*** amccarthy has quit IRC05:22
*** miksuh has quit IRC05:41
*** triggerhappy has quit IRC06:31
*** dhbiker has quit IRC06:35
*** miksuh has joined #sailfishos06:40
*** nsuffys has joined #sailfishos07:00
*** AlmAck has joined #sailfishos07:30
*** datakurre has joined #sailfishos07:38
*** fk_lx has joined #sailfishos07:39
*** beford has quit IRC07:41
*** Morpog_Mobile has quit IRC07:51
*** petri has joined #sailfishos07:51
*** jjanvier has joined #sailfishos07:55
*** MFaro-Tusino has joined #sailfishos08:00
*** Morpog_Mobile has joined #sailfishos08:25
*** Finleida has joined #sailfishos08:28
*** miksuh has quit IRC08:37
*** Aiena has joined #sailfishos08:45
AienaIs the sailfish OS opensource or only the SDK?08:46
smokexit is open source but there isn't an online repo08:48
smokexyou have to request the source and have it snail mailed to you08:48
smokexuntil they get an open git set up online08:49
AienaAh Ok08:50
AienaANyways it looks really promising08:50
smokexyeah the interface is nice, time saving08:54
smokexand its good looking08:55
AienaIndeed. It just needs to really catch up. I think so for new OS's they need to have enough of appeal to gain app stores rivalling google. Windows mobile wasnt really a success/ This OS could be the next thing :D we'll just wait and see.08:57
smokexthis os is what would have happened if msft/windows hadn't destroyed nokia08:58
AienaWell WIndows willingly went there09:02
AienaI mean nokia willingly went there09:02
AienaDecisions Decisions Decisions they can make or break anything09:02
AienaYou Know symbian was way better then Microsoft09:03
AienaIf they had stuck with that OS and employed their energies in revamping it and improving it it may have still survived09:03
AienaBoth Windows and iOS introduce too much lock-in09:04
Aienaand in a world with android and open-source mindsets are changing09:04
AienaI loved symbian it was an incredible OS and made Nokia a leader09:05
jake9xxsmokex: just my personal opinion: no, it would not have happened, small group can get so much done fastr than big corp09:15
Aienain a way true09:16
AienaBut not necessarily09:17
AienaThere are economies and scale and diseconomies of scale09:17
smokexjake9xx: harmattan was awfully close to sailfish under the hood09:17
Aienaalso econ omies and disecononomies of scope09:17
Stskeepssmokex: harmattan and sailfish has two very different bases :P09:17
AienaIn msft's case I gues fdisceconomies of scale are coming intp play09:17
Aiena*into09:18
*** freedomrun has joined #sailfishos09:18
smokexthe nemo interface acts almost exactly like harmattan Stskeeps?09:18
thedead1440_jake9xx: my life experiences have shown it's easier to change from within a big Corp than starting independently as a small player. A splinter group within a big Corp is almost always better equipped to face challenges than a small independent company...09:18
smokexunless we're talking about x vs wayland09:19
Siddeis there any forum for sailfish development? I have a hard time getting some things to work in the emulator and wonder if i might hit the same problems others already has09:19
Stskeepssmokex: yeah but that's only lipstick on a pig09:19
thedead1440_smokex: UX =/= backend. Harmattan was a lot more maemo than meego09:19
*** Pat_o has quit IRC09:25
Stskeepssmokex: just for good measure, sailfishos isn't 100% open source. sailfish os image = sailfishos ui (closed currently, may change in future) + nemo middleware (oss) + mer core (oss) + a hardware adaptation (closed source, typical on ARM devices)09:26
Siddeit's like osx then ;)09:27
smokexsilica is implemented using qml files sitting on the partition09:29
tuukkahStskeeps, wasn't there tweets from jolla saying that it will be open?09:29
smokexso part of the sailfish ui is pretty open09:29
Stskeepssmokex: same goes for many of the apps09:30
Stskeepstuukkah: well, saying how it's like today09:30
smokexexcept for the so files09:30
tuukkahStskeeps, ok, so i'd just s/may change/promised to change/09:30
Stskeepstuukkah: i'm not sure it's promised to change, until something is open, it's better to say 'may' :)09:31
Stskeepsbecause when you've said it's closed, that says that it's a permanent thing09:31
Stskeepsthat said, there's nobody complaining that people are putting sailfishos on n950/n9, as an example09:31
*** ericcc has quit IRC09:31
AienaActually once its fully OSS and get contributors from outside and lots it'd be hard to close source it again09:32
AienaUnless you get agreement of all past and present devs09:32
AienaNow the team is small though09:32
Stskeepsit's always a difficult balance between making a business and being open09:32
AienaI agree09:32
AienaThe problem is people always equaate open with free09:33
Stskeepsa significant majority of the code in the stack is open, soon it'll be possible to co-create on many things in sailfishos, and then i hope one day we'll move to co-development of UI level bits09:33
Aienapeople should pay for open to aid in development09:33
Stskeepsbecause atm, middleware is not sexy09:33
AienaYep09:33
smokexsome of the marketing people need to be hanged if the ui isn't going to be open09:33
smokex"more open than android" screams the oposite09:34
Stskeepssmokex: we prefer to say 'walk the plank', but, let's not make physical threats towards good people09:34
AienaWell its already 80% open which is decent09:34
Stskeeps:P09:34
Stskeepsalso09:34
Sidde80% is not 100%09:34
Stskeepsbeing open source isn't just being open source09:34
AienaI know09:34
Stskeepswhy bother being open source if you factually can't involve people?09:34
AienaStskeeps I agree on that point09:35
smokex^09:35
smokexcan't involve people?09:35
Stskeepsour UI is very designer driven - you don't get your modifications running at 60fps and have a designer approved UI, it doesn't get merged09:35
AienaI know the pain I work on OSS projects and we've had a five member team for eons09:35
Aienaand it sucks we have suck a slow release cycle even with several daily commits09:35
smokexI have one app that is right now crossing the one million line of code boundary09:36
Stskeepsand in professional UI there's really not much more to say than 'yes, sir' when a designer says he wants something done in a different way09:36
smokexwe expected the first beta 2 years ago09:36
smokex5 man team09:36
AienaStskeeps Anyways with open source as long as there is a good validation process and focus (something that can go so wrong in fully OSS) things should go well09:36
Stskeepsalso.. there are very few people that has factually asked about the source code of sailfishos.09:37
Stskeepsthat is a very worrying trend.09:37
AienaStskeeps there isn;t enough of knowledge09:37
Stskeepspeople should ask where they can contribute09:37
Stskeepsand how09:38
Aienato be honest I don;t know if people know about sailfishOS09:38
Aienaif they don;t then how can you expect to fget devs or even have interest?09:38
*** spider-mario has joined #sailfishos09:38
*** Venemo_N9 has joined #sailfishos09:38
Stskeeps:nod:09:38
smokexwhile digging in Sailfish OS internals I noticed that a lot of the gallery type stuff is being hamstrung by a pretty crap folder monitoring process09:38
Stskeepsand that's why i'd like to approach it from co-creation turning into co-development09:38
Stskeepssmokex: tracker?09:39
Stskeeps:P09:39
smokex^09:39
Siddeit's a very small community and not that easy to get into either. There is very little information about anything out there. Everything is divided into smaller projects. So how can people get involved?09:39
AienaStskeeps sailfish needs to catch interest otherwise it will remain small and gathering interest and devs willing to contribute isn;t as easy as it sounds09:39
StskeepsSidde: agreed09:40
AienaSidde smokex Stskeeps they need to have an online repo as easily accessible code09:40
Stskeepsi hope what's coming with together.jolla.com will help us to help others to show -how- and -where- to contribute09:40
Aienathen people can create forks and merge into master09:40
*** shabladoo has quit IRC09:41
smokexa github stype fork/pull request for the sailfish components would be nice09:41
Siddei've been trying to learn this couple of days how everything fit together but it's really not a easy community to get information from and i start regretting buying a jolla phone.09:41
Aienasmokex yes but I would be against complete forks09:41
smokexlike the broken way gallery and media work are driving me nuts09:41
StskeepsSidde: you have free access to ask me all the questions you'd like09:41
Aienaotherwise we will have something like libreoffice - openoffice and then genetic survival of the fittest will come into play09:42
smokexmedia doesn't index mp3 files09:42
Aienabut its unavoidable09:42
Stskeeps(hi, i'm carsten munk, chief research engineer)09:42
SiddeStskeeps: ok, thanks. And i might hold you to that when i get some free time to digging into the qt development09:42
smokexgallery doesn't index subfolders09:42
smokeximage portion of gallery only indexes .jpg files09:42
SiddeStskeeps: been planning to build a "logger" for my sailboat. GPS, Gyroscope, Speed and compass all into one nice package09:43
StskeepsSidde: makes sense09:44
smokexthe only reason libreoffice and openoffice forked was because oracle baught java and got openoffice with it09:44
*** Pat_o has joined #sailfishos09:45
SiddeStskeeps: but there is very little documentation of what och how you acctually can incorporate sensors into the ui. The emulator for example does not want to load qtpositioning and there is no info at all if it even is possible09:46
Siddeeven if the sensors will not get any data. it would be nice if one could build the code atleast...09:47
smokexthats why I'm working so hard to get my N950 running sailfish :D09:47
StskeepsSidde: indeed - there's no sensor/positioning implementation in the emulator09:47
smokexthe emulator just isn't good enough09:47
smokexwe have script based charging working at least now Stskeeps09:48
Stskeepssmokex: bme should really work09:48
smokexit doesn't09:48
SiddeStskeeps: is there any plans for that? or any information what is implemented and not in the emulator?09:48
StskeepsSidde: that'd be jake9xx's table09:48
SiddeBut i can expect the positioning and sensors to work in qtquick-framwork on the jolla phone out of the box?09:53
Stskeepsthink so, but they're not stable apis yet09:53
Siddebetter to use the qt-framework(c++) or is it same same?09:54
*** Pat_o has quit IRC09:57
*** SfietKonstantin has joined #sailfishos09:58
*** Venemo_N9 has quit IRC09:59
Siddeis there any list of which api's that are stable? and which are implemented but not stable? and very important, which are not implemented in the qt-framework?09:59
StskeepsSidde: i think that's in the harbour faq10:00
Siddeah, found it. Thanks10:00
tuukkahStskeeps, what's your responsibilities as chief research engineer?10:04
Stskeepstuukkah: look 6-12-18 months ahead, for things that aren't short term things that'd go into a product programme10:04
Stskeepsbootstrap new projects/technology use, etc10:05
Stskeepsaccomplishments so far has been stuff like sailfish ui with qt5 and wayland, wayland and ability to use android hw adaptations on non-android10:05
tuukkahStskeeps, i see. is it all about platform or also apps?10:06
*** xmlich02 has joined #sailfishos10:06
xmlich02y10:06
Stskeepsit's a bit of everything, but i'm not an ui expert as such10:06
Stskeepsother people in my team work on that10:07
SiddeStskeeps: which (latest) android api level is there in sailfish for now?10:07
StskeepsSidde: whatever corresponds to 4.1.210:08
Siddethanks10:08
*** Pat_o has joined #sailfishos10:12
*** c0ck4m0u53 has joined #sailfishos10:12
c0ck4m0u53Hey everyone:) Is there a way to put virtual keyboard in landscape mode while texting?10:14
*** petri has quit IRC10:14
*** ziomatto has joined #sailfishos10:16
ziomattohi, when i try to access to source code at http://releases.sailfishos.org/sdk  i get access forbidden 403. how can i get the source code ?10:19
SiddeStskeeps: got a more cheerful experience from this conversation than my unanswered qt-related questions from yesterday. So thanks10:20
Stskeepsziomatto: there's instructions for source code request in the license of the sdk10:20
tuukkahStskeeps, my special interest is in openstreetmap and other open data, so i was disappointed to learn that jolla chose to work with here maps. did you participate in the decision and is there something you can share about the process?10:21
ziomattoStskeeps: there is no pubblic repository? I can get the source code only if I make a written request ? But on the home page is written "Naturally, we are providing the open source code used in this release. You can find this at releases.sailfishos.org". Sounds strange.10:26
Stskeepstuukkah: so, i can't really elaborate on that for confidentiality reasons; but, there's a OSM backend in qt location, contributions welcome there, as well as that sailfish maps is just another store offering, nothing stopping anybody from writing a better maps client using OSM apis.10:30
Stskeepstuukkah: in addition to that, there's markets where OSM is simply illegal - think china10:31
Stskeepsziomatto: ah, good point10:32
Stskeepsjake9xx: we might want to either fix that or add index.htm's10:32
tuukkahStskeeps, ok, i see a problem in osm being illegal in one of your main target markets10:32
lbtziomatto: I'd also say it depends what you want; if you want to hack on source code then we can point you at all kinds of relevant upstream repos10:32
*** Pat_o has quit IRC10:32
lbtziomatto: the main thing is that there is a legal obligation to provide more precise src; that's something that needs verification and takes time10:33
lbtso qt-project.org  merproject.org and nemomobile.org are the main areas for our source10:34
Stskeepstuukkah: i'm personally a OSM fan, but, there's also things like AGPS assistance and wifi positioning that comes with HERE solution10:34
*** Pat_o has joined #sailfishos10:34
Stskeepstuukkah: so it all adds up to an evaluation of what users expect and cost, capability, etc10:35
lbttuukkah: if you want to develop an OSM community client I'm sure there would be a lot of support from sailors10:35
lbtas well as the community at large10:35
tuukkahStskeeps, does every app on jolla get unconditional support for agps and wifi positioning, so no terms of use problems in using data other than HERE?10:36
kontiotuukkah: see https://harbour.jolla.com/terms there are some term regarding HERE10:38
tuukkahlbt, there was some discussions to that tune in april-june, but nothing since10:38
*** tortoisedoc_ has joined #sailfishos10:39
lbtkontio: and why on earth is that shown in a textarea :)10:39
kontiolbt: no idea...10:40
kontioguess normally it's used on the form where you accept it, then the accept button would be at the very end?10:40
*** Superpelican_ has joined #sailfishos10:44
Stskeepstuukkah: not a lawyer, sorry10:46
tuukkahreading the harbour terms again, i don't see a problem in combining data sets, but the terms do try to restrict the purpose of the applications10:48
Stskeepsin practice the gps is anyway fairly fast from my understanding10:49
tuukkahStskeeps, yes, from my tests it works mostly fine10:49
*** flyapen has joined #sailfishos10:50
tuukkahi have a html5 osm client that more or less works in the harmattan browser and almost works on jolla, but there's some issues in sailfish-browser and some other issues in SilicaWebView10:50
*** qrosh has joined #sailfishos10:51
tuukkahin silicawebview, web pages look too small, which i suppose is because of incorrect devicepixelratio setting10:51
*** tortoisedoc_ has quit IRC10:53
tuukkahin sailfish-browser, the leafletjs map library has some redraw issue: e.g. at leafletjs.com, the map flashes white after each pan event10:54
tuukkahplus in a fullscreen html5 app, when the page is not taller than the screen, i can't hide the browser toolbar as there's not enough page height to scroll down to10:56
*** flyapen has quit IRC10:57
*** Venemo has joined #sailfishos11:00
*** itbaron has joined #sailfishos11:00
*** flyapen has joined #sailfishos11:00
*** miksuh has joined #sailfishos11:07
*** flyapen has quit IRC11:07
*** qrosh has quit IRC11:13
*** Pat_o has quit IRC11:16
Superpelican_Stskeeps: "Error on file "/home/deploy/installroot/usr/share/applications/*.desktop": No such file or directory"11:17
*** SfietKonstantin has quit IRC11:17
Superpelican_Stskeeps: I'm packaging my app for the Harbour11:17
Superpelican_it worked on my device11:18
Superpelican_and the emulator etc.11:18
Superpelican_until I started renaming everything from "QuickClamshell" to "harbour-quickclamshell"11:18
lbtsounds like an issue in the yaml/spec Files: section which comes from the .pro file11:24
lbtyou're probably not installing the desktop file11:24
Superpelican_lbt:Well it is added to "Other files" in Qt Creator11:25
lbtdo you have CONFIG += sailfishapp11:28
*** matt_1979 has joined #sailfishos11:30
Superpelican_lbt: yes11:30
Superpelican_lbt: I recently created a new project when the 1312 SDK was released and just copied over the files11:31
Superpelican_lbt: And based my new main.cpp/QuickClamshell.cpp on the Hello World Pro main.cpp11:31
lbtthe hw.pro file is a lot more explicit too11:32
lbtthe template one must use some magic in sailfishapp11:32
lbtmagic is great ... provided it's documented :/11:33
*** SfietKonstantin has joined #sailfishos11:33
*** jjarven has quit IRC11:34
lbtSuperpelican_: pastie your .pro and .spec files11:35
*** mfulz has joined #sailfishos11:37
*** matsimoto has joined #sailfishos11:39
matsimotoHi, what must I do to install QtContacts in the emulator ?11:40
*** Pat_o has joined #sailfishos11:40
*** qrosh has joined #sailfishos11:42
lbtmatsimoto: if your app has any dependencies then they're automatically installed when you deploy the rpm11:42
*** SfietKonstantin has quit IRC11:43
Superpelican_lbt: http://pastebin.kde.org/pgai0mgyk11:43
lbtTARGET = harbour-QuickClamshell  ?11:45
Superpelican_lbt: http://pastebin.kde.org/phvbyimp411:45
matsimotolbt: got thos when running the app:   Error: Error while loading page: file:///opt/sdk/test/usr/share/test/qml/pages/MainPage.qml:3 module "QtContacts" is not installed11:45
lbtand I wonder if it has to match case-wise11:45
*** edgar2 has joined #sailfishos11:46
matsimotolbt: OK, got I think I has to switch to deplay as rpm in the settings, thanks11:46
Superpelican_lbt: I've now fixed that11:46
Superpelican_now getting: "File not found: /home/deploy/installroot/usr/share/harbour-quickclamshell"11:46
*** ziomatto has quit IRC11:46
lbtSuperpelican_: did you do a re-build ... and probably a make clean too11:47
Superpelican_ok will try that then :)11:47
lbtthe spec looks better now11:48
lbtbetter/good11:48
Superpelican_lbt: now getting: "File not found: /home/deploy/installroot/usr/share/harbour-quickclamshell/qml" too11:49
matsimotonope, does not work with rpm something else I have to configure ?11:49
lbtSuperpelican_: at what point ?11:50
Superpelican_lbt: well after: "RPM build errors:"11:51
lbtmatsimoto: I'm not sure QtContacts is available11:51
lbtSuperpelican_: pastie the log11:52
*** jjarven has joined #sailfishos11:53
TriztHow do you remove a android download notification icon from the home screen?11:53
Superpelican_lbt: http://pastebin.kde.org/pjiohwmvn11:53
matsimotoany other possibility to add contacts ?11:53
lbtSuperpelican_: TARGET case matters11:55
lbtcp -f -R /home/mersdk/Coding/Qt/QuickClamshell/qml /home/deploy/installroot/usr/share/harbour-QuickClamshell/11:55
lbtline 6211:55
lbtit's fine if you're consistent11:56
lbtand yeah, it should probably use %{name} better11:56
Superpelican_lbt: you mean the "/QuickClamshell/" part?11:56
lbtyes11:56
Superpelican_well that's the name of my project11:57
lbtwell11:57
mfulzlbt: thank you for the help yesterday !11:57
Superpelican_all my files are called that way11:57
lbtthe /home/deploy/installroot/usr/share/harbour-QuickClamshell/  part11:57
lbtSuperpelican_: that's OK11:57
lbtbut your spec/yaml is lowercase11:57
Superpelican_OK11:57
Superpelican_well11:57
Superpelican_you suggested the "harbour-QuickClamshell" thing ;)11:58
Superpelican_I found it to be a bit strange too11:58
lbtright ... but what is your error?11:58
Superpelican_well11:58
Superpelican_currently11:58
Superpelican_...none :D11:58
qroshhey what is the easiest way to get and parse a rss feed?11:58
lbtSuperpelican_: :P11:58
lbtgood11:58
lbtthe spec/yaml looked like it had /harbour-quickclamshell/ in lowercase11:59
lbtpersonally I'd use %{name} there11:59
lbtthp: ^^11:59
Superpelican_ok12:00
Superpelican_I'll change that then12:00
*** olofk has joined #sailfishos12:02
*** hardcodes has joined #sailfishos12:03
olofkHi. I'm making a pure QML app. Do I really need to have a cpp enry point at all in that case? I've tried to remove it from SOURCES in the .pro file and change Exec to sailfish-qml $myapp, but it doesn't launch12:04
olofkIs this the dev channel btw? :)12:04
Superpelican_olofk: yes this is the dev channel12:04
Superpelican_olofk: the Harbour FAQ mentions the ability to use sailfish-qml12:04
Superpelican_so I guess it's supported12:04
olofkSuperpelican_: Yes, that's where I got the idea, but I'm not sure how to actually make use of it12:05
olofkI'm a GTK guy so all this QT stuff is new to me12:05
Superpelican_hmm12:05
Superpelican_then I'm afraid you'll have to ask someone else ;)12:06
olofkI'll keep on lurking and see what comes up12:07
*** qrosh has quit IRC12:07
*** xmlich02 has quit IRC12:15
*** jmlich has joined #sailfishos12:18
tuukkaholofk, i heard from someone that they were able to install sailfish-qml from some package12:19
tuukkahi don't know how to find out which package contains which file though12:20
*** pixraider has quit IRC12:21
smokexolofk: I'm pretty sure that c++ is necessary for a QML app to work12:27
lbtolofk: yes, you need a cpp entry point12:27
lbtQt is a C++ framework which processes QML into internal C++ structures and renders them; it calls into js code with pointers to C++ data to allow user level logic12:29
lbthowever the template c++ is totally trivial and is done for you in the SDK - so you don't need to write any C++ at all12:29
Pnuuolofk: check the hello world pro12:30
lbtPnuu: that's actually more of a template if you want to dive into the C++ IMHO12:31
mfulzis there some explanation about the silicia views etc.? I tried to add a label and a button to a dialog but they are overlapping12:32
Pnuubut it has th necessary cpp for starting the qml12:32
lbtPnuu: they both do :)12:32
lbtmfulz: http://qmlbook.org/12:33
mfulzlbt: thanks12:35
Superpelican_lbt: My app is now missing an icon when installed in the emulator or my Jolla12:38
Superpelican_lbt: Before all the renaming it did have a correct icon12:39
Superpelican_my icon is in the project root dir12:39
Superpelican_and is called "harbour-quickclamshell.png"12:39
*** hardcodes has quit IRC12:39
lbtcheck the desktop file has no path12:39
*** Venemo has quit IRC12:40
Superpelican_lbt: ah thanks :)12:41
Superpelican_I had accidently set "Icon" to "Quick Clamshell"12:41
*** Kabouik has joined #sailfishos12:43
lbt:)12:43
Superpelican_lbt: that doesn't seem to fix it unfortunately :(12:45
Superpelican_just installed it on my device again12:45
Superpelican_but it still doesn't have an icon12:45
Superpelican_the icon is in "OTHER_FILES" in the .pro12:46
lbtoh yes, your spec is outdated - use 90x90 dir12:47
lbtyaml even12:47
*** zhxt has joined #sailfishos12:58
*** atiti has quit IRC13:03
Superpelican_lbt: ?13:05
Superpelican_lbt: I thought the icon size was changed from 90*90 to 86*86?13:05
*** pixraider has joined #sailfishos13:07
*** pixraider has quit IRC13:09
Superpelican_lbt: Or is the Sailfish Harbour FAQ wrong?13:12
Superpelican_lbt: ""13:12
Superpelican_Where shall the icon be installed?13:12
Superpelican_/usr/share/icons/hicolor/86x86/apps/$NAME.png. Older SDK versions contain a template which suggests a size of 90x90 and also a different install path. That is obsolete, not supported anymore, and will soon be updated with the next SDK version.13:12
*** Pat_o has quit IRC13:21
*** dhbiker has joined #sailfishos13:22
*** pixraider has joined #sailfishos13:22
*** Pat_o has joined #sailfishos13:23
*** shabladoo has joined #sailfishos13:33
edgarsso13:41
edgarshow can i update my 1.0.0.5?13:41
Stskeepsedgars: settings -> system settings -> about product -> pulley menu, check for update13:41
edgarsit says - up to date13:42
edgarsahh, and i cant install any app from jolla :/13:43
edgarsso. i'm without callendar13:43
edgarsand that's a very sad13:43
*** zhxt_ has joined #sailfishos13:46
*** zhxt has quit IRC13:47
lbtSuperpelican_: oh, in that case my yaml is broken :D13:48
sdjaynaedgars: what's your username? have you added a jolla account successfully on the device?13:50
Superpelican_lbt: What could the problem be then?13:56
*** RoKenn has joined #sailfishos13:57
ElleoSuperpelican_: what does your .desktop file look like?13:57
Elleodoes it have the updated filename in the Icon section?13:57
Superpelican_Elleo: http://pastebin.kde.org/p1jrot9nb14:02
Elleowhat happens if you try giving the full icon path?14:04
Elleo(that's what I'm doing in my .desktop files)14:05
*** jabbounet has joined #sailfishos14:11
jabbounethello14:12
Superpelican_Elleo: what do you mean with "full icon path"?14:12
Superpelican_Elleo: Is it really a good idea to use an absolute hard coded path?14:13
*** Venemo has joined #sailfishos14:13
*** edgar2 has quit IRC14:16
ElleoSuperpelican_: well it works for me, and since you control the destination path yourself I don't see it as being too much of a problem14:18
jabbounetis there any irc client that run on sailfish os, it could be interesting to post or answer #sailfishos related question from a jolla smartphone?14:19
Stskeepsi'm waiting for Venemo's ircchatter14:19
Stskeeps:P14:19
Venemojabbounet: I have an exam on 23rd and after that the first thing's going to be porting IRC Chatter to Sailfish14:19
jabbounetgreat :)14:20
Venemo:)14:21
jabbounetgood luck for your exam14:22
Pnuusomeone said "you'll pass all the required exams before graduating"14:22
*** MSameer has quit IRC14:23
*** MSameer has joined #sailfishos14:23
*** artemma has joined #sailfishos14:25
VenemoPnuu: you don't say!14:27
Venemojabbounet: thank you :)14:27
Pnuu;-)14:28
Venemo:P14:29
edgarssdjayna: yupp, i added account, username edgars ;)14:29
*** __pv has joined #sailfishos14:37
*** xcv_ has joined #sailfishos14:44
*** lbt has quit IRC14:47
*** lbt has joined #sailfishos14:49
*** lbt has quit IRC14:49
*** lbt has joined #sailfishos14:49
*** zhxt__ has joined #sailfishos14:51
*** zhxt_ has quit IRC14:53
*** nsuffys has quit IRC14:53
Superpelican_Elleo: and what would that absolute path be then?14:55
*** Morpog_PC has joined #sailfishos14:55
Superpelican_Elleo: the icon .png is in my project's root dir14:55
mfulzcan I make a label clickable?14:57
mfulzor how is it done like a.e. in the store the install button?14:58
Venemomfulz: you can make anything clickable if you put a MouseArea over it14:58
mfulzah ok but do you know a.e. the jolla store? This look like for the install thing - is it done like that or perhaps there are best practise ways for such things?14:58
Venemoyou should read some generic QML tutorials, ie. not Jolla-specific15:00
mfulzyep I'm on it15:00
Venemobasically, nothing is clickable among the basic QML elements, at all. only MouseArea, TouchArea and the other elements that use these15:01
mfulzah o15:01
mfulzk15:01
Venemoso if you, let's say create a custom button component in QML, you'd do it by putting a MouseArea or a TouchArea over a Rectangle or an Image15:02
Venemoor something similar15:02
Venemoyou get the picture :)15:02
*** zhxt__ has quit IRC15:02
mfulzyep thanks15:04
Venemoso even if you combine them with more advanced components like the Silica ones, you can still use the basic Qt Quick elements; and you can put a MouseArea over something to make it clickable15:04
mfulzgot it15:05
mfulzthank you15:05
mfulzI was wondering before but realized now that silicia is really just a "small" extension to the whole qml thing, isn15:05
mfulz't it?15:05
Venemoit's a custom Qt Quick plugin AFAIK15:06
w00tyes15:06
Venemoand I bet you that even they use either MouseArea or TouchArea for their clickable components ;)15:06
mfulzok15:08
mfulzthank you15:08
ElleoSuperpelican_: it'd be the path you're installing it to15:09
Elleoe.g. /usr/share/icons/hicolor/86x86/apps/yourapp.png15:09
*** disharmonic has joined #sailfishos15:09
ElleoSuperpelican_: check your .pro/.pri files to see where exactly its going15:10
Superpelican_Elleo: OK, thanks :)15:10
Elleono problem :)15:10
Superpelican_Elleo: that worked :)15:18
Superpelican_time to finally submit my app to the Store :)15:18
mfulzwhat's your app about?15:19
mfulzif I may ask :)15:19
ElleoSuperpelican_: excellent :)15:20
Venemomine is a jigsaw puzzle game15:20
Venemoand then I'm gonna work on an irc client15:21
ElleoVenemo: puzzle master?15:21
Superpelican_From an user perspective I hope there are a lot of apps in QA currently :)15:21
Superpelican_But from a developer perspective I hope there aren't any apps in QA :P15:21
VenemoElleo: yes15:22
ElleoVenemo: cool, that's really fun :)15:22
Superpelican_Why isn't this a valid binary name: "harbour-quickclamshell-0.1.armv7hl.rpm"?15:22
VenemoElleo: thank you! you like it?15:22
Superpelican_Seems perfectly legal to me15:22
Superpelican_I've read the Binary Guidelines15:23
ElleoVenemo: yep :)15:23
Elleoreally nice use of multitouch15:23
VenemoElleo: thanks, :)15:23
*** thomasgubler has quit IRC15:27
*** thomasgubler has joined #sailfishos15:31
juke_Unknown module(s) in QT: webkitwidgets, where do i need to specify this to be installed?15:31
juke_are these installed in the sdk or system wide?15:33
*** Bob-182 has joined #sailfishos15:36
juke_it seems i should install the devel packaget to the target15:37
juke_i think i got the hang of it now15:37
Superpelican_Elleo: What could be wrong with "harbour-quickclamshell-0.1.armv7hl.rpm" or "harbour-quickclamshell-0.1.rpm"?15:39
Superpelican_I'm getting "invalid filename"15:40
*** master_o1_master has joined #sailfishos15:42
*** Aiena has left #sailfishos15:43
ElleoSuperpelican_: harbour-quickclamshell-0.1.armv7hl.rpm looks right to me, but I haven't submitted anything to the store yet, so I don't know for sure15:43
ElleoSuperpelican_: are you sure it's complaining about the .rpm filename and not the binary filename within it? e.g. does that need to be prefixed with harbour- perhaps as well?15:44
ElleoI don't know how deep the automated store checks go15:44
Superpelican_Elleo: I just opened the RPM with Ark (the KDE archiver) and everything's named "harbour-quickclamshell", the binary too15:45
*** master_of_master has quit IRC15:45
ElleoSuperpelican_: I'm all out of guesses then I'm afraid15:46
Superpelican_ok15:46
Superpelican_I'll ask Stskeeps or lbt then :)15:47
ElleoI don't suppose there's any restrictions on version numbering? e.g. version number must be 1.0 or greater?15:47
Elleonope, that's not it, just found some stuff with 0.2 as the version in the store15:47
Superpelican_Stskeeps: Isn't "harbour-quickclamshell-0.1.armv7hl.rpm" a valid filename?15:48
Elleoperhaps it expects a release number as well?15:48
Elleoi.e. harbour-quickclamshell-0.1-1.armv7hl.rpm15:48
Elleo(set via tha Release: field in your .yaml)15:49
Superpelican_Elleo: the binary guidelines mention that both x.x.x and x.x are allowed15:49
Superpelican_even x is allowed!15:49
ElleoI've been flicking through the store and so far I haven't seen anything that doesn't haven't a release id15:50
Elleomight just be coincidence though15:50
Elleoand the release id is separate from the version number scheme15:50
Elleoi.e. x.x.x-y or x.x-y or x-y, etc.15:51
edgarsomg, battery is enough for a half day!!15:52
edgarswtf15:52
Superpelican_edgars: I have been able to get 1 day usage out of it15:52
Elleoedgars: switch off location in the settings, apparently that results in a lot of battery usage even when there aren't apps using the gps15:52
Superpelican_note: I currently don't have Android Support installed15:53
Elleohaven't noticed that so much myself, but it's what a number of people in the user experience thread reported15:53
Superpelican_I wanted to see the battery life first without Android Support15:53
*** Pat_o has quit IRC15:54
edgarsElleo: already did it15:55
edgarsalso turned off 3g and wifi15:56
Elleohow about install htop and powertop, see if there's any processing using a lot of cpu all the time and what the power usage is like15:56
Elleoiirc they're in the mer-tools repo15:56
Elleoprocesses*15:57
Superpelican_Elleo: I was considering doing that too :)15:57
Superpelican_I was just wondering if powertop is available for Mer15:57
Superpelican_htop is awesome though if you don't have a GUI available :)15:57
Elleoyeah, it's in mer-tools15:58
edgarsbut at the moment i'm missing Alarm, screen rotation, whats app, shazam, callback to sms sender15:58
Elleossu ar mer-tools && ssu ur && pkcon refresh && pkcon install htop powertop15:59
w00tedgars: "callback to sms sender"?15:59
Pnuuedgars: alarm? install clock from the jolla shop15:59
edgarsyeah, Mr X send me a sms, i want call back to Mr X15:59
edgarslike in other OS'es, just press on name or face16:00
Elleoedgars: swipe left on the sms screen16:00
Elleoit'll bring up their contact card, including the call button16:01
w00tyou know you can flick from right to left when you're in an sms conversation, right?16:01
edgarsElleo, tried, nothing :/16:01
Elleoah, maybe it only works if you have them as a contact already16:01
edgarsPnuu: i cant install anything form jolla apps16:01
edgars://16:01
ElleoI don't have any messages from non-contacts to check with16:01
edgarssomething is going wrong with my phone16:01
Elleoedgars: are you updated to .12? iirc that fixes some authentication issue with the store16:01
Elleoprior to that people got around it by doing a phone reset16:02
Superpelican_Elleo: And adding the mer-tools repo doesn't result in important system binaries being replaced with new dev versions?16:02
Elleoas-in a firmware reset, not just switching off and on16:02
ElleoSuperpelican_: no guarantees16:02
ElleoI haven't had any problems using it so far, but it's always possible a package might get added that'll replace a jolla package I guess16:03
edgarsElleo: nop, as i said before, i cant16:03
edgarsi'm upto date with 1.0.0.5 :/16:03
Elleoedgars: I'd suggest trying a reset then16:04
ElleoI dunno if the firmware upgrade depends on the store auth too?16:04
edgarsthrough settings16:04
Elleoedgars: yeah16:04
edgarsclear device16:05
Superpelican_Elleo: Looking at http://build.merproject.org there seem to be various mer-tools repos16:05
Superpelican_Elleo: just "mer-tools", "mer-tools-devel", "mer-tools-testing" and "mer-tools-stable"16:06
ElleoSuperpelican_: it's the sailfishos.org hosted version that gets added via ssu16:06
ElleoSuperpelican_: http://releases.sailfishos.org/sdk/latest/mer-tools/16:07
*** Pat_o has joined #sailfishos16:08
*** miksuh has quit IRC16:09
mfulzhttp://pastebin.com/kW2YTEM5 could someone tell me how I need to anchor or place the textfileds below the header?16:12
mfulzthey allways overlapping16:12
Superpelican_mfulz: well you could add "anchors.top: top_textfield.bottom" to the textfield below the top textfield16:13
Pnuuthat is already there16:14
*** Bob-182 has left #sailfishos16:15
mfulzjep that's what I tried but the textfield still is in the same line as the header16:17
Elleoiirc anchors won't be obeyed within a column, the column should lay them out like you want by itself though16:18
*** jabbounet has quit IRC16:18
Elleooh sorry, misread that, thought you were wanting the text-fields under each other16:18
Elleoput the problem is with the header16:18
mfulzthe column was just a test initially I had it without column but the anchor to bottom of the header is not working16:18
mfulzyes exactly16:18
*** JulHer has joined #sailfishos16:19
Elleoas a nasty hack you could add a verticalmargin to the column equal to the height of the header :/16:19
Elleoerr16:19
Elleoactually16:19
Elleodo you realy mean to have your columns inside the listview?16:19
Elleoor if you do mean to do that are you sure you want a listview and not a flickable?16:20
mfulzI'm totally new to the qml stuff and sailfish16:20
Elleolistview is designed to show a list of stuff provided by your model16:20
Elleowhereas silicaflickable is just to make a generic set of items flickable16:20
mfulzah ok16:21
mfulzI'll try that16:21
ElleoI don't think flickable has a header property16:21
Elleobut you don't really need one in flickable since you can just stick the item in at the top16:21
Elleoit's only needed for the listview to let you display something different at the top of the list to the model contents16:22
mfulzok16:22
Elleoso you could just have a silicaflickable containing a column with your pageheader, and textviews in it16:23
mfulzok it's working but what is best practise to have it below the navigation dots?16:25
*** JulHer has quit IRC16:25
*** AlmAck has quit IRC16:26
Elleonot sure if there's a nicer solution I just add some verticalmargin padding16:26
*** AlmAck has joined #sailfishos16:26
mfulzah found it16:27
PnuuI have Page { SilicaFlicable { Column { PageHeader { title: "Foo" }}}}16:28
Pnuuseems to behave quite nicely16:28
mfulzyes16:28
edgarsokey16:28
edgarsnow i'm upgrading :)16:28
tuukkahok, found /usr/bin/sailfish-qml in package libsailfishapp-launcher. so if you have /usr/share/appname/qml/appname.qml you can run it with sailfish-qml appname16:29
edgarsbtw16:29
Elleoedgars: great :)16:29
edgarsis any developer here?16:29
edgarsElleo: yeah, thanks ;)16:29
Elleoedgars: app developers or jolla employees?16:30
edgarsi mean not a sailfish developer, but any sort of coder, who can made some usefull stuff16:30
Elleobecause a lot of us are app developers, there's a handful of jolla folks around too16:30
edgarscan anyone make a flashlight? :)16:31
edgarssimple but usefull app :)16:31
artemmaedgars: http://bit.ly/flashlight1216:31
artemmaedgars: or http://bit.ly/flashlight14 if you want to use camera together with flashlight (build 12 crashes phone then)16:32
edgarsand why it's not in the jolla app store? :)16:32
artemmaedgars: not good enough. It only works OKish in the dark conditions (as a slo-ow stroboscope)16:33
artemmabarely any light in light conditions16:33
edgarsartemma: ok, will check after upgrade16:33
edgarsbtw am i able to install rpm's via gui or only cli?16:34
Pnuucli16:34
Pnuu(pkcon install-local foo.rmp)16:34
Pnuurpm..16:34
edgarsha, snow white ambience!16:35
shabladooIs it possible to send SMS from app? A quick Google suggests the QtMessaging module but this isn't listed in the Qt5.2 documentation16:37
w00tshabladoo: use Qt.openUrlExternally with an sms uri16:38
Superpelican_lbt: [16:48] <Superpelican_> Stskeeps: Isn't "harbour-quickclamshell-0.1.armv7hl.rpm" a valid filename?16:38
ElleoSuperpelican_: have you tried adding a release number?16:38
Superpelican_not yet16:38
Superpelican_will try then :)16:39
Superpelican_Elleo: What does the "release number" actually stand for?16:39
ElleoSuperpelican_: it's the version number for the packaging16:39
Superpelican_I never see it16:39
Superpelican_with other SW16:39
Superpelican_I mean other Linux distro's16:39
ElleoSuperpelican_: it's common in both debian and rpm packaging16:39
Elleoe.g. in 4.3.2-1 the 4.3.2 number is the upstream software version, and -1 is the version of the distro specific package16:40
Elleoso if for example you need to change the descrption in the packaging you'd increment that to 4.3.2-216:41
Elleoit's still version 4.3.2 of the software, but it's version 2 of the package16:41
Superpelican_OK thanks that made things a bit clearer for me :)16:42
Elleo:)16:42
*** paju has left #sailfishos16:42
Superpelican_Elleo: Adding the release number worked! :D16:43
Superpelican_strange though16:43
Elleo excellent :)16:43
Elleoyeah, I don't think that should really be a requirement16:43
edgarshmm, no wget16:44
Superpelican_edgars: It also isn't available in mer-tools?16:44
Elleoedgars: curl is installed by default iirc16:44
edgarssorry, im not a Mer geek, dont know much about this system16:44
edgarsuser since 2 days :)16:45
ElleoSuperpelican_: doesn't seem to be16:45
edgarsi have curl16:45
w00tedgars: curl -O <url> will download a file16:45
*** freedomrun has quit IRC16:46
*** suspam has joined #sailfishos16:46
suspamhi16:47
suspamthere is plan for a cvs or similar for sailfish os or it will be a closed source mobile os, as MeeGo etc etc?16:47
shabladoow00t: Do you mean something like  onClicked: Qt.openUrlExternally("sms:?body=abc")16:47
Elleosuspam: most of the core stuff is developed in the open as mer: http://merproject.org/16:48
w00tshabladoo: pretty much, right16:48
Superpelican_suspam: And the middleware too as Nemo Mobile16:49
suspamElleo: yes, i know, as for MeeGo harmattan16:49
suspambut the UI is cloed, am I right?16:49
Superpelican_https://wiki.merproject.org/wiki/Nemo16:49
suspamclosed16:49
Superpelican_suspam: Yes the Sailfish UI is currently closed source16:49
suspamthanks16:49
Superpelican_Maybe it will be open sourced in the future :)16:49
Superpelican_let's hope16:50
suspami was looking for an opensources os on a opensource hw but the one i can find is OpenMoko on its second iteration: NeoFreerunner16:50
suspam:D16:50
suspama bit old I must say16:50
edgarsw00t: how to use curl i know :) thanks anyway :)16:50
suspamalso Nokia said that it would be opened harmattan srcs, but as now I cant's any progress :D16:51
Elleosuspam: http://neo900.org/ might be up your street16:51
suspamit's not openhardware :D16:51
suspamcpu and gpu are closed source :)16:51
suspamas for rasperryPi :p16:51
Elleosame was true of the freerunner16:51
suspamare you sure?16:52
Elleoyeah, the glamo chip was a nasty closed thing16:52
suspamah16:52
Elleothey released some info under NDAs iirc16:52
suspamuff16:52
suspamthe world of openhw on opensource is in a galaxy far far away16:52
suspamfor now ppl full they mounths of opensource gambling users16:53
suspamfullfill16:53
shabladoowoot: Just tried that by adding a button to the Sailfish template project but nothing happens. Do you know of if there is documentation on what is a valid URI for SMS?16:53
tuukkahshabladoo, typing sms:12345 into sailfish-browser opened the messaging app16:54
w00tshabladoo: if this is the SDK, then it won't work there as there is nothing to handle the uri16:55
w00tbut it will work on device16:55
tuukkah(... and crashed the browser, but that's a detail ;-)16:55
shabladoo:woot I'm testing this on real hardware16:56
shabladoo:tuukkah yes adding the number worked, me being stupid :-)16:57
*** RoKenn has quit IRC16:57
*** rcg has joined #sailfishos16:57
edgarshmm16:58
edgarsscreen is not rotating while typing sms16:58
shabladooSo obviously doing it this way opens the messaging app. Is it possible to send SMS direct from the current running app, or is this not supported?17:00
*** Kabouik has quit IRC17:05
w00tedgars: messages does not support landscape yet17:05
w00tshabladoo: no, because that could a) cost money, b) be annoying17:06
*** atiti has joined #sailfishos17:06
edgarsin plans?17:07
Superpelican_edgars: well I don't think so ;)17:07
w00tedgars: it'd obviously be a nice addition - i don't have any idea about when17:07
Superpelican_edgars: [18:05] <w00t> shabladoo: no, because that could a) cost money, b) be annoying17:07
w00tSuperpelican_: two seperate topics :-)17:08
Superpelican_ah I see :)17:09
mfulzdoes someone know how I can align a label directly below a textfield inside a column?17:09
w00tColumn { TextField { id: textField } Label { anchors.horizontalCenter: textField.horizontalCenter } }17:09
w00tor something like that17:09
mfulzbut there is too much space between17:11
mfulzI don't find any margin property or similar17:11
w00tvertical space?17:11
Pnuumfulz: Column { spacing: Theme.paddingSmall } might help?17:13
shabladoow00t: Ok thanks, just trying to get an idea of what is possible.17:13
mfulzPnuu: thanks that was it17:13
edgarsSuperpelican_: because that could a) cost money, b) be annoying - cost money? huh, loosing customers costs money too ;)17:14
edgarsannoying is to type in portrait mode, if you have a lot of to write mail/sms17:15
edgarsbtw, any useful apps which are not in the stores? :)17:16
mfulzIM message app with xmpp and otr support :)17:18
Superpelican_edgars: I'm pretty sure w00t meant the money of the user17:18
distAnyone know why pkcon refresh would say: Fatal error: Authentication failed (is SSU set up correctly?)17:19
Aard/win 7717:21
*** miksuh has joined #sailfishos17:30
*** Superpelican_ has quit IRC17:34
*** DrIDK has joined #sailfishos17:35
*** krnlyng has joined #sailfishos17:39
*** ziomatto has joined #sailfishos17:41
*** Sp|atter has joined #sailfishos17:41
ziomattohi, is linux the kernel of sailfishos ?17:42
Stskeepsyes17:42
*** stephg has joined #sailfishos17:45
*** arcean has joined #sailfishos17:45
ziomattoi think it would be good to give them credit instead hiding this information https://sailfishos.org/about-architecture.html17:45
*** SfietKonstantin has joined #sailfishos17:47
*** phako_ is now known as phako17:53
*** SfietKonstantin has quit IRC17:54
*** freedomrun has joined #sailfishos17:59
*** stephg has quit IRC17:59
*** arcean has quit IRC18:04
Elleodist: did you enable developer updates?18:06
Elleodist: if so run "ssu domain sales" to fix it18:07
*** roric has joined #sailfishos18:11
*** suspam has quit IRC18:13
fluxso it seems remote debugging doesn't yet work from the SDK/qtcreator?18:17
*** roric has quit IRC18:20
*** pixraider_ has joined #sailfishos18:27
*** pixraider has quit IRC18:28
fluxis there a reasonable way to do edit&compile&deploy-cycle without qtcreator being involved? such as from within emacs?18:30
fluxor should I just copy my sources to MerSDK and run the build on there, ie. is there a simple mechanism that does that I could just reuse?18:33
Pnuuflux: do you need cpp or is it purely qml?18:34
fluxI need c++ yes18:34
PnuuI've been learning qml using hello world pro as a loader :-)18:34
*** matsimoto has quit IRC18:34
Pnuumkay, then it might be more complicated18:34
tuukkahflux, here's how: https://github.com/amarchen/Wikipedia/blob/master/README.md#build-from-command-line18:35
coderusflux: login to build Mer machine, it will use your home directory, you dont need to copy anything. and use mb/mb2 for building. its easy.18:37
coderusis there any usable twitter client for sailfish?18:37
fluxtuukkah, cool, thanks, it seems to work just great!18:37
fluxis there a deployment method I can use?18:38
artemmaflux, Wikipedia project has instructions for build'n'running from command line. Pretty good ones actually. Pull request for something like this to HelloWorld Pro would be very welcome18:38
artemmabut preferably written from scratch due to license difference (HW Pro is public domain)18:38
artemmacreated by tuukkah actually - din't notice he is in the channel :)18:39
coderusflux: scp to device and pkcon for installing. its quite easy too18:39
tuukkahflux, pkcon install-local application.rpm18:39
fluxapparently the appropriate environment variables are already set, so running it should Just Work(TM)?18:40
*** amizraa has quit IRC18:40
coderusflux: running WHAT?18:40
tuukkahartemma, just a sec, let me submit the same instructions to helloworld-pro18:41
fluxrunning the application in question18:41
coderusflux: sure. no problems here. just launch it after installation18:41
fluxthanks18:41
fluxI'll put all that into a script and forget it thereafter :)18:41
coderusi'm currently developint in QtCreator, but compiling and deploying im xterm. its much comfortable than qtcreator :D18:42
coderuss/developint/developing18:42
fluxthe virtualbox share is a nice trick used in the sdk, no copying needed18:42
fluxand no potentially troublesome nfs mounts involved either..18:43
artemmacoderus: I am giving "Deploy by copying binaries" method. Is sorta Okay. Adds a bit of headache to directories management, but once you are done with it, continuation is fast18:43
coderus[./build.sh --deploy 192.168.2.15] is more comfortable for me18:44
coderusi'm cli guy :D18:44
fluxI can easily think rsyncing only the binary is going to beat installing an rpm package18:45
fluxis it so?18:45
coderusflux: no problems too18:45
coderusflux: i'm always mounting device via sshfs to my host18:45
artemmacoderus: 90% of time I want to push one button and see test results. Command line script could do it, but hitting Cmd+R in QtC results in the same except I don't leave the editor18:45
*** ziomatto has quit IRC18:46
coderusflux: compiling all i need and then playing with qml directly18:46
artemmaflux: with small apps speed difference is not very significant. But rsync is still a little faster18:46
coderusartemma: unless you doing something complex its okay18:47
edgarshmmm18:47
edgarscamera is really bad, or i'm too unadvanced user?18:47
artemmacoderus: yes, I also strongly prefer starting with RPM. It makes sure the important parts of .yaml/.spec/.pro are correct, but the daily yet-another-feature cycle is fine with rsync18:48
coderusartemma: but when you starting developing client + server and need to watch lifecycle of both you cant use internal tools :)18:48
artemmacoderus: true18:48
coderusartemma: i'm not talking about rsync18:48
artemmagot it18:48
coderusartemma:  i'm talking about 1-click solution18:48
* artemma is known for creating a mock server for testing bank client-like system. And another set of tests just for checking that remote API is still the same his mock server is emulating18:49
coderusartemma: anyway, i'm just saying how i'm doing this, i never suggesting something to others :)18:49
artemmaoh well, known among myself and a couple of other people :)18:49
*** zacce has quit IRC18:50
artemmasure, client-server is a different story from small push-the-button app18:50
coderusanyway18:50
coderusI NEED TWITTER18:50
coderusplease :D18:50
coderusanybody have working builds for daily usage? anyone?18:51
* artemma thought some twitter client is included to Jolla device18:51
artemmaand somebody was porting.. was it tweetie?18:51
walokracoderus: tweetian?18:51
coderusartemma: no twitter client, only feed integration and Whats happening button :D18:51
artemmatweetian, yes18:51
*** zacce has joined #sailfishos18:51
coderuswalokra: is it ready to be used?18:52
walokrapreview version but no other information about it18:52
Venemocoderus: bug veskuh about Tweetian18:53
*** DrIDK has quit IRC18:53
walokrai read in twitter that some bugs but works otherwise nicely, https://www.dropbox.com/s/jf8c56fpjdm90x9/tweetian-1.8.2-1.armv7hl.rpm18:54
coderusVenemo: i know, but he not online now :D18:54
coderuswalokra: thanks, will try it now18:55
Venemocoderus: on Twitter :P18:56
Venemosee https://twitter.com/veskuh/status/41445801028383539218:56
artemmacould some android client work?18:57
artemmaDeveloping twitter clients is a little difficult motivation-wise due to 100K max users limit18:57
Venemosurely, android stuff should work too18:57
Venemoand the mobile web site also18:58
coderusartemma: i have no idea, i'm owning only Nokia N9 :D18:58
artemmathough Android doesn't have super-good twitter clients either18:58
* artemma is using official Twitter client on BB10 device. It is sort of okay, but no Gravity or TweetBot18:59
Master-PasseliHi everyone.19:00
coderuswell, tweetian seems usable, thanks for everybody ;)19:00
*** jjarven has quit IRC19:00
Master-Passelii have a problem creating RPM package for ARM platform of my project. i'm using this SailfishSDK19:00
walokrait's too bad twitter & co. hate (by limiting) when devs want to do apps for platforms they don't support19:00
Master-PasseliSDK created RPM just fine for i486 platform but not for ARM. it does compile the code like it should19:01
artemmaIMHO twitter ideas is that they support all platforms that matter and they don't really care about the other ones19:01
artemmaMaster-Passeli: make sure you perform Clean19:01
fluxhmm, I guess I didn't break it with my scripts, but now my jolla is with black screen and power button does nothing.. anything I can restart?-)19:02
pp_remove battery?-)19:02
fluxI can log in fine over ssh19:02
fluxpower button does work no doubt19:02
fluxbut it doesn't unblank the screen19:03
Stskeepsflux: you probably need to factory reset19:03
pp_systemctl should give you hints19:03
Stskeepsflux: if you give me a moment i can tell you what to do19:03
fluxit just did that while running, the first time ever19:03
Stskeepsah, that screen doesn't come back on?19:03
Stskeepsjust hold down power button19:03
Master-Passeliartemma: ok, i did clean and it cleaned the project just fine. what now?19:03
fluxstskeeps, so, reboot?19:03
artemmaMaster-Passeli: now build and deploy19:04
fluxI imagine it will fix it, but I was hoping not to19:04
Stskeepsflux: reboot19:04
fluxwill trying to restart wayland help?19:04
Master-Passeliartemma: but i can not deploy since i have no ARM device or emulator.19:04
Stskeepsprovided you didn't do anything to cause it, reboot is fine19:04
artemmaMaster-Passeli: also make sure it is ARMv7 that is selected in Projecs tab19:04
artemmaMaster-Passeli: Deploy menu item in Qt creator. That's what generates RPM in QtC19:05
Master-Passeliartemma: i can not deploy since SDK comes only with i486 emulator.19:05
Master-Passeliarm deploy need some device and i don't want to use my phone directly19:05
*** faenil has joined #sailfishos19:06
Master-Passelior is there something wrong in my SDK? should i have ARM emulator?19:07
artemmaMaster-Passeli: you wanted to create ARM rpm didn't you?19:07
Master-Passeliartemma: sure19:07
artemmabuilding from QtC with ARMv7 selected will do it19:07
artemmano device needed19:07
*** joecool has quit IRC19:07
mfulzis there some file selection dialog in sailfish sdk?19:08
mfulzif I try that: http://qt-project.org/doc/qt-5.1/qtquickdialogs/qml-qtquick-dialogs1-filedialog.html19:08
Master-Passeliartemma: it does compile everything but does not create RPM package. if it is done in deploy phase then i can not do it because i have no ARM device (emulator or real one)19:08
mfulzFileDialog is unknown19:08
artemmaMaster-Passeli: there is Deploy menu item in QtC ;)19:09
artemmaBuild -> Deploy19:09
fluxmeh, I rebooted, couldn't find anything interesting to restart19:09
*** gigetoo has quit IRC19:11
situIs there a spotify client for Sailfish ?19:11
Master-Passeliartemma: woho! now i got it.19:12
fluxas far as I know there isn't, but I seem to recall someone was writing one..19:12
*** gigetoo has joined #sailfishos19:12
artemmaMaster-Passeli: good luck with the submission!19:12
fluxbut who knows if those projects proceed, so go ahead :)19:12
Stskeepsflux: works after a reboot?19:12
fluxstskeeps, yes19:12
Master-Passeliartemma: thanks man! i will test my package and deliver "better" version of tidning application if you want19:12
Stskeepsflux: good19:13
artemmaMaster-Passeli: i don't have a device yet ;)19:13
Stskeepsflux: so you hit the 'screen doesn't turn back on' problem19:13
fluxnice that it boots so fast ;) (but asked for pin code, should have the 'ninja reboot' feature n900..)19:13
Master-Passeliartemma: i don't submit this application directly but i make my changes available so that they could be added to the original package19:13
fluxstskeeps, well, it was my first time so I guess it doesn't happen so often. but if it does happen once a week, it means many people are affected :)19:13
Stskeepsflux: nod19:14
Stskeepsit's getting tracked19:14
* artemma wants QtQuick test to have tryVerify just as it has tryCompare. Would make it easier to test while you don't care about precise asynchronicity19:14
Stskeepsnot a HW problem.19:14
fluxalways good to hear. and even if it were a HW problem, a software workaround would surely be found :)19:15
*** edgar2 has joined #sailfishos19:17
Venemomfulz: nope, I had to reinvent the wheel myself19:18
mfulzwould you share your code?19:19
Venemowell, my stuff is just a picture picker19:19
Venemobut of course, puzzle-master is open source, see https://github.com/Venemo/puzzle-master19:19
mfulzI just need to select a certificate and copy the full path back19:20
Venemomfulz: https://github.com/Venemo/puzzle-master/blob/master/qml/default/GallerySelectorDialog.qml19:20
Venemomfulz: you will have to configure the DocumentGalleryModel differently19:20
Venemomfulz: if you need further help with it, w00t is the guy who wrote QtDocGallery 5.019:21
*** jjarven has joined #sailfishos19:21
mfulzok great thank you19:21
Venemomfulz: also; depending on your needs, DocumentGalleryModel might not be good enough for your purpose, in which case you'll need to use something else19:24
mfulzok19:24
*** nsuffys has joined #sailfishos19:25
mfulzand why is the normal file dialog not working is the qt version not new enough?19:26
VenemoI have no idea, never tried19:27
olofktuukkah: Regarding sailifsh-qml, I assume that it should be enough to add a dependency on libssailfishapp-launcher in the RPM then to make it work if it's launched with the .desktop19:31
olofkBut will that work in the emu too? Does the deploy step launch the .desktop, or run the binary directly?19:31
*** lbt has quit IRC19:35
*** lbt has joined #sailfishos19:35
*** lbt has quit IRC19:35
*** lbt has joined #sailfishos19:35
*** __pv has quit IRC19:36
*** jmlich has quit IRC19:36
*** __pv has joined #sailfishos19:36
tuukkaholofk, in the ide, you can configure the run command19:37
*** raa70 has quit IRC19:39
*** raa70 has joined #sailfishos19:40
*** nsuffys has quit IRC19:49
olofkI'm a bit confused about the zypper/pkcon situation. Both are rpm frontends, right? What are the reasons for using either of them?19:56
jake9xxyou don't need root access to do pkcon install19:58
*** beford has joined #sailfishos19:59
pp_pkcon also integrates with ui bits, I believe19:59
olofkSo zypper is basically for people who are already accustomed to using it then?19:59
olofkI mean from suse (or where it's used)20:00
jake9xxkinda like that yes20:00
*** Sp|atter has quit IRC20:01
olofkInstalling sailfishapp-launcher did the trick. I can launch pure QML apps on the device now20:02
olofkAnd it works fine to just ssh into the device, start the app and have it show up on the Jolla screen20:03
jake9xxolofk: nice, when you deploy a template-based app from qtcreator as rpm package, you get it automatically20:04
olofkjake9xx: Yes. I guess I need to make that work as well to create a proper rpm that I can submit to the store20:05
olofkBut this is nice since it means I can do some quick development without having to install the IDE if I'm using another computer20:06
*** arcean has joined #sailfishos20:06
olofkIf I choose to deploy as rpm in the IDE, will it install the required deps automatically?20:07
olofkin the emulator20:08
jake9xxyes20:08
jake9xxthat's the idea of rpm packaging20:08
zuhassuming they are available of course... :)20:09
olofkWasn't sure about the dependency handling. I'm a bit rusty on the rpm side however. Haven't used redhat in almost 15 years :)20:09
*** lollo2 has joined #sailfishos20:10
Pnuuolofk: last I used rpm packages, it was called "dependency hell"20:12
jake9xxolofk: welcome to the club :)20:12
Pnuuthat was something like 10 years ago :-)20:12
*** furikku has quit IRC20:13
Stskeepshttp://releases.merproject.org/~carsten/mer-srcpkgs-without-gcc-glibc-bash.svg20:14
jake9xxPnuu: RHEL 7 cd's still in my drawer20:15
Stskeepsi really can't find out if aptoide is legit or not20:15
olofkhmm.. I'm getting this when I add libsailfish-launcher to the Requires field in the yaml file20:15
olofkFatal error: nothing provides libsailfishlapp-launcher needed by untitled-0.1-1.i58620:15
olofkahh. crap. A typo20:16
Pnuujake9xx: my first linux was finnlinux 2000 or something..20:16
jake9xxolofk: almost said it20:16
olofkI suspect there will be a _lot_ of typos for a while. I discovered just a few days ago that the OS was sailfish, not saifish as I have thought for a year or two20:17
ElleoStskeeps: depends what you mean by legit? aptoide works as a pretty general purpose store client and lets people create their own stores; so there might well be stores containing malware, pirated content, etc.20:18
StskeepsElleo: ah20:18
ElleoStskeeps: iirc f-droid (free software only marketplace) used to be based around apotoide for example20:18
Elleonot sure if it still is though20:18
Stskeepsi was wondering idly20:18
Elleothe client itself is open: http://dev.aptoide.org/20:19
Elleooh and so's the server20:20
Elleohmm or possibly not20:20
Elleonot clear on the server side20:20
olofkok, so adding a dep on libsailfishapp-launcher works fine, but I can't figure out how to change the run command. Anyone?20:21
Elleoolofk: the Exec line of your .desktop file controls that20:21
olofkElleo: ahh.. really. That's great then20:21
olofkYes! It works. Bye bye cpp entry point. Might have saved a few bytes of private memory for the app :)20:24
*** artemma has quit IRC20:24
Elleoolofk: great :)20:24
olofkHaven't used a fancy IDE in ages, and I must say that I'm impressed by how smooth everything works20:25
*** Superpelican_ has joined #sailfishos20:26
*** Superpelican_ has quit IRC20:29
jake9xxolofk: good to hear20:33
*** qqK has joined #sailfishos20:35
*** phlixi_ has quit IRC20:36
*** cvp has joined #sailfishos20:36
*** jpnurmi has joined #sailfishos20:37
w00tjpnurmi: pushed a commit that should fix packaging20:37
jpnurmiw00t: sweet, thanks20:38
*** Morpog_Mobile has quit IRC20:47
*** phlixi has joined #sailfishos20:51
*** thessy has joined #sailfishos20:53
thessyhi, searching the right way to integrate own ssl cert (CAcert) to my jolla. any hints how to do this?20:55
olofkhmm. still some problem with building my QML-only app. I created a new project by copying, editing and renaming the relevant files from my test project20:56
olofkNow I can't build the new project. Looks like qmake is trying to run g++ without any source files20:56
olofkCan't understand why this is only happening with my new project20:56
edgarsdamn20:57
edgarsreally missing whatsapp20:57
*** M4rtinK has joined #sailfishos20:57
jake9xxcoderus: ^^  :)20:57
Aardedgars: seems to work reasonably well with alien. don't use it myself, but my wife uses it20:58
edgarsAard: yeah, cant start chat ;/20:58
Aardhm. she can :p20:58
edgarsi prefer to avoid emulated software :)21:00
*** Morpog_Mobile has joined #sailfishos21:00
* Aard too, but... 21:00
qwazixhow can I run something as root in an app?21:01
edgarsbut... community must work harder to make more apps :>21:01
olofkedgars: We're on it :)21:02
*** artemma has joined #sailfishos21:03
Fryeolofk, I can try to help if you can share the code someway.21:03
FryeI have done few renames myself21:03
Fryeolofk, However even if it's qml only app I think there is one cpp file that needs to be compiled. Have you renamed that too?21:04
edgarsolofk: and if it's not a top secret, on what are you working? :)21:05
FryeYeah, well if it's a project with renames I guess it's not yet that secret =)21:07
FryeBut there is quite a few places where the renaming needs to be done.21:07
FryeEntries in the .pro file. Also entries in the yaml file21:08
Fryegrep is a good friend there :D21:09
artemmaFrye: HelloWorld Pro's renaming script should help21:09
FryeWell I've done my renamings21:09
FryeBut I need to make a note that one exists21:09
Fryefor the future21:09
artemmait was creating for using HW Pro as a starting template, but I think people used its renaming script for just renaming current project too21:09
artemmacreated*21:10
Fryeok21:10
edgarsohhh great... at 14:00 battery was 100%, now (23:12) it's 64%21:12
olofkedgars: It's just a toy app that calculates love between two persons :) Just doing something to get to know the dev tools21:15
edgarsmhh :)21:15
olofkFrye: I have just shown that you don't actually need the cpp part by using sailfish-qml from libsailfishapp-launcher21:16
Fryeok21:16
*** itbaron has quit IRC21:17
*** c0ck4m0u53 has quit IRC21:18
olofkand for some reason a couple of paths keep popping up in my .yaml file even if I remove them21:19
*** artemma has quit IRC21:22
olofkIs the spec file and yaml file updating each other somehow?21:22
Fryespec file is generated from the yaml file21:23
jotikHello! Where can I find the Sailfish repositories?21:24
specialjotik: code? binaries? which parts?21:25
jotikspecial: sry, i meant code repositories21:25
jotikI can't find any reference to them on the website21:25
specialbase system is mer (https://github.com/mer-packages/ http://gitweb.merproject.org/gitweb/), middleware is nemo (https://github.com/nemomobile/ https://github.com/nemomobile-packages/)21:26
specialthe sailfish UI repositories are not open currently21:26
jotikany reason why?21:27
specialnot for me to speculate21:27
jotikany hope they will be open-sourced in the next 3 years?21:29
specialalso not for me to speculate, I wouldn't want to say anything misleading :)21:29
FireFlyAIUI the sailfish UI is the "commercial part", so to speak, and could be licensed to other vendors or whatever21:30
FireFlyso I guess there's that21:30
olofkah crap. Turns out that the build scripts really need the cpp file. The reason why it worked on my old project was that the build dir hadn't been cleaned out21:31
olofkSo how do I prevent the build scripts from running qmake?21:31
olofkI suspect I need to somehow change how the spec file is generated from the yaml file21:32
FryeLink qmake to /bin/true?21:32
FryeNo Idea really21:33
fluxfirefly, I suppose dual-licensing under GPL and requiring copyright assignment would work for many. perhaps.21:33
specialolofk: the yaml has a line like "Builder: qmake5", which is generating the qmake lines in the .spec.21:34
olofkIs the yaml->spec conversion part of QT creator, or is it a sailfish-specific thing?21:34
FryeNo idea sorry21:35
specialhttps://wiki.merproject.org/wiki/Spectacle21:35
specialthe tool is 'specify'21:35
olofkspecial: Perfect! I'll dig into that21:35
*** lbt has quit IRC21:38
*** lbt has joined #sailfishos21:38
*** lbt has quit IRC21:38
*** lbt has joined #sailfishos21:38
*** edgar2 has quit IRC21:39
specialolofk: iirc, you can remove the 'Builder' line and edit the .spec in the appropriate sections, and the changes will be preserved21:40
*** mike7b4_on_x230 has joined #sailfishos21:41
*** AlmAck has quit IRC21:41
olofkspecial: I changed it to none, but I'm not sure that the rpm is generated at all now21:41
mike7b4_on_x230hi21:41
specialolofk: 'builder' doesn't change anything for generating the RPM; it just changes what happens for the build and install phases21:42
*** AlmAck has joined #sailfishos21:42
*** thessy has left #sailfishos21:43
olofkspecial: Scanning through the generated makefile, it looks like it no longer installs the qml files. Could that have been part of the builder profile?21:45
olofkAll this is starting to feel a bit stupid since it works just fine if I include the three line cpp template file21:45
*** dhbiker has quit IRC21:45
olofkBut it still annoys me enough to keep going :)21:45
*** Finleida has quit IRC21:47
FryeI would not bother. But then again I have hard time getting sw to compile even with the three line cpp file =)21:48
*** Turski has joined #sailfishos21:50
*** jotik has left #sailfishos21:52
specialolofk: oh. well, without qmake you're not building or installing anything.21:57
specialolofk: you'd need to edit the .pro files to get rid of the C++21:57
olofkspecial: I did that already. I _think_ the problem now is that qmake is trying to run g++ on an empty SOURCES, so ld bails out when it can't find main21:58
specialchange TEMPLATE = app to TEMPLATE = aux21:58
specialin .pro21:58
*** artemma has joined #sailfishos22:00
olofkspecial: That looks like it did the trick. Now I got a popup asking me to specify the executable. I'll try to play around with that and see if I can get it running22:01
*** rcg has quit IRC22:02
olofkhmm.. I tried to specify sailfish-qml as the executable, but that didn't work.22:05
specialyou'll probably need to give it arguments pointing to whatever qml you want it to execute?22:07
*** VDVsx_ has quit IRC22:08
M4rtinKlol, meegotouch lives on ! :D22:09
M4rtinK/usr/share/themes/jolla-ambient/meegotouch/22:09
olofkspecial: I set %{name} as the argument.22:09
specialthat variable may not work in that context22:09
specialM4rtinK: haha, yes. silica's theme engine is directly based on qt-components', which is a small port of meegotouch's22:10
*** Almehdin has joined #sailfishos22:10
olofkI'll try to change it if I can find where it's defined. I don't get the question anymore22:11
olofkAlso, it says it couldn't find sailfish-qml in path, so I'm not sure that the argument is the problem22:11
olofkThis is as far as I get tonight. Thanks for all the help22:16
olofkOne more thing. Where do I find the run configuration? I've only been able to change it by hacking the .pro.user file22:22
*** javispedro has joined #sailfishos22:23
*** Almehdin has joined #sailfishos22:23
M4rtinKthp: I'm getting an assert error when trying PyOtherSide on the Jolla22:26
merlin1991M4rtinK: what's your error exactly?22:27
M4rtinK[nemo@localhost examples]$ /usr/lib/qt5/bin/qmlscene notes/main.qml22:27
M4rtinK[D] QWaylandEglIntegration::QWaylandEglIntegration:58 - Using Wayland-EGL22:27
M4rtinKimported python module22:27
M4rtinK[F] qt_assert:2014 - ASSERT: "list != NULL" in file qpython_priv.cpp, line 19422:27
M4rtinKfollowed by22:27
M4rtinKNeúspěšně ukončen (SIGABRT)22:27
M4rtinK(no idea why the message is translated to czech :) )22:28
M4rtinKmerlin1991: this is the notes example from freshly cloned pyotherside22:28
M4rtinKmerlin1991: the mandelbrot example works fine22:29
merlin1991did you also build pyotherside from the clone, or are only the examples taken from git?22:33
*** lbt has quit IRC22:33
M4rtinKI'm using PyOtherSide from THPs repo22:34
*** lbt has joined #sailfishos22:34
M4rtinKfrom here: http://repo.merproject.org/obs/mer-python3/latest_armv7hl/mer-python3.repo22:34
*** Almehdin has joined #sailfishos22:35
M4rtinKpyotherside & Python 3 from there22:35
*** Almehdin has quit IRC22:35
M4rtinKbased on this (outdated ?) ML guide: https://lists.sailfishos.org/pipermail/devel/2013-September/000782.html22:35
merlin1991I was just asking so I don't look at the wrong version of thps code22:36
*** Almehdin has joined #sailfishos22:36
juke_i get "libQt5Positioning.so.5: cannot open shared object file: No such file or directory" where do i need to add this dependency? it builds fine22:37
M4rtinKwell, it is not built against that recently added Sailfish target22:37
M4rtinKnot sure if it could cause this issue22:37
merlin1991M4rtinK: pyotherside is young, there can still lurk errors :)22:38
*** Almehdin has joined #sailfishos22:39
M4rtinKmerlin1991: sure, but seems to be working working really well in concept :)22:39
M4rtinKmerlin1991: makes a lot of stuff more simple & just more "natural" than PySide22:40
merlin1991I like the concept, but I'd love to have some sort of support for models on python side22:40
merlin1991but the global python interpreter lock makes that a headache to implement22:40
M4rtinKmerlin1991: well yeah22:40
M4rtinKmerlin1991: as long as you can just push the whole model back and forth, it works22:41
merlin1991since in the qt implementation the ui side calls GetData or something similar with the model index to get the data for a "line", which could potentially stall22:41
M4rtinKmerlin1991: but for big models modified from both sides, one would have to do some hacks :)22:41
merlin1991and the qml code is fancy engough that it queries models only for the lines its currently displaying, so scrolling a bigger list launches quite a lot of calls22:42
M4rtinKmerlin1991: well, the model could be Qt side22:42
*** Almehdin has joined #sailfishos22:42
M4rtinKjust accessible from Python22:42
M4rtinKcalling the appropriate modification methods22:43
merlin1991so you'd somehow create a model instance on qml side, and push a reference to python via some call and then have the python code update that22:43
M4rtinKless useful than subclassing the model & overriding the methods, but IMHO would still be useful22:43
merlin1991yeah that could actually work well for background stuff without having the gil problem22:43
M4rtinKI thing that would be doable even now22:44
M4rtinKbut would be nice to have it built-in22:44
merlin1991it's weird concept wise though22:44
M4rtinKcould be even implemented in the C++ code22:44
merlin1991you have the "backend" python providing data via a model that lives in the "frontend" qml22:44
M4rtinKit would make you a C++ AbstractList model and provide some interface to it to Python code22:45
merlin1991I bet someone would go editing the model with javascript from qml side and wondering why it all goes foobar :D22:45
M4rtinKwell, that would still work :)22:45
M4rtinKthe Python code would have to count with that22:45
merlin1991yeah but usually when you provide data via model to qml you assume you are the one doing the editing and the "other" side just displays whatever you provide22:46
M4rtinKotherwise you would still have the issue you mention - getting GIL for every getData call22:46
M4rtinKwell, could go both ways22:47
M4rtinKeq, folderlist model22:47
merlin1991I like the idea22:48
M4rtinKwell, not sure if the actual FolderListModel works like this, but I could imagine a model based on files that manipulates the files when changed from QML22:48
*** Almehdin has joined #sailfishos22:48
M4rtinKBTW, possibly a nice hack :)22:48
*** Almehdin has quit IRC22:48
M4rtinKa Python dictionary subclass :)22:48
* merlin1991 currently install sailfishsdk on his pc22:48
*** Almehdin has joined #sailfishos22:49
merlin1991so far I only used it on my laptop but at home that feels silly when I could use 2 monitors instead .D22:49
M4rtinKwith the state modifying methods hooked22:49
*** Almehdin has quit IRC22:49
*** Almehdin has joined #sailfishos22:49
M4rtinKso if you add/change an item in python, it would update the model automatically22:49
*** Almehdin has quit IRC22:49
M4rtinKeven incrementally :)22:50
merlin1991or you'd just you know provide something else from python to qml via the usual pyotherside async way and call that from qml todo your editing ;)22:50
M4rtinKyeah, it worked fine so far :)22:50
M4rtinKvery nice how you can pass Python/QML data to it22:51
M4rtinKand it all gets transformed automatically22:51
*** artemma has quit IRC22:51
merlin1991yeah, it's very pythonic :)22:51
M4rtinKand the Python image data provider :)22:51
M4rtinKworks really well22:52
merlin1991iirc the mandelbrot example is using that?22:52
M4rtinKyep22:52
M4rtinKgenerates the data python side & provides as raw image data to QML :)22:52
M4rtinK(BTW, I've actually written the initial "specification" for this to a GitHub issue & THP implemented it really well :) )22:53
mfulzcan I access any Qt data inside the QML? Especially when getting a QFileInfoList, can I just iterate via JS inside QML over it?22:54
merlin1991I should have partitioned my harddrive differently when I set up this pc, /home is 128G and /scratchbox is 101G, now a year later or so home has 11G left while /scratchbox still has 61Gs free :/22:54
mfulzthat's why I always use LVM :)22:55
merlin1991doesn't really help when you've exhausted 100% of your physical drives22:57
merlin1991I'd still have to move around my volumes22:57
M4rtinKwell, you could just resize the LVs :)22:57
M4rtinKwell, maybe first the fs, then the volume :)22:57
mfulzcan someone answer my question about the data in qml?22:58
merlin1991yeah but what's the difference if I resize my partitions and fs or lvs and fs22:58
jpnurmimfulz: nope, types (typically qobjects or qjsvalues) need to be registered to qml22:58
M4rtinKmerlin1991: you can make the scratchbox one smaller & home bigger22:58
merlin1991I personally think the advantage of lvm is the possibility merge another physical disk into your lvs22:59
M4rtinKnow when I think about it, that's one one of the plus points of btrfs22:59
mfulzso what would be a good practise to hand over a list of something to qml? Or would it be better to edit the QML stuff inside of the c++ directly?22:59
M4rtinKas it is fs & LVM fused together22:59
M4rtinKyou can just resize the subvolume at that's it, no need to do fs & LV separately22:59
merlin1991mfulz: there is the whole concept of "models"22:59
jpnurmimfulz: the basic types work. you could pass a string list for example23:00
*** Sarvi has quit IRC23:00
merlin1991mfulz: http://qt-project.org/doc/qt-5.0/qtquick/qtquick-modelviewsdata-modelview.html23:00
M4rtinKmerlin1991: btw, this works with PyOtherSide:23:00
*** Almehdin has joined #sailfishos23:00
M4rtinKzoomLevel: rWin.get("z", 11, function(v){zoomLevel=v})23:01
M4rtinKget calls asynchronously a Python function providing accessing a dict23:02
M4rtinKs/providing//23:02
M4rtinKthe funtion gets the key ("z"), default value (11) and function(v){zoomLevel=v} is called once the Python function returns :)23:03
M4rtinK-> asynchronous property setting from value provided by Python code, all on one line :)23:04
*** Almehdin has joined #sailfishos23:04
*** Almehdin has quit IRC23:05
mfulzmerlin1991: but this is only for qml specific things? It doesn't help me much for getting the Qt datatypes displayed?23:05
*** Almehdin has joined #sailfishos23:07
*** Almehdin has joined #sailfishos23:08
jpnurmimfulz: http://qt-project.org/doc/qt-5/qtqml-cppintegration-data.html23:08
mfulzthanks23:09
*** Almehdin has quit IRC23:15
*** Almehdin has joined #sailfishos23:15
walokracan i override how flickable works on silicalistview? provide custom actions when user flicks right/left?23:16
*** Almehdin has joined #sailfishos23:19
*** lbt has quit IRC23:22
*** fk_lx has quit IRC23:22
M4rtinKmerlin1991: I've rebuilt pyotherside & Python 3 using the Sailfish target23:32
M4rtinKmerlin1991: and it seems to work now23:32
M4rtinKmerlin1991: well, at least the example launches now :)23:32
*** MMx has quit IRC23:32
*** MMx has joined #sailfishos23:33
M4rtinKMerbot: the repo is here: https://build.merproject.org/project/show?project=home%3AMartinK%3Asailfish%3Apyotherside23:33
MerbotM4rtinK: Error: You must be registered to use this command. If you are already registered, you must either identify (using the identify command) or add a hostmask matching your current hostmask (using the "hostmask add" command).23:33
M4rtinKgah23:33
M4rtinKmerlin1991: the repo is here: https://build.merproject.org/project/show?project=home%3AMartinK%3Asailfish%3Apyotherside23:33
merlin1991heh I didn't know the public obs had a sailfish target23:34
*** Venemo has quit IRC23:34
M4rtinKlbt added it quite recently23:34
*** Hurrian is now known as Hurrian|GS223:35
M4rtinKworks nicely & I'm using it to port useful libs & packages :)23:35
*** Almehdin has joined #sailfishos23:35
merlin1991cool23:35
*** Hurrian|GS2 is now known as Hurrian23:35
*** Almehdin has joined #sailfishos23:36
merlin1991now we just need to start a community project and we're good to go23:36
merlin1991and hopefully this time around it works better than apps4meego :D23:36
*** miksuh has quit IRC23:37
*** spider-mario has quit IRC23:39
M4rtinKyeah, setting up something like Maemo Extras & community QA should be possible23:41
M4rtinKand there are also OpenRepos23:41
*** Almehdin has quit IRC23:42
*** Hurrian|GS2 has joined #sailfishos23:42
*** Hurrian|GS2 has joined #sailfishos23:43
*** Almehdin has joined #sailfishos23:43
*** Hurrian|GS2 has quit IRC23:44
*** Almehdin has joined #sailfishos23:45
*** Almehdin has joined #sailfishos23:47
*** Almehdin has quit IRC23:47
merlin1991isn't openrepos more about per developer repos?23:47
merlin1991I was thinking about a maemo style extras repo that has developers work on the open obs with 2 projects where promotion from "testing" to "extras" happens via community qa interaction on the "repo" homepage23:47
merlin1991and to be somewhat independend I'd sync the resulting project repo onto it's own server so that obs only is the acl and build bit which should be trivial to replace in case it ever moves away23:47
merlin1991s/it's/its/23:48
M4rtinKyou can also clone the whole project locally23:48
M4rtinKas was done ne-masse before the COBS shutdown23:49
M4rtinK*en-masse23:49
* merlin1991 didn't use obs at all so far23:49
merlin1991so my whole idea is based on bits and pieces I read here and there23:49
M4rtinKmerlin1991: btw, your idea should work fine23:49
M4rtinKtalked about something similar with lbt, should be possible23:50
*** Almehdin has joined #sailfishos23:50
M4rtinKBTW, just a technical note23:50
*** Almehdin has joined #sailfishos23:50
merlin1991iirc obs has apis todo the moving around of packages, .... so we'd just need to come up with a nice community website that integrates all that23:51
*** Almehdin has joined #sailfishos23:51
M4rtinKlinks to the packages might not be persistent23:51
merlin1991and if possible we even place it on top of maemo.org23:51
*** Almehdin has quit IRC23:51
M4rtinKthe build system adds a a.b.c suffix23:51
M4rtinKwhere b for example is package revision23:51
*** disharmonic has quit IRC23:52
M4rtinKso if you change the package in OBS, it increases23:52
M4rtinKso nice that people using the repo will get an update notification, but the actual package url will change :)23:52
merlin1991is that also related to the rebuild business that takes place when you upgrade a library package?23:52
M4rtinKcould be23:52
*** Almehdin has joined #sailfishos23:53
*** Almehdin has quit IRC23:53
M4rtinKmaybe a or c would change23:53
M4rtinKStskeeps told me about it, he should know more :)23:53
merlin1991hm obs probably has some hooks where it could notify an external application about that23:53
merlin1991in this case application being the community qa repo system23:53
M4rtinKBTW, there was already a project to replace autobuilder with OBS a while ago23:54
merlin1991I know I was part of every weekly meeting23:54
merlin1991it didn't get far though23:54
*** Almehdin has joined #sailfishos23:54
M4rtinKbut was scrapped when nokia pulled the plug for Maemo infra23:54
*** Almehdin has quit IRC23:54
M4rtinKas I understand that23:54
merlin1991I wonder if we still have the obs images23:54
merlin1991I'll ask around a bit23:55
M4rtinKwell, might be possible to salvage something from it23:55
merlin1991the biggest problem with moving autobuilder to obs, is the way -dev packages were made for scratchbox123:55
merlin1991they have all kinds of nasty mixed architecture binaries23:55
M4rtinKbtw, about hooks - I'm sure there are hooks for all important stuff23:56
*** Almehdin has joined #sailfishos23:56
merlin1991ie. qmake in the arm qt-dev package is x8623:56
*** Almehdin has quit IRC23:56
M4rtinKuh23:56
M4rtinKwell I kinda wonder why autobuilder still works at all :)23:56
merlin1991and iirc X-Fade tried to get the autobuilder obs up without using the sb2 patches mer is using to work around that23:56
merlin1991or rather mer is using them to use that in a sensible manner23:57
merlin1991well autobuilder is still up mostly thanks to freemangordon23:57
M4rtinKwell, once there is some playground, I guess one of the package-building mages could be able to cobble together a target23:57
merlin1991he's done quite a few patches to the autobuilder code since the infrastructure was given to the hildon-foundation23:57
M4rtinKyeah, was quite some heroics :)23:58
*** Almehdin has joined #sailfishos23:58
*** Almehdin has quit IRC23:58

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