*** Eztran has joined #sailfishos | 00:00 | |
mfulz | do you have a link to some beginner tutorial? | 00:01 |
---|---|---|
mfulz | which describes the concept and the glue between the c++ and qml code? | 00:01 |
*** rashm2k has joined #sailfishos | 00:01 | |
*** whippler has quit IRC | 00: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/8566478 | 00:03 |
lbt | in MObject header I may have : Q_PROPERTY(bool enabled READ enabled NOTIFY enabledChanged) | 00:05 |
lbt | and that means I must declare bool enabled(); signals: void enabledChanged(bool); | 00:05 |
lbt | so it's pretty simple | 00:05 |
mfulz | hm I guess I'm thinking in a complete wrong way here :) | 00:05 |
lbt | probably | 00:06 |
lbt | QML defines how a UI will look at application load time | 00:06 |
mfulz | could you perhaps try to explain in high level how you would go to achieve the following in qml / c++: | 00:06 |
mfulz | I've a qml with on button | 00:06 |
mfulz | when 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 #sailfishos | 00:07 | |
*** a3Dman has joined #sailfishos | 00:07 | |
lbt | so the QML UI defines things that a) may be changed by the user interaction b) may be changed by incoming data changes | 00:07 |
lbt | in this case the user touches the button | 00:08 |
lbt | https://sailfishos.org/sailfish-silica/qml-sailfishsilica-button.html | 00:08 |
lbt | tells us that there is an 'onClicked' event you can link to some javascript | 00:09 |
mfulz | yep 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 |
lbt | since JS can't run a system app you'd need to write some c++ | 00:10 |
lbt | that class would wrap a QProcess or something | 00:10 |
mfulz | yep and this point is my missing part of understanding | 00:11 |
mfulz | who to tell the button to call c++ code | 00:11 |
lbt | and would offer a slot called runMyExe | 00:11 |
lbt | now if you set view->rootContext()->setContextProperty("MyWrapper", mw); | 00:11 |
lbt | then in QML you'd have a MyWrapper object which js could call | 00:12 |
lbt | onClicked: MyWrapper.runMyExe() | 00:12 |
mfulz | ah | 00:12 |
mfulz | I think I understand now | 00:12 |
lbt | try it | 00:12 |
mfulz | and in this object I can use whatever I want to do with qt/c++ | 00:13 |
lbt | yes | 00:13 |
lbt | and there's a rich API to go between QML/C++ | 00:13 |
lbt | that's the trivial way (which is often enough) | 00:13 |
mfulz | do you have any link to an example app which does this wrapping? | 00:14 |
lbt | no - just start by making an empty QObject class | 00:14 |
lbt | then add it to the QML and see how QtCreator automatically does completion on the name | 00:15 |
mfulz | ok | 00:15 |
lbt | eg typing MyW would get you a dropdown | 00:15 |
*** planasb has quit IRC | 00:15 | |
lbt | then add a slot | 00:15 |
lbt | and see how that appears | 00:15 |
lbt | stick some qdebug in the slot instantiation | 00:15 |
lbt | and off you go | 00:15 |
lbt | http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-interactqmlfromcpp.html | 00:16 |
*** Kabouik has quit IRC | 00:16 | |
lbt | http://qmlbook.org/index.html | 00:16 |
*** a3Dman has quit IRC | 00:17 | |
*** Kabouik has joined #sailfishos | 00:17 | |
*** pizzulicchio has quit IRC | 00:18 | |
*** pizzulicchio has joined #sailfishos | 00:19 | |
*** planasb has joined #sailfishos | 00:21 | |
dist | lbt: oh thanks so much for qmlbook | 00:26 |
*** Kabouik_ has joined #sailfishos | 00:26 | |
mfulz | hm getting an invalid use of incomplete type 'struct QObject'd | 00:27 |
mfulz | some header missing=? | 00:27 |
*** rashm2k has quit IRC | 00:27 | |
*** rashm2k has joined #sailfishos | 00:28 | |
*** Kabouik has quit IRC | 00:28 | |
mfulz | yep where is QtQuickView defined? | 00:29 |
mfulz | ah nervermind its QQuickView :) | 00:31 |
*** arcean has quit IRC | 00:40 | |
*** a3Dman has joined #sailfishos | 00:40 | |
*** a3Dman has quit IRC | 00:42 | |
*** a3Dman has joined #sailfishos | 00:42 | |
*** a3Dman has quit IRC | 00:43 | |
*** planasb has quit IRC | 00:44 | |
*** a3Dman has joined #sailfishos | 00:45 | |
*** planasb has joined #sailfishos | 00:47 | |
*** bugzy has quit IRC | 00:50 | |
*** rashm2k has quit IRC | 00:50 | |
*** rashm2k1 has joined #sailfishos | 00:50 | |
*** pizzulicchio has quit IRC | 00:53 | |
*** Eztran has quit IRC | 00:53 | |
*** rashm2k1 has quit IRC | 00:58 | |
*** rashm2k1 has joined #sailfishos | 00:58 | |
*** cvp has quit IRC | 01:10 | |
mfulz | lbt: thank you very much for the help now I got the principle behind | 01:12 |
mfulz | One 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 user | 01:13 |
XenGi | fußballfans-- | 01:17 |
XenGi | dämliche spacken im bus | 01:18 |
XenGi | oh. wrong channel | 01:19 |
*** M4rtinK has quit IRC | 01:26 | |
*** ericcc has joined #sailfishos | 01:31 | |
*** planasb has quit IRC | 01:33 | |
*** planasb has joined #sailfishos | 01:38 | |
*** planasb has joined #sailfishos | 01:38 | |
*** planasb has joined #sailfishos | 01:38 | |
*** Frye has quit IRC | 01:39 | |
*** Frye has joined #sailfishos | 01:42 | |
*** rashm2k1 has quit IRC | 01:47 | |
*** mfulz has quit IRC | 01:48 | |
*** jjarven has quit IRC | 01:49 | |
*** planasb has quit IRC | 01:51 | |
*** triggerhappy has joined #sailfishos | 01:51 | |
*** freedomrun has quit IRC | 01:52 | |
*** parasemic has quit IRC | 01:53 | |
*** a3Dman has quit IRC | 01:55 | |
*** a3Dman has joined #sailfishos | 02:00 | |
*** a3Dman has joined #sailfishos | 02:00 | |
*** a3Dman has quit IRC | 02:03 | |
*** a3Dman has joined #sailfishos | 02:04 | |
*** Hurrian has joined #sailfishos | 02:05 | |
*** jjarven has joined #sailfishos | 02:05 | |
*** artemma has joined #sailfishos | 02:07 | |
*** Morpog_Mobile has quit IRC | 02:17 | |
*** planasb has joined #sailfishos | 02:18 | |
*** planasb has joined #sailfishos | 02:18 | |
*** rm_work is now known as rm_work|away | 02:25 | |
*** s1gk1ll_ has joined #sailfishos | 02:28 | |
*** furikku has joined #sailfishos | 02:29 | |
*** s1gk1ll has quit IRC | 02:31 | |
*** artemma has quit IRC | 02:35 | |
*** Morpog_Mobile has joined #sailfishos | 02:36 | |
*** a3Dman has quit IRC | 02:42 | |
*** Kabouik_ has quit IRC | 02:43 | |
*** Almehdin has quit IRC | 02:46 | |
*** VDVsx_ has joined #sailfishos | 03:22 | |
*** VDVsx has quit IRC | 03:25 | |
*** joecool has joined #sailfishos | 04:12 | |
*** Hurrian has quit IRC | 04:25 | |
*** Hurrian has joined #sailfishos | 04:42 | |
*** dist has quit IRC | 05:01 | |
*** Milo- has quit IRC | 05:01 | |
*** Milo- has joined #sailfishos | 05:01 | |
*** dist has joined #sailfishos | 05:07 | |
*** smokex is now known as Andrew_Jackson | 05:19 | |
*** Andrew_Jackson is now known as smokex | 05:20 | |
*** amccarthy has quit IRC | 05:22 | |
*** miksuh has quit IRC | 05:41 | |
*** triggerhappy has quit IRC | 06:31 | |
*** dhbiker has quit IRC | 06:35 | |
*** miksuh has joined #sailfishos | 06:40 | |
*** nsuffys has joined #sailfishos | 07:00 | |
*** AlmAck has joined #sailfishos | 07:30 | |
*** datakurre has joined #sailfishos | 07:38 | |
*** fk_lx has joined #sailfishos | 07:39 | |
*** beford has quit IRC | 07:41 | |
*** Morpog_Mobile has quit IRC | 07:51 | |
*** petri has joined #sailfishos | 07:51 | |
*** jjanvier has joined #sailfishos | 07:55 | |
*** MFaro-Tusino has joined #sailfishos | 08:00 | |
*** Morpog_Mobile has joined #sailfishos | 08:25 | |
*** Finleida has joined #sailfishos | 08:28 | |
*** miksuh has quit IRC | 08:37 | |
*** Aiena has joined #sailfishos | 08:45 | |
Aiena | Is the sailfish OS opensource or only the SDK? | 08:46 |
smokex | it is open source but there isn't an online repo | 08:48 |
smokex | you have to request the source and have it snail mailed to you | 08:48 |
smokex | until they get an open git set up online | 08:49 |
Aiena | Ah Ok | 08:50 |
Aiena | ANyways it looks really promising | 08:50 |
smokex | yeah the interface is nice, time saving | 08:54 |
smokex | and its good looking | 08:55 |
Aiena | Indeed. 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 |
smokex | this os is what would have happened if msft/windows hadn't destroyed nokia | 08:58 |
Aiena | Well WIndows willingly went there | 09:02 |
Aiena | I mean nokia willingly went there | 09:02 |
Aiena | Decisions Decisions Decisions they can make or break anything | 09:02 |
Aiena | You Know symbian was way better then Microsoft | 09:03 |
Aiena | If they had stuck with that OS and employed their energies in revamping it and improving it it may have still survived | 09:03 |
Aiena | Both Windows and iOS introduce too much lock-in | 09:04 |
Aiena | and in a world with android and open-source mindsets are changing | 09:04 |
Aiena | I loved symbian it was an incredible OS and made Nokia a leader | 09:05 |
jake9xx | smokex: just my personal opinion: no, it would not have happened, small group can get so much done fastr than big corp | 09:15 |
Aiena | in a way true | 09:16 |
Aiena | But not necessarily | 09:17 |
Aiena | There are economies and scale and diseconomies of scale | 09:17 |
smokex | jake9xx: harmattan was awfully close to sailfish under the hood | 09:17 |
Aiena | also econ omies and disecononomies of scope | 09:17 |
Stskeeps | smokex: harmattan and sailfish has two very different bases :P | 09:17 |
Aiena | In msft's case I gues fdisceconomies of scale are coming intp play | 09:17 |
Aiena | *into | 09:18 |
*** freedomrun has joined #sailfishos | 09:18 | |
smokex | the 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 |
smokex | unless we're talking about x vs wayland | 09:19 |
Sidde | is 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 has | 09:19 |
Stskeeps | smokex: yeah but that's only lipstick on a pig | 09:19 |
thedead1440_ | smokex: UX =/= backend. Harmattan was a lot more maemo than meego | 09:19 |
*** Pat_o has quit IRC | 09:25 | |
Stskeeps | smokex: 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 |
Sidde | it's like osx then ;) | 09:27 |
smokex | silica is implemented using qml files sitting on the partition | 09:29 |
tuukkah | Stskeeps, wasn't there tweets from jolla saying that it will be open? | 09:29 |
smokex | so part of the sailfish ui is pretty open | 09:29 |
Stskeeps | smokex: same goes for many of the apps | 09:30 |
Stskeeps | tuukkah: well, saying how it's like today | 09:30 |
smokex | except for the so files | 09:30 |
tuukkah | Stskeeps, ok, so i'd just s/may change/promised to change/ | 09:30 |
Stskeeps | tuukkah: i'm not sure it's promised to change, until something is open, it's better to say 'may' :) | 09:31 |
Stskeeps | because when you've said it's closed, that says that it's a permanent thing | 09:31 |
Stskeeps | that said, there's nobody complaining that people are putting sailfishos on n950/n9, as an example | 09:31 |
*** ericcc has quit IRC | 09:31 | |
Aiena | Actually once its fully OSS and get contributors from outside and lots it'd be hard to close source it again | 09:32 |
Aiena | Unless you get agreement of all past and present devs | 09:32 |
Aiena | Now the team is small though | 09:32 |
Stskeeps | it's always a difficult balance between making a business and being open | 09:32 |
Aiena | I agree | 09:32 |
Aiena | The problem is people always equaate open with free | 09:33 |
Stskeeps | a 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 bits | 09:33 |
Aiena | people should pay for open to aid in development | 09:33 |
Stskeeps | because atm, middleware is not sexy | 09:33 |
Aiena | Yep | 09:33 |
smokex | some of the marketing people need to be hanged if the ui isn't going to be open | 09:33 |
smokex | "more open than android" screams the oposite | 09:34 |
Stskeeps | smokex: we prefer to say 'walk the plank', but, let's not make physical threats towards good people | 09:34 |
Aiena | Well its already 80% open which is decent | 09:34 |
Stskeeps | :P | 09:34 |
Stskeeps | also | 09:34 |
Sidde | 80% is not 100% | 09:34 |
Stskeeps | being open source isn't just being open source | 09:34 |
Aiena | I know | 09:34 |
Stskeeps | why bother being open source if you factually can't involve people? | 09:34 |
Aiena | Stskeeps I agree on that point | 09:35 |
smokex | ^ | 09:35 |
smokex | can't involve people? | 09:35 |
Stskeeps | our UI is very designer driven - you don't get your modifications running at 60fps and have a designer approved UI, it doesn't get merged | 09:35 |
Aiena | I know the pain I work on OSS projects and we've had a five member team for eons | 09:35 |
Aiena | and it sucks we have suck a slow release cycle even with several daily commits | 09:35 |
smokex | I have one app that is right now crossing the one million line of code boundary | 09:36 |
Stskeeps | and 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 way | 09:36 |
smokex | we expected the first beta 2 years ago | 09:36 |
smokex | 5 man team | 09:36 |
Aiena | Stskeeps 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 well | 09:36 |
Stskeeps | also.. there are very few people that has factually asked about the source code of sailfishos. | 09:37 |
Stskeeps | that is a very worrying trend. | 09:37 |
Aiena | Stskeeps there isn;t enough of knowledge | 09:37 |
Stskeeps | people should ask where they can contribute | 09:37 |
Stskeeps | and how | 09:38 |
Aiena | to be honest I don;t know if people know about sailfishOS | 09:38 |
Aiena | if they don;t then how can you expect to fget devs or even have interest? | 09:38 |
*** spider-mario has joined #sailfishos | 09:38 | |
*** Venemo_N9 has joined #sailfishos | 09:38 | |
Stskeeps | :nod: | 09:38 |
smokex | while digging in Sailfish OS internals I noticed that a lot of the gallery type stuff is being hamstrung by a pretty crap folder monitoring process | 09:38 |
Stskeeps | and that's why i'd like to approach it from co-creation turning into co-development | 09:38 |
Stskeeps | smokex: tracker? | 09:39 |
Stskeeps | :P | 09:39 |
smokex | ^ | 09:39 |
Sidde | it'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 |
Aiena | Stskeeps sailfish needs to catch interest otherwise it will remain small and gathering interest and devs willing to contribute isn;t as easy as it sounds | 09:39 |
Stskeeps | Sidde: agreed | 09:40 |
Aiena | Sidde smokex Stskeeps they need to have an online repo as easily accessible code | 09:40 |
Stskeeps | i hope what's coming with together.jolla.com will help us to help others to show -how- and -where- to contribute | 09:40 |
Aiena | then people can create forks and merge into master | 09:40 |
*** shabladoo has quit IRC | 09:41 | |
smokex | a github stype fork/pull request for the sailfish components would be nice | 09:41 |
Sidde | i'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 |
Aiena | smokex yes but I would be against complete forks | 09:41 |
smokex | like the broken way gallery and media work are driving me nuts | 09:41 |
Stskeeps | Sidde: you have free access to ask me all the questions you'd like | 09:41 |
Aiena | otherwise we will have something like libreoffice - openoffice and then genetic survival of the fittest will come into play | 09:42 |
smokex | media doesn't index mp3 files | 09:42 |
Aiena | but its unavoidable | 09:42 |
Stskeeps | (hi, i'm carsten munk, chief research engineer) | 09:42 |
Sidde | Stskeeps: ok, thanks. And i might hold you to that when i get some free time to digging into the qt development | 09:42 |
smokex | gallery doesn't index subfolders | 09:42 |
smokex | image portion of gallery only indexes .jpg files | 09:42 |
Sidde | Stskeeps: been planning to build a "logger" for my sailboat. GPS, Gyroscope, Speed and compass all into one nice package | 09:43 |
Stskeeps | Sidde: makes sense | 09:44 |
smokex | the only reason libreoffice and openoffice forked was because oracle baught java and got openoffice with it | 09:44 |
*** Pat_o has joined #sailfishos | 09:45 | |
Sidde | Stskeeps: 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 possible | 09:46 |
Sidde | even if the sensors will not get any data. it would be nice if one could build the code atleast... | 09:47 |
smokex | thats why I'm working so hard to get my N950 running sailfish :D | 09:47 |
Stskeeps | Sidde: indeed - there's no sensor/positioning implementation in the emulator | 09:47 |
smokex | the emulator just isn't good enough | 09:47 |
smokex | we have script based charging working at least now Stskeeps | 09:48 |
Stskeeps | smokex: bme should really work | 09:48 |
smokex | it doesn't | 09:48 |
Sidde | Stskeeps: is there any plans for that? or any information what is implemented and not in the emulator? | 09:48 |
Stskeeps | Sidde: that'd be jake9xx's table | 09:48 |
Sidde | But i can expect the positioning and sensors to work in qtquick-framwork on the jolla phone out of the box? | 09:53 |
Stskeeps | think so, but they're not stable apis yet | 09:53 |
Sidde | better to use the qt-framework(c++) or is it same same? | 09:54 |
*** Pat_o has quit IRC | 09:57 | |
*** SfietKonstantin has joined #sailfishos | 09:58 | |
*** Venemo_N9 has quit IRC | 09:59 | |
Sidde | is 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 |
Stskeeps | Sidde: i think that's in the harbour faq | 10:00 |
Sidde | ah, found it. Thanks | 10:00 |
tuukkah | Stskeeps, what's your responsibilities as chief research engineer? | 10:04 |
Stskeeps | tuukkah: look 6-12-18 months ahead, for things that aren't short term things that'd go into a product programme | 10:04 |
Stskeeps | bootstrap new projects/technology use, etc | 10:05 |
Stskeeps | accomplishments so far has been stuff like sailfish ui with qt5 and wayland, wayland and ability to use android hw adaptations on non-android | 10:05 |
tuukkah | Stskeeps, i see. is it all about platform or also apps? | 10:06 |
*** xmlich02 has joined #sailfishos | 10:06 | |
xmlich02 | y | 10:06 |
Stskeeps | it's a bit of everything, but i'm not an ui expert as such | 10:06 |
Stskeeps | other people in my team work on that | 10:07 |
Sidde | Stskeeps: which (latest) android api level is there in sailfish for now? | 10:07 |
Stskeeps | Sidde: whatever corresponds to 4.1.2 | 10:08 |
Sidde | thanks | 10:08 |
*** Pat_o has joined #sailfishos | 10:12 | |
*** c0ck4m0u53 has joined #sailfishos | 10:12 | |
c0ck4m0u53 | Hey everyone:) Is there a way to put virtual keyboard in landscape mode while texting? | 10:14 |
*** petri has quit IRC | 10:14 | |
*** ziomatto has joined #sailfishos | 10:16 | |
ziomatto | hi, 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 |
Sidde | Stskeeps: got a more cheerful experience from this conversation than my unanswered qt-related questions from yesterday. So thanks | 10:20 |
Stskeeps | ziomatto: there's instructions for source code request in the license of the sdk | 10:20 |
tuukkah | Stskeeps, 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 |
ziomatto | Stskeeps: 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 |
Stskeeps | tuukkah: 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 |
Stskeeps | tuukkah: in addition to that, there's markets where OSM is simply illegal - think china | 10:31 |
Stskeeps | ziomatto: ah, good point | 10:32 |
Stskeeps | jake9xx: we might want to either fix that or add index.htm's | 10:32 |
tuukkah | Stskeeps, ok, i see a problem in osm being illegal in one of your main target markets | 10:32 |
lbt | ziomatto: 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 repos | 10:32 |
*** Pat_o has quit IRC | 10:32 | |
lbt | ziomatto: the main thing is that there is a legal obligation to provide more precise src; that's something that needs verification and takes time | 10:33 |
lbt | so qt-project.org merproject.org and nemomobile.org are the main areas for our source | 10:34 |
Stskeeps | tuukkah: i'm personally a OSM fan, but, there's also things like AGPS assistance and wifi positioning that comes with HERE solution | 10:34 |
*** Pat_o has joined #sailfishos | 10:34 | |
Stskeeps | tuukkah: so it all adds up to an evaluation of what users expect and cost, capability, etc | 10:35 |
lbt | tuukkah: if you want to develop an OSM community client I'm sure there would be a lot of support from sailors | 10:35 |
lbt | as well as the community at large | 10:35 |
tuukkah | Stskeeps, 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 |
kontio | tuukkah: see https://harbour.jolla.com/terms there are some term regarding HERE | 10:38 |
tuukkah | lbt, there was some discussions to that tune in april-june, but nothing since | 10:38 |
*** tortoisedoc_ has joined #sailfishos | 10:39 | |
lbt | kontio: and why on earth is that shown in a textarea :) | 10:39 |
kontio | lbt: no idea... | 10:40 |
kontio | guess 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 #sailfishos | 10:44 | |
Stskeeps | tuukkah: not a lawyer, sorry | 10:46 |
tuukkah | reading 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 applications | 10:48 |
Stskeeps | in practice the gps is anyway fairly fast from my understanding | 10:49 |
tuukkah | Stskeeps, yes, from my tests it works mostly fine | 10:49 |
*** flyapen has joined #sailfishos | 10:50 | |
tuukkah | i 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 SilicaWebView | 10:50 |
*** qrosh has joined #sailfishos | 10:51 | |
tuukkah | in silicawebview, web pages look too small, which i suppose is because of incorrect devicepixelratio setting | 10:51 |
*** tortoisedoc_ has quit IRC | 10:53 | |
tuukkah | in sailfish-browser, the leafletjs map library has some redraw issue: e.g. at leafletjs.com, the map flashes white after each pan event | 10:54 |
tuukkah | plus 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 to | 10:56 |
*** flyapen has quit IRC | 10:57 | |
*** Venemo has joined #sailfishos | 11:00 | |
*** itbaron has joined #sailfishos | 11:00 | |
*** flyapen has joined #sailfishos | 11:00 | |
*** miksuh has joined #sailfishos | 11:07 | |
*** flyapen has quit IRC | 11:07 | |
*** qrosh has quit IRC | 11:13 | |
*** Pat_o has quit IRC | 11:16 | |
Superpelican_ | Stskeeps: "Error on file "/home/deploy/installroot/usr/share/applications/*.desktop": No such file or directory" | 11:17 |
*** SfietKonstantin has quit IRC | 11:17 | |
Superpelican_ | Stskeeps: I'm packaging my app for the Harbour | 11:17 |
Superpelican_ | it worked on my device | 11:18 |
Superpelican_ | and the emulator etc. | 11:18 |
Superpelican_ | until I started renaming everything from "QuickClamshell" to "harbour-quickclamshell" | 11:18 |
lbt | sounds like an issue in the yaml/spec Files: section which comes from the .pro file | 11:24 |
lbt | you're probably not installing the desktop file | 11:24 |
Superpelican_ | lbt:Well it is added to "Other files" in Qt Creator | 11:25 |
lbt | do you have CONFIG += sailfishapp | 11:28 |
*** matt_1979 has joined #sailfishos | 11:30 | |
Superpelican_ | lbt: yes | 11:30 |
Superpelican_ | lbt: I recently created a new project when the 1312 SDK was released and just copied over the files | 11:31 |
Superpelican_ | lbt: And based my new main.cpp/QuickClamshell.cpp on the Hello World Pro main.cpp | 11:31 |
lbt | the hw.pro file is a lot more explicit too | 11:32 |
lbt | the template one must use some magic in sailfishapp | 11:32 |
lbt | magic is great ... provided it's documented :/ | 11:33 |
*** SfietKonstantin has joined #sailfishos | 11:33 | |
*** jjarven has quit IRC | 11:34 | |
lbt | Superpelican_: pastie your .pro and .spec files | 11:35 |
*** mfulz has joined #sailfishos | 11:37 | |
*** matsimoto has joined #sailfishos | 11:39 | |
matsimoto | Hi, what must I do to install QtContacts in the emulator ? | 11:40 |
*** Pat_o has joined #sailfishos | 11:40 | |
*** qrosh has joined #sailfishos | 11:42 | |
lbt | matsimoto: if your app has any dependencies then they're automatically installed when you deploy the rpm | 11:42 |
*** SfietKonstantin has quit IRC | 11:43 | |
Superpelican_ | lbt: http://pastebin.kde.org/pgai0mgyk | 11:43 |
lbt | TARGET = harbour-QuickClamshell ? | 11:45 |
Superpelican_ | lbt: http://pastebin.kde.org/phvbyimp4 | 11:45 |
matsimoto | lbt: 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 installed | 11:45 |
lbt | and I wonder if it has to match case-wise | 11:45 |
*** edgar2 has joined #sailfishos | 11:46 | |
matsimoto | lbt: OK, got I think I has to switch to deplay as rpm in the settings, thanks | 11:46 |
Superpelican_ | lbt: I've now fixed that | 11:46 |
Superpelican_ | now getting: "File not found: /home/deploy/installroot/usr/share/harbour-quickclamshell" | 11:46 |
*** ziomatto has quit IRC | 11:46 | |
lbt | Superpelican_: did you do a re-build ... and probably a make clean too | 11:47 |
Superpelican_ | ok will try that then :) | 11:47 |
lbt | the spec looks better now | 11:48 |
lbt | better/good | 11:48 |
Superpelican_ | lbt: now getting: "File not found: /home/deploy/installroot/usr/share/harbour-quickclamshell/qml" too | 11:49 |
matsimoto | nope, does not work with rpm something else I have to configure ? | 11:49 |
lbt | Superpelican_: at what point ? | 11:50 |
Superpelican_ | lbt: well after: "RPM build errors:" | 11:51 |
lbt | matsimoto: I'm not sure QtContacts is available | 11:51 |
lbt | Superpelican_: pastie the log | 11:52 |
*** jjarven has joined #sailfishos | 11:53 | |
Trizt | How do you remove a android download notification icon from the home screen? | 11:53 |
Superpelican_ | lbt: http://pastebin.kde.org/pjiohwmvn | 11:53 |
matsimoto | any other possibility to add contacts ? | 11:53 |
lbt | Superpelican_: TARGET case matters | 11:55 |
lbt | cp -f -R /home/mersdk/Coding/Qt/QuickClamshell/qml /home/deploy/installroot/usr/share/harbour-QuickClamshell/ | 11:55 |
lbt | line 62 | 11:55 |
lbt | it's fine if you're consistent | 11:56 |
lbt | and yeah, it should probably use %{name} better | 11:56 |
Superpelican_ | lbt: you mean the "/QuickClamshell/" part? | 11:56 |
lbt | yes | 11:56 |
Superpelican_ | well that's the name of my project | 11:57 |
lbt | well | 11:57 |
mfulz | lbt: thank you for the help yesterday ! | 11:57 |
Superpelican_ | all my files are called that way | 11:57 |
lbt | the /home/deploy/installroot/usr/share/harbour-QuickClamshell/ part | 11:57 |
lbt | Superpelican_: that's OK | 11:57 |
lbt | but your spec/yaml is lowercase | 11:57 |
Superpelican_ | OK | 11:57 |
Superpelican_ | well | 11:57 |
Superpelican_ | you suggested the "harbour-QuickClamshell" thing ;) | 11:58 |
Superpelican_ | I found it to be a bit strange too | 11:58 |
lbt | right ... but what is your error? | 11:58 |
Superpelican_ | well | 11:58 |
Superpelican_ | currently | 11:58 |
Superpelican_ | ...none :D | 11:58 |
qrosh | hey what is the easiest way to get and parse a rss feed? | 11:58 |
lbt | Superpelican_: :P | 11:58 |
lbt | good | 11:58 |
lbt | the spec/yaml looked like it had /harbour-quickclamshell/ in lowercase | 11:59 |
lbt | personally I'd use %{name} there | 11:59 |
lbt | thp: ^^ | 11:59 |
Superpelican_ | ok | 12:00 |
Superpelican_ | I'll change that then | 12:00 |
*** olofk has joined #sailfishos | 12:02 | |
*** hardcodes has joined #sailfishos | 12:03 | |
olofk | Hi. 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 launch | 12:04 |
olofk | Is this the dev channel btw? :) | 12:04 |
Superpelican_ | olofk: yes this is the dev channel | 12:04 |
Superpelican_ | olofk: the Harbour FAQ mentions the ability to use sailfish-qml | 12:04 |
Superpelican_ | so I guess it's supported | 12:04 |
olofk | Superpelican_: Yes, that's where I got the idea, but I'm not sure how to actually make use of it | 12:05 |
olofk | I'm a GTK guy so all this QT stuff is new to me | 12:05 |
Superpelican_ | hmm | 12:05 |
Superpelican_ | then I'm afraid you'll have to ask someone else ;) | 12:06 |
olofk | I'll keep on lurking and see what comes up | 12:07 |
*** qrosh has quit IRC | 12:07 | |
*** xmlich02 has quit IRC | 12:15 | |
*** jmlich has joined #sailfishos | 12:18 | |
tuukkah | olofk, i heard from someone that they were able to install sailfish-qml from some package | 12:19 |
tuukkah | i don't know how to find out which package contains which file though | 12:20 |
*** pixraider has quit IRC | 12:21 | |
smokex | olofk: I'm pretty sure that c++ is necessary for a QML app to work | 12:27 |
lbt | olofk: yes, you need a cpp entry point | 12:27 |
lbt | Qt 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 logic | 12:29 |
lbt | however the template c++ is totally trivial and is done for you in the SDK - so you don't need to write any C++ at all | 12:29 |
Pnuu | olofk: check the hello world pro | 12:30 |
lbt | Pnuu: that's actually more of a template if you want to dive into the C++ IMHO | 12:31 |
mfulz | is there some explanation about the silicia views etc.? I tried to add a label and a button to a dialog but they are overlapping | 12:32 |
Pnuu | but it has th necessary cpp for starting the qml | 12:32 |
lbt | Pnuu: they both do :) | 12:32 |
lbt | mfulz: http://qmlbook.org/ | 12:33 |
mfulz | lbt: thanks | 12:35 |
Superpelican_ | lbt: My app is now missing an icon when installed in the emulator or my Jolla | 12:38 |
Superpelican_ | lbt: Before all the renaming it did have a correct icon | 12:39 |
Superpelican_ | my icon is in the project root dir | 12:39 |
Superpelican_ | and is called "harbour-quickclamshell.png" | 12:39 |
*** hardcodes has quit IRC | 12:39 | |
lbt | check the desktop file has no path | 12:39 |
*** Venemo has quit IRC | 12:40 | |
Superpelican_ | lbt: ah thanks :) | 12:41 |
Superpelican_ | I had accidently set "Icon" to "Quick Clamshell" | 12:41 |
*** Kabouik has joined #sailfishos | 12:43 | |
lbt | :) | 12:43 |
Superpelican_ | lbt: that doesn't seem to fix it unfortunately :( | 12:45 |
Superpelican_ | just installed it on my device again | 12:45 |
Superpelican_ | but it still doesn't have an icon | 12:45 |
Superpelican_ | the icon is in "OTHER_FILES" in the .pro | 12:46 |
lbt | oh yes, your spec is outdated - use 90x90 dir | 12:47 |
lbt | yaml even | 12:47 |
*** zhxt has joined #sailfishos | 12:58 | |
*** atiti has quit IRC | 13: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 #sailfishos | 13:07 | |
*** pixraider has quit IRC | 13: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 IRC | 13:21 | |
*** dhbiker has joined #sailfishos | 13:22 | |
*** pixraider has joined #sailfishos | 13:22 | |
*** Pat_o has joined #sailfishos | 13:23 | |
*** shabladoo has joined #sailfishos | 13:33 | |
edgars | so | 13:41 |
edgars | how can i update my 1.0.0.5? | 13:41 |
Stskeeps | edgars: settings -> system settings -> about product -> pulley menu, check for update | 13:41 |
edgars | it says - up to date | 13:42 |
edgars | ahh, and i cant install any app from jolla :/ | 13:43 |
edgars | so. i'm without callendar | 13:43 |
edgars | and that's a very sad | 13:43 |
*** zhxt_ has joined #sailfishos | 13:46 | |
*** zhxt has quit IRC | 13:47 | |
lbt | Superpelican_: oh, in that case my yaml is broken :D | 13:48 |
sdjayna | edgars: 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 #sailfishos | 13:57 | |
Elleo | Superpelican_: what does your .desktop file look like? | 13:57 |
Elleo | does it have the updated filename in the Icon section? | 13:57 |
Superpelican_ | Elleo: http://pastebin.kde.org/p1jrot9nb | 14:02 |
Elleo | what 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 #sailfishos | 14:11 | |
jabbounet | hello | 14: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 #sailfishos | 14:13 | |
*** edgar2 has quit IRC | 14:16 | |
Elleo | Superpelican_: well it works for me, and since you control the destination path yourself I don't see it as being too much of a problem | 14:18 |
jabbounet | is 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 |
Stskeeps | i'm waiting for Venemo's ircchatter | 14:19 |
Stskeeps | :P | 14:19 |
Venemo | jabbounet: I have an exam on 23rd and after that the first thing's going to be porting IRC Chatter to Sailfish | 14:19 |
jabbounet | great :) | 14:20 |
Venemo | :) | 14:21 |
jabbounet | good luck for your exam | 14:22 |
Pnuu | someone said "you'll pass all the required exams before graduating" | 14:22 |
*** MSameer has quit IRC | 14:23 | |
*** MSameer has joined #sailfishos | 14:23 | |
*** artemma has joined #sailfishos | 14:25 | |
Venemo | Pnuu: you don't say! | 14:27 |
Venemo | jabbounet: thank you :) | 14:27 |
Pnuu | ;-) | 14:28 |
Venemo | :P | 14:29 |
edgars | sdjayna: yupp, i added account, username edgars ;) | 14:29 |
*** __pv has joined #sailfishos | 14:37 | |
*** xcv_ has joined #sailfishos | 14:44 | |
*** lbt has quit IRC | 14:47 | |
*** lbt has joined #sailfishos | 14:49 | |
*** lbt has quit IRC | 14:49 | |
*** lbt has joined #sailfishos | 14:49 | |
*** zhxt__ has joined #sailfishos | 14:51 | |
*** zhxt_ has quit IRC | 14:53 | |
*** nsuffys has quit IRC | 14:53 | |
Superpelican_ | Elleo: and what would that absolute path be then? | 14:55 |
*** Morpog_PC has joined #sailfishos | 14:55 | |
Superpelican_ | Elleo: the icon .png is in my project's root dir | 14:55 |
mfulz | can I make a label clickable? | 14:57 |
mfulz | or how is it done like a.e. in the store the install button? | 14:58 |
Venemo | mfulz: you can make anything clickable if you put a MouseArea over it | 14:58 |
mfulz | ah 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 |
Venemo | you should read some generic QML tutorials, ie. not Jolla-specific | 15:00 |
mfulz | yep I'm on it | 15:00 |
Venemo | basically, nothing is clickable among the basic QML elements, at all. only MouseArea, TouchArea and the other elements that use these | 15:01 |
mfulz | ah o | 15:01 |
mfulz | k | 15:01 |
Venemo | so 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 Image | 15:02 |
Venemo | or something similar | 15:02 |
Venemo | you get the picture :) | 15:02 |
*** zhxt__ has quit IRC | 15:02 | |
mfulz | yep thanks | 15:04 |
Venemo | so 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 clickable | 15:04 |
mfulz | got it | 15:05 |
mfulz | thank you | 15:05 |
mfulz | I was wondering before but realized now that silicia is really just a "small" extension to the whole qml thing, isn | 15:05 |
mfulz | 't it? | 15:05 |
Venemo | it's a custom Qt Quick plugin AFAIK | 15:06 |
w00t | yes | 15:06 |
Venemo | and I bet you that even they use either MouseArea or TouchArea for their clickable components ;) | 15:06 |
mfulz | ok | 15:08 |
mfulz | thank you | 15:08 |
Elleo | Superpelican_: it'd be the path you're installing it to | 15:09 |
Elleo | e.g. /usr/share/icons/hicolor/86x86/apps/yourapp.png | 15:09 |
*** disharmonic has joined #sailfishos | 15:09 | |
Elleo | Superpelican_: check your .pro/.pri files to see where exactly its going | 15:10 |
Superpelican_ | Elleo: OK, thanks :) | 15:10 |
Elleo | no problem :) | 15:10 |
Superpelican_ | Elleo: that worked :) | 15:18 |
Superpelican_ | time to finally submit my app to the Store :) | 15:18 |
mfulz | what's your app about? | 15:19 |
mfulz | if I may ask :) | 15:19 |
Elleo | Superpelican_: excellent :) | 15:20 |
Venemo | mine is a jigsaw puzzle game | 15:20 |
Venemo | and then I'm gonna work on an irc client | 15:21 |
Elleo | Venemo: 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 :P | 15:21 |
Venemo | Elleo: yes | 15:22 |
Elleo | Venemo: cool, that's really fun :) | 15:22 |
Superpelican_ | Why isn't this a valid binary name: "harbour-quickclamshell-0.1.armv7hl.rpm"? | 15:22 |
Venemo | Elleo: thank you! you like it? | 15:22 |
Superpelican_ | Seems perfectly legal to me | 15:22 |
Superpelican_ | I've read the Binary Guidelines | 15:23 |
Elleo | Venemo: yep :) | 15:23 |
Elleo | really nice use of multitouch | 15:23 |
Venemo | Elleo: thanks, :) | 15:23 |
*** thomasgubler has quit IRC | 15:27 | |
*** thomasgubler has joined #sailfishos | 15: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 #sailfishos | 15:36 | |
juke_ | it seems i should install the devel packaget to the target | 15:37 |
juke_ | i think i got the hang of it now | 15: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 #sailfishos | 15:42 | |
*** Aiena has left #sailfishos | 15:43 | |
Elleo | Superpelican_: 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 sure | 15:43 |
Elleo | Superpelican_: 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 |
Elleo | I don't know how deep the automated store checks go | 15:44 |
Superpelican_ | Elleo: I just opened the RPM with Ark (the KDE archiver) and everything's named "harbour-quickclamshell", the binary too | 15:45 |
*** master_of_master has quit IRC | 15:45 | |
Elleo | Superpelican_: I'm all out of guesses then I'm afraid | 15:46 |
Superpelican_ | ok | 15:46 |
Superpelican_ | I'll ask Stskeeps or lbt then :) | 15:47 |
Elleo | I don't suppose there's any restrictions on version numbering? e.g. version number must be 1.0 or greater? | 15:47 |
Elleo | nope, that's not it, just found some stuff with 0.2 as the version in the store | 15:47 |
Superpelican_ | Stskeeps: Isn't "harbour-quickclamshell-0.1.armv7hl.rpm" a valid filename? | 15:48 |
Elleo | perhaps it expects a release number as well? | 15:48 |
Elleo | i.e. harbour-quickclamshell-0.1-1.armv7hl.rpm | 15: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 allowed | 15:49 |
Superpelican_ | even x is allowed! | 15:49 |
Elleo | I've been flicking through the store and so far I haven't seen anything that doesn't haven't a release id | 15:50 |
Elleo | might just be coincidence though | 15:50 |
Elleo | and the release id is separate from the version number scheme | 15:50 |
Elleo | i.e. x.x.x-y or x.x-y or x-y, etc. | 15:51 |
edgars | omg, battery is enough for a half day!! | 15:52 |
edgars | wtf | 15:52 |
Superpelican_ | edgars: I have been able to get 1 day usage out of it | 15:52 |
Elleo | edgars: switch off location in the settings, apparently that results in a lot of battery usage even when there aren't apps using the gps | 15:52 |
Superpelican_ | note: I currently don't have Android Support installed | 15:53 |
Elleo | haven't noticed that so much myself, but it's what a number of people in the user experience thread reported | 15:53 |
Superpelican_ | I wanted to see the battery life first without Android Support | 15:53 |
*** Pat_o has quit IRC | 15:54 | |
edgars | Elleo: already did it | 15:55 |
edgars | also turned off 3g and wifi | 15:56 |
Elleo | how 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 like | 15:56 |
Elleo | iirc they're in the mer-tools repo | 15:56 |
Elleo | processes* | 15:57 |
Superpelican_ | Elleo: I was considering doing that too :) | 15:57 |
Superpelican_ | I was just wondering if powertop is available for Mer | 15:57 |
Superpelican_ | htop is awesome though if you don't have a GUI available :) | 15:57 |
Elleo | yeah, it's in mer-tools | 15:58 |
edgars | but at the moment i'm missing Alarm, screen rotation, whats app, shazam, callback to sms sender | 15:58 |
Elleo | ssu ar mer-tools && ssu ur && pkcon refresh && pkcon install htop powertop | 15:59 |
w00t | edgars: "callback to sms sender"? | 15:59 |
Pnuu | edgars: alarm? install clock from the jolla shop | 15:59 |
edgars | yeah, Mr X send me a sms, i want call back to Mr X | 15:59 |
edgars | like in other OS'es, just press on name or face | 16:00 |
Elleo | edgars: swipe left on the sms screen | 16:00 |
Elleo | it'll bring up their contact card, including the call button | 16:01 |
w00t | you know you can flick from right to left when you're in an sms conversation, right? | 16:01 |
edgars | Elleo, tried, nothing :/ | 16:01 |
Elleo | ah, maybe it only works if you have them as a contact already | 16:01 |
edgars | Pnuu: i cant install anything form jolla apps | 16:01 |
edgars | :// | 16:01 |
Elleo | I don't have any messages from non-contacts to check with | 16:01 |
edgars | something is going wrong with my phone | 16:01 |
Elleo | edgars: are you updated to .12? iirc that fixes some authentication issue with the store | 16:01 |
Elleo | prior to that people got around it by doing a phone reset | 16:02 |
Superpelican_ | Elleo: And adding the mer-tools repo doesn't result in important system binaries being replaced with new dev versions? | 16:02 |
Elleo | as-in a firmware reset, not just switching off and on | 16:02 |
Elleo | Superpelican_: no guarantees | 16:02 |
Elleo | I 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 guess | 16:03 |
edgars | Elleo: nop, as i said before, i cant | 16:03 |
edgars | i'm upto date with 1.0.0.5 :/ | 16:03 |
Elleo | edgars: I'd suggest trying a reset then | 16:04 |
Elleo | I dunno if the firmware upgrade depends on the store auth too? | 16:04 |
edgars | through settings | 16:04 |
Elleo | edgars: yeah | 16:04 |
edgars | clear device | 16:05 |
Superpelican_ | Elleo: Looking at http://build.merproject.org there seem to be various mer-tools repos | 16:05 |
Superpelican_ | Elleo: just "mer-tools", "mer-tools-devel", "mer-tools-testing" and "mer-tools-stable" | 16:06 |
Elleo | Superpelican_: it's the sailfishos.org hosted version that gets added via ssu | 16:06 |
Elleo | Superpelican_: http://releases.sailfishos.org/sdk/latest/mer-tools/ | 16:07 |
*** Pat_o has joined #sailfishos | 16:08 | |
*** miksuh has quit IRC | 16:09 | |
mfulz | http://pastebin.com/kW2YTEM5 could someone tell me how I need to anchor or place the textfileds below the header? | 16:12 |
mfulz | they allways overlapping | 16:12 |
Superpelican_ | mfulz: well you could add "anchors.top: top_textfield.bottom" to the textfield below the top textfield | 16:13 |
Pnuu | that is already there | 16:14 |
*** Bob-182 has left #sailfishos | 16:15 | |
mfulz | jep that's what I tried but the textfield still is in the same line as the header | 16:17 |
Elleo | iirc anchors won't be obeyed within a column, the column should lay them out like you want by itself though | 16:18 |
*** jabbounet has quit IRC | 16:18 | |
Elleo | oh sorry, misread that, thought you were wanting the text-fields under each other | 16:18 |
Elleo | put the problem is with the header | 16:18 |
mfulz | the column was just a test initially I had it without column but the anchor to bottom of the header is not working | 16:18 |
mfulz | yes exactly | 16:18 |
*** JulHer has joined #sailfishos | 16:19 | |
Elleo | as a nasty hack you could add a verticalmargin to the column equal to the height of the header :/ | 16:19 |
Elleo | err | 16:19 |
Elleo | actually | 16:19 |
Elleo | do you realy mean to have your columns inside the listview? | 16:19 |
Elleo | or if you do mean to do that are you sure you want a listview and not a flickable? | 16:20 |
mfulz | I'm totally new to the qml stuff and sailfish | 16:20 |
Elleo | listview is designed to show a list of stuff provided by your model | 16:20 |
Elleo | whereas silicaflickable is just to make a generic set of items flickable | 16:20 |
mfulz | ah ok | 16:21 |
mfulz | I'll try that | 16:21 |
Elleo | I don't think flickable has a header property | 16:21 |
Elleo | but you don't really need one in flickable since you can just stick the item in at the top | 16:21 |
Elleo | it's only needed for the listview to let you display something different at the top of the list to the model contents | 16:22 |
mfulz | ok | 16:22 |
Elleo | so you could just have a silicaflickable containing a column with your pageheader, and textviews in it | 16:23 |
mfulz | ok it's working but what is best practise to have it below the navigation dots? | 16:25 |
*** JulHer has quit IRC | 16:25 | |
*** AlmAck has quit IRC | 16:26 | |
Elleo | not sure if there's a nicer solution I just add some verticalmargin padding | 16:26 |
*** AlmAck has joined #sailfishos | 16:26 | |
mfulz | ah found it | 16:27 |
Pnuu | I have Page { SilicaFlicable { Column { PageHeader { title: "Foo" }}}} | 16:28 |
Pnuu | seems to behave quite nicely | 16:28 |
mfulz | yes | 16:28 |
edgars | okey | 16:28 |
edgars | now i'm upgrading :) | 16:28 |
tuukkah | ok, 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 appname | 16:29 |
edgars | btw | 16:29 |
Elleo | edgars: great :) | 16:29 |
edgars | is any developer here? | 16:29 |
edgars | Elleo: yeah, thanks ;) | 16:29 |
Elleo | edgars: app developers or jolla employees? | 16:30 |
edgars | i mean not a sailfish developer, but any sort of coder, who can made some usefull stuff | 16:30 |
Elleo | because a lot of us are app developers, there's a handful of jolla folks around too | 16:30 |
edgars | can anyone make a flashlight? :) | 16:31 |
edgars | simple but usefull app :) | 16:31 |
artemma | edgars: http://bit.ly/flashlight12 | 16:31 |
artemma | edgars: or http://bit.ly/flashlight14 if you want to use camera together with flashlight (build 12 crashes phone then) | 16:32 |
edgars | and why it's not in the jolla app store? :) | 16:32 |
artemma | edgars: not good enough. It only works OKish in the dark conditions (as a slo-ow stroboscope) | 16:33 |
artemma | barely any light in light conditions | 16:33 |
edgars | artemma: ok, will check after upgrade | 16:33 |
edgars | btw am i able to install rpm's via gui or only cli? | 16:34 |
Pnuu | cli | 16:34 |
Pnuu | (pkcon install-local foo.rmp) | 16:34 |
Pnuu | rpm.. | 16:34 |
edgars | ha, snow white ambience! | 16:35 |
shabladoo | Is it possible to send SMS from app? A quick Google suggests the QtMessaging module but this isn't listed in the Qt5.2 documentation | 16:37 |
w00t | shabladoo: use Qt.openUrlExternally with an sms uri | 16:38 |
Superpelican_ | lbt: [16:48] <Superpelican_> Stskeeps: Isn't "harbour-quickclamshell-0.1.armv7hl.rpm" a valid filename? | 16:38 |
Elleo | Superpelican_: have you tried adding a release number? | 16:38 |
Superpelican_ | not yet | 16:38 |
Superpelican_ | will try then :) | 16:39 |
Superpelican_ | Elleo: What does the "release number" actually stand for? | 16:39 |
Elleo | Superpelican_: it's the version number for the packaging | 16:39 |
Superpelican_ | I never see it | 16:39 |
Superpelican_ | with other SW | 16:39 |
Superpelican_ | I mean other Linux distro's | 16:39 |
Elleo | Superpelican_: it's common in both debian and rpm packaging | 16:39 |
Elleo | e.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 package | 16:40 |
Elleo | so if for example you need to change the descrption in the packaging you'd increment that to 4.3.2-2 | 16:41 |
Elleo | it's still version 4.3.2 of the software, but it's version 2 of the package | 16:41 |
Superpelican_ | OK thanks that made things a bit clearer for me :) | 16:42 |
Elleo | :) | 16:42 |
*** paju has left #sailfishos | 16:42 | |
Superpelican_ | Elleo: Adding the release number worked! :D | 16:43 |
Superpelican_ | strange though | 16:43 |
Elleo | excellent :) | 16:43 |
Elleo | yeah, I don't think that should really be a requirement | 16:43 |
edgars | hmm, no wget | 16:44 |
Superpelican_ | edgars: It also isn't available in mer-tools? | 16:44 |
Elleo | edgars: curl is installed by default iirc | 16:44 |
edgars | sorry, im not a Mer geek, dont know much about this system | 16:44 |
edgars | user since 2 days :) | 16:45 |
Elleo | Superpelican_: doesn't seem to be | 16:45 |
edgars | i have curl | 16:45 |
w00t | edgars: curl -O <url> will download a file | 16:45 |
*** freedomrun has quit IRC | 16:46 | |
*** suspam has joined #sailfishos | 16:46 | |
suspam | hi | 16:47 |
suspam | there 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 |
shabladoo | w00t: Do you mean something like onClicked: Qt.openUrlExternally("sms:?body=abc") | 16:47 |
Elleo | suspam: most of the core stuff is developed in the open as mer: http://merproject.org/ | 16:48 |
w00t | shabladoo: pretty much, right | 16:48 |
Superpelican_ | suspam: And the middleware too as Nemo Mobile | 16:49 |
suspam | Elleo: yes, i know, as for MeeGo harmattan | 16:49 |
suspam | but the UI is cloed, am I right? | 16:49 |
Superpelican_ | https://wiki.merproject.org/wiki/Nemo | 16:49 |
suspam | closed | 16:49 |
Superpelican_ | suspam: Yes the Sailfish UI is currently closed source | 16:49 |
suspam | thanks | 16:49 |
Superpelican_ | Maybe it will be open sourced in the future :) | 16:49 |
Superpelican_ | let's hope | 16:50 |
suspam | i was looking for an opensources os on a opensource hw but the one i can find is OpenMoko on its second iteration: NeoFreerunner | 16:50 |
suspam | :D | 16:50 |
suspam | a bit old I must say | 16:50 |
edgars | w00t: how to use curl i know :) thanks anyway :) | 16:50 |
suspam | also Nokia said that it would be opened harmattan srcs, but as now I cant's any progress :D | 16:51 |
Elleo | suspam: http://neo900.org/ might be up your street | 16:51 |
suspam | it's not openhardware :D | 16:51 |
suspam | cpu and gpu are closed source :) | 16:51 |
suspam | as for rasperryPi :p | 16:51 |
Elleo | same was true of the freerunner | 16:51 |
suspam | are you sure? | 16:52 |
Elleo | yeah, the glamo chip was a nasty closed thing | 16:52 |
suspam | ah | 16:52 |
Elleo | they released some info under NDAs iirc | 16:52 |
suspam | uff | 16:52 |
suspam | the world of openhw on opensource is in a galaxy far far away | 16:52 |
suspam | for now ppl full they mounths of opensource gambling users | 16:53 |
suspam | fullfill | 16:53 |
shabladoo | woot: 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 |
tuukkah | shabladoo, typing sms:12345 into sailfish-browser opened the messaging app | 16:54 |
w00t | shabladoo: if this is the SDK, then it won't work there as there is nothing to handle the uri | 16:55 |
w00t | but it will work on device | 16:55 |
tuukkah | (... and crashed the browser, but that's a detail ;-) | 16:55 |
shabladoo | :woot I'm testing this on real hardware | 16:56 |
shabladoo | :tuukkah yes adding the number worked, me being stupid :-) | 16:57 |
*** RoKenn has quit IRC | 16:57 | |
*** rcg has joined #sailfishos | 16:57 | |
edgars | hmm | 16:58 |
edgars | screen is not rotating while typing sms | 16:58 |
shabladoo | So 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 IRC | 17:05 | |
w00t | edgars: messages does not support landscape yet | 17:05 |
w00t | shabladoo: no, because that could a) cost money, b) be annoying | 17:06 |
*** atiti has joined #sailfishos | 17:06 | |
edgars | in plans? | 17:07 |
Superpelican_ | edgars: well I don't think so ;) | 17:07 |
w00t | edgars: it'd obviously be a nice addition - i don't have any idea about when | 17:07 |
Superpelican_ | edgars: [18:05] <w00t> shabladoo: no, because that could a) cost money, b) be annoying | 17:07 |
w00t | Superpelican_: two seperate topics :-) | 17:08 |
Superpelican_ | ah I see :) | 17:09 |
mfulz | does someone know how I can align a label directly below a textfield inside a column? | 17:09 |
w00t | Column { TextField { id: textField } Label { anchors.horizontalCenter: textField.horizontalCenter } } | 17:09 |
w00t | or something like that | 17:09 |
mfulz | but there is too much space between | 17:11 |
mfulz | I don't find any margin property or similar | 17:11 |
w00t | vertical space? | 17:11 |
Pnuu | mfulz: Column { spacing: Theme.paddingSmall } might help? | 17:13 |
shabladoo | w00t: Ok thanks, just trying to get an idea of what is possible. | 17:13 |
mfulz | Pnuu: thanks that was it | 17:13 |
edgars | Superpelican_: because that could a) cost money, b) be annoying - cost money? huh, loosing customers costs money too ;) | 17:14 |
edgars | annoying is to type in portrait mode, if you have a lot of to write mail/sms | 17:15 |
edgars | btw, any useful apps which are not in the stores? :) | 17:16 |
mfulz | IM message app with xmpp and otr support :) | 17:18 |
Superpelican_ | edgars: I'm pretty sure w00t meant the money of the user | 17:18 |
dist | Anyone know why pkcon refresh would say: Fatal error: Authentication failed (is SSU set up correctly?) | 17:19 |
Aard | /win 77 | 17:21 |
*** miksuh has joined #sailfishos | 17:30 | |
*** Superpelican_ has quit IRC | 17:34 | |
*** DrIDK has joined #sailfishos | 17:35 | |
*** krnlyng has joined #sailfishos | 17:39 | |
*** ziomatto has joined #sailfishos | 17:41 | |
*** Sp|atter has joined #sailfishos | 17:41 | |
ziomatto | hi, is linux the kernel of sailfishos ? | 17:42 |
Stskeeps | yes | 17:42 |
*** stephg has joined #sailfishos | 17:45 | |
*** arcean has joined #sailfishos | 17:45 | |
ziomatto | i think it would be good to give them credit instead hiding this information https://sailfishos.org/about-architecture.html | 17:45 |
*** SfietKonstantin has joined #sailfishos | 17:47 | |
*** phako_ is now known as phako | 17:53 | |
*** SfietKonstantin has quit IRC | 17:54 | |
*** freedomrun has joined #sailfishos | 17:59 | |
*** stephg has quit IRC | 17:59 | |
*** arcean has quit IRC | 18:04 | |
Elleo | dist: did you enable developer updates? | 18:06 |
Elleo | dist: if so run "ssu domain sales" to fix it | 18:07 |
*** roric has joined #sailfishos | 18:11 | |
*** suspam has quit IRC | 18:13 | |
flux | so it seems remote debugging doesn't yet work from the SDK/qtcreator? | 18:17 |
*** roric has quit IRC | 18:20 | |
*** pixraider_ has joined #sailfishos | 18:27 | |
*** pixraider has quit IRC | 18:28 | |
flux | is there a reasonable way to do edit&compile&deploy-cycle without qtcreator being involved? such as from within emacs? | 18:30 |
flux | or 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 |
Pnuu | flux: do you need cpp or is it purely qml? | 18:34 |
flux | I need c++ yes | 18:34 |
Pnuu | I've been learning qml using hello world pro as a loader :-) | 18:34 |
*** matsimoto has quit IRC | 18:34 | |
Pnuu | mkay, then it might be more complicated | 18:34 |
tuukkah | flux, here's how: https://github.com/amarchen/Wikipedia/blob/master/README.md#build-from-command-line | 18:35 |
coderus | flux: 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 |
coderus | is there any usable twitter client for sailfish? | 18:37 |
flux | tuukkah, cool, thanks, it seems to work just great! | 18:37 |
flux | is there a deployment method I can use? | 18:38 |
artemma | flux, 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 welcome | 18:38 |
artemma | but preferably written from scratch due to license difference (HW Pro is public domain) | 18:38 |
artemma | created by tuukkah actually - din't notice he is in the channel :) | 18:39 |
coderus | flux: scp to device and pkcon for installing. its quite easy too | 18:39 |
tuukkah | flux, pkcon install-local application.rpm | 18:39 |
flux | apparently the appropriate environment variables are already set, so running it should Just Work(TM)? | 18:40 |
*** amizraa has quit IRC | 18:40 | |
coderus | flux: running WHAT? | 18:40 |
tuukkah | artemma, just a sec, let me submit the same instructions to helloworld-pro | 18:41 |
flux | running the application in question | 18:41 |
coderus | flux: sure. no problems here. just launch it after installation | 18:41 |
flux | thanks | 18:41 |
flux | I'll put all that into a script and forget it thereafter :) | 18:41 |
coderus | i'm currently developint in QtCreator, but compiling and deploying im xterm. its much comfortable than qtcreator :D | 18:42 |
coderus | s/developint/developing | 18:42 |
flux | the virtualbox share is a nice trick used in the sdk, no copying needed | 18:42 |
flux | and no potentially troublesome nfs mounts involved either.. | 18:43 |
artemma | coderus: 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 fast | 18:43 |
coderus | [./build.sh --deploy 192.168.2.15] is more comfortable for me | 18:44 |
coderus | i'm cli guy :D | 18:44 |
flux | I can easily think rsyncing only the binary is going to beat installing an rpm package | 18:45 |
flux | is it so? | 18:45 |
coderus | flux: no problems too | 18:45 |
coderus | flux: i'm always mounting device via sshfs to my host | 18:45 |
artemma | coderus: 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 editor | 18:45 |
*** ziomatto has quit IRC | 18:46 | |
coderus | flux: compiling all i need and then playing with qml directly | 18:46 |
artemma | flux: with small apps speed difference is not very significant. But rsync is still a little faster | 18:46 |
coderus | artemma: unless you doing something complex its okay | 18:47 |
edgars | hmmm | 18:47 |
edgars | camera is really bad, or i'm too unadvanced user? | 18:47 |
artemma | coderus: 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 rsync | 18:48 |
coderus | artemma: but when you starting developing client + server and need to watch lifecycle of both you cant use internal tools :) | 18:48 |
artemma | coderus: true | 18:48 |
coderus | artemma: i'm not talking about rsync | 18:48 |
artemma | got it | 18:48 |
coderus | artemma: i'm talking about 1-click solution | 18: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 emulating | 18:49 | |
coderus | artemma: anyway, i'm just saying how i'm doing this, i never suggesting something to others :) | 18:49 |
artemma | oh well, known among myself and a couple of other people :) | 18:49 |
*** zacce has quit IRC | 18:50 | |
artemma | sure, client-server is a different story from small push-the-button app | 18:50 |
coderus | anyway | 18:50 |
coderus | I NEED TWITTER | 18:50 |
coderus | please :D | 18:50 |
coderus | anybody have working builds for daily usage? anyone? | 18:51 |
* artemma thought some twitter client is included to Jolla device | 18:51 | |
artemma | and somebody was porting.. was it tweetie? | 18:51 |
walokra | coderus: tweetian? | 18:51 |
coderus | artemma: no twitter client, only feed integration and Whats happening button :D | 18:51 |
artemma | tweetian, yes | 18:51 |
*** zacce has joined #sailfishos | 18:51 | |
coderus | walokra: is it ready to be used? | 18:52 |
walokra | preview version but no other information about it | 18:52 |
Venemo | coderus: bug veskuh about Tweetian | 18:53 |
*** DrIDK has quit IRC | 18:53 | |
walokra | i read in twitter that some bugs but works otherwise nicely, https://www.dropbox.com/s/jf8c56fpjdm90x9/tweetian-1.8.2-1.armv7hl.rpm | 18:54 |
coderus | Venemo: i know, but he not online now :D | 18:54 |
coderus | walokra: thanks, will try it now | 18:55 |
Venemo | coderus: on Twitter :P | 18:56 |
Venemo | see https://twitter.com/veskuh/status/414458010283835392 | 18:56 |
artemma | could some android client work? | 18:57 |
artemma | Developing twitter clients is a little difficult motivation-wise due to 100K max users limit | 18:57 |
Venemo | surely, android stuff should work too | 18:57 |
Venemo | and the mobile web site also | 18:58 |
coderus | artemma: i have no idea, i'm owning only Nokia N9 :D | 18:58 |
artemma | though Android doesn't have super-good twitter clients either | 18:58 |
* artemma is using official Twitter client on BB10 device. It is sort of okay, but no Gravity or TweetBot | 18:59 | |
Master-Passeli | Hi everyone. | 19:00 |
coderus | well, tweetian seems usable, thanks for everybody ;) | 19:00 |
*** jjarven has quit IRC | 19:00 | |
Master-Passeli | i have a problem creating RPM package for ARM platform of my project. i'm using this SailfishSDK | 19:00 |
walokra | it's too bad twitter & co. hate (by limiting) when devs want to do apps for platforms they don't support | 19:00 |
Master-Passeli | SDK created RPM just fine for i486 platform but not for ARM. it does compile the code like it should | 19:01 |
artemma | IMHO twitter ideas is that they support all platforms that matter and they don't really care about the other ones | 19:01 |
artemma | Master-Passeli: make sure you perform Clean | 19:01 |
flux | hmm, 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 |
flux | I can log in fine over ssh | 19:02 |
flux | power button does work no doubt | 19:02 |
flux | but it doesn't unblank the screen | 19:03 |
Stskeeps | flux: you probably need to factory reset | 19:03 |
pp_ | systemctl should give you hints | 19:03 |
Stskeeps | flux: if you give me a moment i can tell you what to do | 19:03 |
flux | it just did that while running, the first time ever | 19:03 |
Stskeeps | ah, that screen doesn't come back on? | 19:03 |
Stskeeps | just hold down power button | 19:03 |
Master-Passeli | artemma: ok, i did clean and it cleaned the project just fine. what now? | 19:03 |
flux | stskeeps, so, reboot? | 19:03 |
artemma | Master-Passeli: now build and deploy | 19:04 |
flux | I imagine it will fix it, but I was hoping not to | 19:04 |
Stskeeps | flux: reboot | 19:04 |
flux | will trying to restart wayland help? | 19:04 |
Master-Passeli | artemma: but i can not deploy since i have no ARM device or emulator. | 19:04 |
Stskeeps | provided you didn't do anything to cause it, reboot is fine | 19:04 |
artemma | Master-Passeli: also make sure it is ARMv7 that is selected in Projecs tab | 19:04 |
artemma | Master-Passeli: Deploy menu item in Qt creator. That's what generates RPM in QtC | 19:05 |
Master-Passeli | artemma: i can not deploy since SDK comes only with i486 emulator. | 19:05 |
Master-Passeli | arm deploy need some device and i don't want to use my phone directly | 19:05 |
*** faenil has joined #sailfishos | 19:06 | |
Master-Passeli | or is there something wrong in my SDK? should i have ARM emulator? | 19:07 |
artemma | Master-Passeli: you wanted to create ARM rpm didn't you? | 19:07 |
Master-Passeli | artemma: sure | 19:07 |
artemma | building from QtC with ARMv7 selected will do it | 19:07 |
artemma | no device needed | 19:07 |
*** joecool has quit IRC | 19:07 | |
mfulz | is there some file selection dialog in sailfish sdk? | 19:08 |
mfulz | if I try that: http://qt-project.org/doc/qt-5.1/qtquickdialogs/qml-qtquick-dialogs1-filedialog.html | 19:08 |
Master-Passeli | artemma: 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 |
mfulz | FileDialog is unknown | 19:08 |
artemma | Master-Passeli: there is Deploy menu item in QtC ;) | 19:09 |
artemma | Build -> Deploy | 19:09 |
flux | meh, I rebooted, couldn't find anything interesting to restart | 19:09 |
*** gigetoo has quit IRC | 19:11 | |
situ | Is there a spotify client for Sailfish ? | 19:11 |
Master-Passeli | artemma: woho! now i got it. | 19:12 |
flux | as far as I know there isn't, but I seem to recall someone was writing one.. | 19:12 |
*** gigetoo has joined #sailfishos | 19:12 | |
artemma | Master-Passeli: good luck with the submission! | 19:12 |
flux | but who knows if those projects proceed, so go ahead :) | 19:12 |
Stskeeps | flux: works after a reboot? | 19:12 |
flux | stskeeps, yes | 19:12 |
Master-Passeli | artemma: thanks man! i will test my package and deliver "better" version of tidning application if you want | 19:12 |
Stskeeps | flux: good | 19:13 |
artemma | Master-Passeli: i don't have a device yet ;) | 19:13 |
Stskeeps | flux: so you hit the 'screen doesn't turn back on' problem | 19:13 |
flux | nice that it boots so fast ;) (but asked for pin code, should have the 'ninja reboot' feature n900..) | 19:13 |
Master-Passeli | artemma: i don't submit this application directly but i make my changes available so that they could be added to the original package | 19:13 |
flux | stskeeps, 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 |
Stskeeps | flux: nod | 19:14 |
Stskeeps | it's getting tracked | 19: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 asynchronicity | 19:14 | |
Stskeeps | not a HW problem. | 19:14 |
flux | always good to hear. and even if it were a HW problem, a software workaround would surely be found :) | 19:15 |
*** edgar2 has joined #sailfishos | 19:17 | |
Venemo | mfulz: nope, I had to reinvent the wheel myself | 19:18 |
mfulz | would you share your code? | 19:19 |
Venemo | well, my stuff is just a picture picker | 19:19 |
Venemo | but of course, puzzle-master is open source, see https://github.com/Venemo/puzzle-master | 19:19 |
mfulz | I just need to select a certificate and copy the full path back | 19:20 |
Venemo | mfulz: https://github.com/Venemo/puzzle-master/blob/master/qml/default/GallerySelectorDialog.qml | 19:20 |
Venemo | mfulz: you will have to configure the DocumentGalleryModel differently | 19:20 |
Venemo | mfulz: if you need further help with it, w00t is the guy who wrote QtDocGallery 5.0 | 19:21 |
*** jjarven has joined #sailfishos | 19:21 | |
mfulz | ok great thank you | 19:21 |
Venemo | mfulz: also; depending on your needs, DocumentGalleryModel might not be good enough for your purpose, in which case you'll need to use something else | 19:24 |
mfulz | ok | 19:24 |
*** nsuffys has joined #sailfishos | 19:25 | |
mfulz | and why is the normal file dialog not working is the qt version not new enough? | 19:26 |
Venemo | I have no idea, never tried | 19:27 |
olofk | tuukkah: 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 .desktop | 19:31 |
olofk | But will that work in the emu too? Does the deploy step launch the .desktop, or run the binary directly? | 19:31 |
*** lbt has quit IRC | 19:35 | |
*** lbt has joined #sailfishos | 19:35 | |
*** lbt has quit IRC | 19:35 | |
*** lbt has joined #sailfishos | 19:35 | |
*** __pv has quit IRC | 19:36 | |
*** jmlich has quit IRC | 19:36 | |
*** __pv has joined #sailfishos | 19:36 | |
tuukkah | olofk, in the ide, you can configure the run command | 19:37 |
*** raa70 has quit IRC | 19:39 | |
*** raa70 has joined #sailfishos | 19:40 | |
*** nsuffys has quit IRC | 19:49 | |
olofk | I'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 |
jake9xx | you don't need root access to do pkcon install | 19:58 |
*** beford has joined #sailfishos | 19:59 | |
pp_ | pkcon also integrates with ui bits, I believe | 19:59 |
olofk | So zypper is basically for people who are already accustomed to using it then? | 19:59 |
olofk | I mean from suse (or where it's used) | 20:00 |
jake9xx | kinda like that yes | 20:00 |
*** Sp|atter has quit IRC | 20:01 | |
olofk | Installing sailfishapp-launcher did the trick. I can launch pure QML apps on the device now | 20:02 |
olofk | And it works fine to just ssh into the device, start the app and have it show up on the Jolla screen | 20:03 |
jake9xx | olofk: nice, when you deploy a template-based app from qtcreator as rpm package, you get it automatically | 20:04 |
olofk | jake9xx: Yes. I guess I need to make that work as well to create a proper rpm that I can submit to the store | 20:05 |
olofk | But this is nice since it means I can do some quick development without having to install the IDE if I'm using another computer | 20:06 |
*** arcean has joined #sailfishos | 20:06 | |
olofk | If I choose to deploy as rpm in the IDE, will it install the required deps automatically? | 20:07 |
olofk | in the emulator | 20:08 |
jake9xx | yes | 20:08 |
jake9xx | that's the idea of rpm packaging | 20:08 |
zuh | assuming they are available of course... :) | 20:09 |
olofk | Wasn'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 #sailfishos | 20:10 | |
Pnuu | olofk: last I used rpm packages, it was called "dependency hell" | 20:12 |
jake9xx | olofk: welcome to the club :) | 20:12 |
Pnuu | that was something like 10 years ago :-) | 20:12 |
*** furikku has quit IRC | 20:13 | |
Stskeeps | http://releases.merproject.org/~carsten/mer-srcpkgs-without-gcc-glibc-bash.svg | 20:14 |
jake9xx | Pnuu: RHEL 7 cd's still in my drawer | 20:15 |
Stskeeps | i really can't find out if aptoide is legit or not | 20:15 |
olofk | hmm.. I'm getting this when I add libsailfish-launcher to the Requires field in the yaml file | 20:15 |
olofk | Fatal error: nothing provides libsailfishlapp-launcher needed by untitled-0.1-1.i586 | 20:15 |
olofk | ahh. crap. A typo | 20:16 |
Pnuu | jake9xx: my first linux was finnlinux 2000 or something.. | 20:16 |
jake9xx | olofk: almost said it | 20:16 |
olofk | I 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 two | 20:17 |
Elleo | Stskeeps: 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 |
Stskeeps | Elleo: ah | 20:18 |
Elleo | Stskeeps: iirc f-droid (free software only marketplace) used to be based around apotoide for example | 20:18 |
Elleo | not sure if it still is though | 20:18 |
Stskeeps | i was wondering idly | 20:18 |
Elleo | the client itself is open: http://dev.aptoide.org/ | 20:19 |
Elleo | oh and so's the server | 20:20 |
Elleo | hmm or possibly not | 20:20 |
Elleo | not clear on the server side | 20:20 |
olofk | ok, so adding a dep on libsailfishapp-launcher works fine, but I can't figure out how to change the run command. Anyone? | 20:21 |
Elleo | olofk: the Exec line of your .desktop file controls that | 20:21 |
olofk | Elleo: ahh.. really. That's great then | 20:21 |
olofk | Yes! It works. Bye bye cpp entry point. Might have saved a few bytes of private memory for the app :) | 20:24 |
*** artemma has quit IRC | 20:24 | |
Elleo | olofk: great :) | 20:24 |
olofk | Haven't used a fancy IDE in ages, and I must say that I'm impressed by how smooth everything works | 20:25 |
*** Superpelican_ has joined #sailfishos | 20:26 | |
*** Superpelican_ has quit IRC | 20:29 | |
jake9xx | olofk: good to hear | 20:33 |
*** qqK has joined #sailfishos | 20:35 | |
*** phlixi_ has quit IRC | 20:36 | |
*** cvp has joined #sailfishos | 20:36 | |
*** jpnurmi has joined #sailfishos | 20:37 | |
w00t | jpnurmi: pushed a commit that should fix packaging | 20:37 |
jpnurmi | w00t: sweet, thanks | 20:38 |
*** Morpog_Mobile has quit IRC | 20:47 | |
*** phlixi has joined #sailfishos | 20:51 | |
*** thessy has joined #sailfishos | 20:53 | |
thessy | hi, searching the right way to integrate own ssl cert (CAcert) to my jolla. any hints how to do this? | 20:55 |
olofk | hmm. 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 project | 20:56 |
olofk | Now I can't build the new project. Looks like qmake is trying to run g++ without any source files | 20:56 |
olofk | Can't understand why this is only happening with my new project | 20:56 |
edgars | damn | 20:57 |
edgars | really missing whatsapp | 20:57 |
*** M4rtinK has joined #sailfishos | 20:57 | |
jake9xx | coderus: ^^ :) | 20:57 |
Aard | edgars: seems to work reasonably well with alien. don't use it myself, but my wife uses it | 20:58 |
edgars | Aard: yeah, cant start chat ;/ | 20:58 |
Aard | hm. she can :p | 20:58 |
edgars | i prefer to avoid emulated software :) | 21:00 |
*** Morpog_Mobile has joined #sailfishos | 21:00 | |
* Aard too, but... | 21:00 | |
qwazix | how can I run something as root in an app? | 21:01 |
edgars | but... community must work harder to make more apps :> | 21:01 |
olofk | edgars: We're on it :) | 21:02 |
*** artemma has joined #sailfishos | 21:03 | |
Frye | olofk, I can try to help if you can share the code someway. | 21:03 |
Frye | I have done few renames myself | 21:03 |
Frye | olofk, 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 |
edgars | olofk: and if it's not a top secret, on what are you working? :) | 21:05 |
Frye | Yeah, well if it's a project with renames I guess it's not yet that secret =) | 21:07 |
Frye | But there is quite a few places where the renaming needs to be done. | 21:07 |
Frye | Entries in the .pro file. Also entries in the yaml file | 21:08 |
Frye | grep is a good friend there :D | 21:09 |
artemma | Frye: HelloWorld Pro's renaming script should help | 21:09 |
Frye | Well I've done my renamings | 21:09 |
Frye | But I need to make a note that one exists | 21:09 |
Frye | for the future | 21:09 |
artemma | it was creating for using HW Pro as a starting template, but I think people used its renaming script for just renaming current project too | 21:09 |
artemma | created* | 21:10 |
Frye | ok | 21:10 |
edgars | ohhh great... at 14:00 battery was 100%, now (23:12) it's 64% | 21:12 |
olofk | edgars: It's just a toy app that calculates love between two persons :) Just doing something to get to know the dev tools | 21:15 |
edgars | mhh :) | 21:15 |
olofk | Frye: I have just shown that you don't actually need the cpp part by using sailfish-qml from libsailfishapp-launcher | 21:16 |
Frye | ok | 21:16 |
*** itbaron has quit IRC | 21:17 | |
*** c0ck4m0u53 has quit IRC | 21:18 | |
olofk | and for some reason a couple of paths keep popping up in my .yaml file even if I remove them | 21:19 |
*** artemma has quit IRC | 21:22 | |
olofk | Is the spec file and yaml file updating each other somehow? | 21:22 |
Frye | spec file is generated from the yaml file | 21:23 |
jotik | Hello! Where can I find the Sailfish repositories? | 21:24 |
special | jotik: code? binaries? which parts? | 21:25 |
jotik | special: sry, i meant code repositories | 21:25 |
jotik | I can't find any reference to them on the website | 21:25 |
special | base 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 |
special | the sailfish UI repositories are not open currently | 21:26 |
jotik | any reason why? | 21:27 |
special | not for me to speculate | 21:27 |
jotik | any hope they will be open-sourced in the next 3 years? | 21:29 |
special | also not for me to speculate, I wouldn't want to say anything misleading :) | 21:29 |
FireFly | AIUI the sailfish UI is the "commercial part", so to speak, and could be licensed to other vendors or whatever | 21:30 |
FireFly | so I guess there's that | 21:30 |
olofk | ah 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 out | 21:31 |
olofk | So how do I prevent the build scripts from running qmake? | 21:31 |
olofk | I suspect I need to somehow change how the spec file is generated from the yaml file | 21:32 |
Frye | Link qmake to /bin/true? | 21:32 |
Frye | No Idea really | 21:33 |
flux | firefly, I suppose dual-licensing under GPL and requiring copyright assignment would work for many. perhaps. | 21:33 |
special | olofk: the yaml has a line like "Builder: qmake5", which is generating the qmake lines in the .spec. | 21:34 |
olofk | Is the yaml->spec conversion part of QT creator, or is it a sailfish-specific thing? | 21:34 |
Frye | No idea sorry | 21:35 |
special | https://wiki.merproject.org/wiki/Spectacle | 21:35 |
special | the tool is 'specify' | 21:35 |
olofk | special: Perfect! I'll dig into that | 21:35 |
*** lbt has quit IRC | 21:38 | |
*** lbt has joined #sailfishos | 21:38 | |
*** lbt has quit IRC | 21:38 | |
*** lbt has joined #sailfishos | 21:38 | |
*** edgar2 has quit IRC | 21:39 | |
special | olofk: iirc, you can remove the 'Builder' line and edit the .spec in the appropriate sections, and the changes will be preserved | 21:40 |
*** mike7b4_on_x230 has joined #sailfishos | 21:41 | |
*** AlmAck has quit IRC | 21:41 | |
olofk | special: I changed it to none, but I'm not sure that the rpm is generated at all now | 21:41 |
mike7b4_on_x230 | hi | 21:41 |
special | olofk: 'builder' doesn't change anything for generating the RPM; it just changes what happens for the build and install phases | 21:42 |
*** AlmAck has joined #sailfishos | 21:42 | |
*** thessy has left #sailfishos | 21:43 | |
olofk | special: 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 |
olofk | All this is starting to feel a bit stupid since it works just fine if I include the three line cpp template file | 21:45 |
*** dhbiker has quit IRC | 21:45 | |
olofk | But it still annoys me enough to keep going :) | 21:45 |
*** Finleida has quit IRC | 21:47 | |
Frye | I 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 #sailfishos | 21:50 | |
*** jotik has left #sailfishos | 21:52 | |
special | olofk: oh. well, without qmake you're not building or installing anything. | 21:57 |
special | olofk: you'd need to edit the .pro files to get rid of the C++ | 21:57 |
olofk | special: 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 main | 21:58 |
special | change TEMPLATE = app to TEMPLATE = aux | 21:58 |
special | in .pro | 21:58 |
*** artemma has joined #sailfishos | 22:00 | |
olofk | special: 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 running | 22:01 |
*** rcg has quit IRC | 22:02 | |
olofk | hmm.. I tried to specify sailfish-qml as the executable, but that didn't work. | 22:05 |
special | you'll probably need to give it arguments pointing to whatever qml you want it to execute? | 22:07 |
*** VDVsx_ has quit IRC | 22:08 | |
M4rtinK | lol, meegotouch lives on ! :D | 22:09 |
M4rtinK | /usr/share/themes/jolla-ambient/meegotouch/ | 22:09 |
olofk | special: I set %{name} as the argument. | 22:09 |
special | that variable may not work in that context | 22:09 |
special | M4rtinK: haha, yes. silica's theme engine is directly based on qt-components', which is a small port of meegotouch's | 22:10 |
*** Almehdin has joined #sailfishos | 22:10 | |
olofk | I'll try to change it if I can find where it's defined. I don't get the question anymore | 22:11 |
olofk | Also, it says it couldn't find sailfish-qml in path, so I'm not sure that the argument is the problem | 22:11 |
olofk | This is as far as I get tonight. Thanks for all the help | 22:16 |
olofk | One more thing. Where do I find the run configuration? I've only been able to change it by hacking the .pro.user file | 22:22 |
*** javispedro has joined #sailfishos | 22:23 | |
*** Almehdin has joined #sailfishos | 22:23 | |
M4rtinK | thp: I'm getting an assert error when trying PyOtherSide on the Jolla | 22:26 |
merlin1991 | M4rtinK: what's your error exactly? | 22:27 |
M4rtinK | [nemo@localhost examples]$ /usr/lib/qt5/bin/qmlscene notes/main.qml | 22:27 |
M4rtinK | [D] QWaylandEglIntegration::QWaylandEglIntegration:58 - Using Wayland-EGL | 22:27 |
M4rtinK | imported python module | 22:27 |
M4rtinK | [F] qt_assert:2014 - ASSERT: "list != NULL" in file qpython_priv.cpp, line 194 | 22:27 |
M4rtinK | followed by | 22:27 |
M4rtinK | Neúspěšně ukončen (SIGABRT) | 22:27 |
M4rtinK | (no idea why the message is translated to czech :) ) | 22:28 |
M4rtinK | merlin1991: this is the notes example from freshly cloned pyotherside | 22:28 |
M4rtinK | merlin1991: the mandelbrot example works fine | 22:29 |
merlin1991 | did you also build pyotherside from the clone, or are only the examples taken from git? | 22:33 |
*** lbt has quit IRC | 22:33 | |
M4rtinK | I'm using PyOtherSide from THPs repo | 22:34 |
*** lbt has joined #sailfishos | 22:34 | |
M4rtinK | from here: http://repo.merproject.org/obs/mer-python3/latest_armv7hl/mer-python3.repo | 22:34 |
*** Almehdin has joined #sailfishos | 22:35 | |
M4rtinK | pyotherside & Python 3 from there | 22:35 |
*** Almehdin has quit IRC | 22:35 | |
M4rtinK | based on this (outdated ?) ML guide: https://lists.sailfishos.org/pipermail/devel/2013-September/000782.html | 22:35 |
merlin1991 | I was just asking so I don't look at the wrong version of thps code | 22:36 |
*** Almehdin has joined #sailfishos | 22: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 fine | 22:37 |
M4rtinK | well, it is not built against that recently added Sailfish target | 22:37 |
M4rtinK | not sure if it could cause this issue | 22:37 |
merlin1991 | M4rtinK: pyotherside is young, there can still lurk errors :) | 22:38 |
*** Almehdin has joined #sailfishos | 22:39 | |
M4rtinK | merlin1991: sure, but seems to be working working really well in concept :) | 22:39 |
M4rtinK | merlin1991: makes a lot of stuff more simple & just more "natural" than PySide | 22:40 |
merlin1991 | I like the concept, but I'd love to have some sort of support for models on python side | 22:40 |
merlin1991 | but the global python interpreter lock makes that a headache to implement | 22:40 |
M4rtinK | merlin1991: well yeah | 22:40 |
M4rtinK | merlin1991: as long as you can just push the whole model back and forth, it works | 22:41 |
merlin1991 | since 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 stall | 22:41 |
M4rtinK | merlin1991: but for big models modified from both sides, one would have to do some hacks :) | 22:41 |
merlin1991 | and 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 calls | 22:42 |
M4rtinK | merlin1991: well, the model could be Qt side | 22:42 |
*** Almehdin has joined #sailfishos | 22:42 | |
M4rtinK | just accessible from Python | 22:42 |
M4rtinK | calling the appropriate modification methods | 22:43 |
merlin1991 | so 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 that | 22:43 |
M4rtinK | less useful than subclassing the model & overriding the methods, but IMHO would still be useful | 22:43 |
merlin1991 | yeah that could actually work well for background stuff without having the gil problem | 22:43 |
M4rtinK | I thing that would be doable even now | 22:44 |
M4rtinK | but would be nice to have it built-in | 22:44 |
merlin1991 | it's weird concept wise though | 22:44 |
M4rtinK | could be even implemented in the C++ code | 22:44 |
merlin1991 | you have the "backend" python providing data via a model that lives in the "frontend" qml | 22:44 |
M4rtinK | it would make you a C++ AbstractList model and provide some interface to it to Python code | 22:45 |
merlin1991 | I bet someone would go editing the model with javascript from qml side and wondering why it all goes foobar :D | 22:45 |
M4rtinK | well, that would still work :) | 22:45 |
M4rtinK | the Python code would have to count with that | 22:45 |
merlin1991 | yeah 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 provide | 22:46 |
M4rtinK | otherwise you would still have the issue you mention - getting GIL for every getData call | 22:46 |
M4rtinK | well, could go both ways | 22:47 |
M4rtinK | eq, folderlist model | 22:47 |
merlin1991 | I like the idea | 22:48 |
M4rtinK | well, 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 QML | 22:48 |
*** Almehdin has joined #sailfishos | 22:48 | |
M4rtinK | BTW, possibly a nice hack :) | 22:48 |
*** Almehdin has quit IRC | 22:48 | |
M4rtinK | a Python dictionary subclass :) | 22:48 |
* merlin1991 currently install sailfishsdk on his pc | 22:48 | |
*** Almehdin has joined #sailfishos | 22:49 | |
merlin1991 | so far I only used it on my laptop but at home that feels silly when I could use 2 monitors instead .D | 22:49 |
M4rtinK | with the state modifying methods hooked | 22:49 |
*** Almehdin has quit IRC | 22:49 | |
*** Almehdin has joined #sailfishos | 22:49 | |
M4rtinK | so if you add/change an item in python, it would update the model automatically | 22:49 |
*** Almehdin has quit IRC | 22:49 | |
M4rtinK | even incrementally :) | 22:50 |
merlin1991 | or 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 |
M4rtinK | yeah, it worked fine so far :) | 22:50 |
M4rtinK | very nice how you can pass Python/QML data to it | 22:51 |
M4rtinK | and it all gets transformed automatically | 22:51 |
*** artemma has quit IRC | 22:51 | |
merlin1991 | yeah, it's very pythonic :) | 22:51 |
M4rtinK | and the Python image data provider :) | 22:51 |
M4rtinK | works really well | 22:52 |
merlin1991 | iirc the mandelbrot example is using that? | 22:52 |
M4rtinK | yep | 22:52 |
M4rtinK | generates 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 |
mfulz | can 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 |
merlin1991 | I 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 |
mfulz | that's why I always use LVM :) | 22:55 |
merlin1991 | doesn't really help when you've exhausted 100% of your physical drives | 22:57 |
merlin1991 | I'd still have to move around my volumes | 22:57 |
M4rtinK | well, you could just resize the LVs :) | 22:57 |
M4rtinK | well, maybe first the fs, then the volume :) | 22:57 |
mfulz | can someone answer my question about the data in qml? | 22:58 |
merlin1991 | yeah but what's the difference if I resize my partitions and fs or lvs and fs | 22:58 |
jpnurmi | mfulz: nope, types (typically qobjects or qjsvalues) need to be registered to qml | 22:58 |
M4rtinK | merlin1991: you can make the scratchbox one smaller & home bigger | 22:58 |
merlin1991 | I personally think the advantage of lvm is the possibility merge another physical disk into your lvs | 22:59 |
M4rtinK | now when I think about it, that's one one of the plus points of btrfs | 22:59 |
mfulz | so 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 |
M4rtinK | as it is fs & LVM fused together | 22:59 |
M4rtinK | you can just resize the subvolume at that's it, no need to do fs & LV separately | 22:59 |
merlin1991 | mfulz: there is the whole concept of "models" | 22:59 |
jpnurmi | mfulz: the basic types work. you could pass a string list for example | 23:00 |
*** Sarvi has quit IRC | 23:00 | |
merlin1991 | mfulz: http://qt-project.org/doc/qt-5.0/qtquick/qtquick-modelviewsdata-modelview.html | 23:00 |
M4rtinK | merlin1991: btw, this works with PyOtherSide: | 23:00 |
*** Almehdin has joined #sailfishos | 23:00 | |
M4rtinK | zoomLevel: rWin.get("z", 11, function(v){zoomLevel=v}) | 23:01 |
M4rtinK | get calls asynchronously a Python function providing accessing a dict | 23:02 |
M4rtinK | s/providing// | 23:02 |
M4rtinK | the 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 #sailfishos | 23:04 | |
*** Almehdin has quit IRC | 23:05 | |
mfulz | merlin1991: 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 #sailfishos | 23:07 | |
*** Almehdin has joined #sailfishos | 23:08 | |
jpnurmi | mfulz: http://qt-project.org/doc/qt-5/qtqml-cppintegration-data.html | 23:08 |
mfulz | thanks | 23:09 |
*** Almehdin has quit IRC | 23:15 | |
*** Almehdin has joined #sailfishos | 23:15 | |
walokra | can i override how flickable works on silicalistview? provide custom actions when user flicks right/left? | 23:16 |
*** Almehdin has joined #sailfishos | 23:19 | |
*** lbt has quit IRC | 23:22 | |
*** fk_lx has quit IRC | 23:22 | |
M4rtinK | merlin1991: I've rebuilt pyotherside & Python 3 using the Sailfish target | 23:32 |
M4rtinK | merlin1991: and it seems to work now | 23:32 |
M4rtinK | merlin1991: well, at least the example launches now :) | 23:32 |
*** MMx has quit IRC | 23:32 | |
*** MMx has joined #sailfishos | 23:33 | |
M4rtinK | Merbot: the repo is here: https://build.merproject.org/project/show?project=home%3AMartinK%3Asailfish%3Apyotherside | 23:33 |
Merbot | M4rtinK: 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 |
M4rtinK | gah | 23:33 |
M4rtinK | merlin1991: the repo is here: https://build.merproject.org/project/show?project=home%3AMartinK%3Asailfish%3Apyotherside | 23:33 |
merlin1991 | heh I didn't know the public obs had a sailfish target | 23:34 |
*** Venemo has quit IRC | 23:34 | |
M4rtinK | lbt added it quite recently | 23:34 |
*** Hurrian is now known as Hurrian|GS2 | 23:35 | |
M4rtinK | works nicely & I'm using it to port useful libs & packages :) | 23:35 |
*** Almehdin has joined #sailfishos | 23:35 | |
merlin1991 | cool | 23:35 |
*** Hurrian|GS2 is now known as Hurrian | 23:35 | |
*** Almehdin has joined #sailfishos | 23:36 | |
merlin1991 | now we just need to start a community project and we're good to go | 23:36 |
merlin1991 | and hopefully this time around it works better than apps4meego :D | 23:36 |
*** miksuh has quit IRC | 23:37 | |
*** spider-mario has quit IRC | 23:39 | |
M4rtinK | yeah, setting up something like Maemo Extras & community QA should be possible | 23:41 |
M4rtinK | and there are also OpenRepos | 23:41 |
*** Almehdin has quit IRC | 23:42 | |
*** Hurrian|GS2 has joined #sailfishos | 23:42 | |
*** Hurrian|GS2 has joined #sailfishos | 23:43 | |
*** Almehdin has joined #sailfishos | 23:43 | |
*** Hurrian|GS2 has quit IRC | 23:44 | |
*** Almehdin has joined #sailfishos | 23:45 | |
*** Almehdin has joined #sailfishos | 23:47 | |
*** Almehdin has quit IRC | 23:47 | |
merlin1991 | isn't openrepos more about per developer repos? | 23:47 |
merlin1991 | I 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" homepage | 23:47 |
merlin1991 | and 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 away | 23:47 |
merlin1991 | s/it's/its/ | 23:48 |
M4rtinK | you can also clone the whole project locally | 23:48 |
M4rtinK | as was done ne-masse before the COBS shutdown | 23:49 |
M4rtinK | *en-masse | 23:49 |
* merlin1991 didn't use obs at all so far | 23:49 | |
merlin1991 | so my whole idea is based on bits and pieces I read here and there | 23:49 |
M4rtinK | merlin1991: btw, your idea should work fine | 23:49 |
M4rtinK | talked about something similar with lbt, should be possible | 23:50 |
*** Almehdin has joined #sailfishos | 23:50 | |
M4rtinK | BTW, just a technical note | 23:50 |
*** Almehdin has joined #sailfishos | 23:50 | |
merlin1991 | iirc 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 that | 23:51 |
*** Almehdin has joined #sailfishos | 23:51 | |
M4rtinK | links to the packages might not be persistent | 23:51 |
merlin1991 | and if possible we even place it on top of maemo.org | 23:51 |
*** Almehdin has quit IRC | 23:51 | |
M4rtinK | the build system adds a a.b.c suffix | 23:51 |
M4rtinK | where b for example is package revision | 23:51 |
*** disharmonic has quit IRC | 23:52 | |
M4rtinK | so if you change the package in OBS, it increases | 23:52 |
M4rtinK | so nice that people using the repo will get an update notification, but the actual package url will change :) | 23:52 |
merlin1991 | is that also related to the rebuild business that takes place when you upgrade a library package? | 23:52 |
M4rtinK | could be | 23:52 |
*** Almehdin has joined #sailfishos | 23:53 | |
*** Almehdin has quit IRC | 23:53 | |
M4rtinK | maybe a or c would change | 23:53 |
M4rtinK | Stskeeps told me about it, he should know more :) | 23:53 |
merlin1991 | hm obs probably has some hooks where it could notify an external application about that | 23:53 |
merlin1991 | in this case application being the community qa repo system | 23:53 |
M4rtinK | BTW, there was already a project to replace autobuilder with OBS a while ago | 23:54 |
merlin1991 | I know I was part of every weekly meeting | 23:54 |
merlin1991 | it didn't get far though | 23:54 |
*** Almehdin has joined #sailfishos | 23:54 | |
M4rtinK | but was scrapped when nokia pulled the plug for Maemo infra | 23:54 |
*** Almehdin has quit IRC | 23:54 | |
M4rtinK | as I understand that | 23:54 |
merlin1991 | I wonder if we still have the obs images | 23:54 |
merlin1991 | I'll ask around a bit | 23:55 |
M4rtinK | well, might be possible to salvage something from it | 23:55 |
merlin1991 | the biggest problem with moving autobuilder to obs, is the way -dev packages were made for scratchbox1 | 23:55 |
merlin1991 | they have all kinds of nasty mixed architecture binaries | 23:55 |
M4rtinK | btw, about hooks - I'm sure there are hooks for all important stuff | 23:56 |
*** Almehdin has joined #sailfishos | 23:56 | |
merlin1991 | ie. qmake in the arm qt-dev package is x86 | 23:56 |
*** Almehdin has quit IRC | 23:56 | |
M4rtinK | uh | 23:56 |
M4rtinK | well I kinda wonder why autobuilder still works at all :) | 23:56 |
merlin1991 | and iirc X-Fade tried to get the autobuilder obs up without using the sb2 patches mer is using to work around that | 23:56 |
merlin1991 | or rather mer is using them to use that in a sensible manner | 23:57 |
merlin1991 | well autobuilder is still up mostly thanks to freemangordon | 23:57 |
M4rtinK | well, once there is some playground, I guess one of the package-building mages could be able to cobble together a target | 23:57 |
merlin1991 | he's done quite a few patches to the autobuilder code since the infrastructure was given to the hildon-foundation | 23:57 |
M4rtinK | yeah, was quite some heroics :) | 23:58 |
*** Almehdin has joined #sailfishos | 23:58 | |
*** Almehdin has quit IRC | 23:58 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!