szopin | configure: creating ./config.status | 00:02 |
---|---|---|
szopin | my session from 3 minutes ago is hanging on: configure: creating ./config.status | 00:02 |
szopin | new ssh session is hanging as well (on Using username "nemo'..( | 00:02 |
szopin | there were no such hiccups with n900 | 00:02 |
*** Andy80 has joined #sailfishos | 00:02 | |
szopin | is there any way to stop this? | 00:03 |
Elleo | szopin: as far as I'm aware processes don't get suspended, instead the cpu gets scaled down really slow when the display times out | 00:03 |
Elleo | iirc it doesn't happen when provided with external power though | 00:03 |
szopin | yeah, but until hwkb i tiker with n900 ssh | 00:04 |
*** AlmAck has quit IRC | 00:04 | |
Elleo | so you just need to have it plugged in | 00:04 |
szopin | on the bus? | 00:04 |
szopin | I mostly have free time on the way to work | 00:04 |
Elleo | there's probably a way to disable the scaling in software, but I don't know enough about that side of things to help | 00:04 |
szopin | n900 sshed in nicely with the workaround wifi hotspot mode | 00:04 |
szopin | thanks | 00:04 |
Elleo | on the simple hardware fix side you could bring an external battery pack along and have it plugged into that I guess | 00:05 |
szopin | I already carry 3 phones | 00:05 |
szopin | bit too much... | 00:05 |
Elleo | or plugged into a laptop | 00:05 |
szopin | is there any way to pretend to jolla it is plugged in? | 00:06 |
Elleo | pass | 00:06 |
ShadowJK | it seems to thoroughly and properly suspend | 00:07 |
Elleo | I expect most of the folks who know are in bed by now, so it might be best to ask on the mailing list | 00:07 |
*** Andy80 has quit IRC | 00:07 | |
szopin | it keeps ssh sessions from before screen blackout | 00:07 |
Elleo | ShadowJK: I'm able to still ssh in while it's in its scaled down mode, it's just incredibly sloww | 00:07 |
szopin | unless you change to sudo something | 00:07 |
*** raven24 has joined #sailfishos | 00:07 | |
szopin | not for me, maybe too short timeout | 00:07 |
szopin | sometimes it does if previous session is up | 00:08 |
ShadowJK | it does seem to wkakeup from network activity briefly | 00:08 |
*** veskuh has quit IRC | 00:08 | |
szopin | old session is kept ok as long as same uid and just browsing in mc for example | 00:08 |
*** spider-mario has quit IRC | 00:08 | |
szopin | but ./configure/make/pkcon install all pretty much hang | 00:09 |
szopin | (one workaround is call yourself on skype it wakes up the device and it continues compiling, until net stop) | 00:10 |
ShadowJK | i mean, a "while true; do date; sleep 1; done" in fingerterm, leave device on desk, and you might see it only woke up once or twice an hour | 00:10 |
szopin | next* | 00:10 |
valdur55 | but why you don't use screen ? | 00:10 |
szopin | ? | 00:11 |
Elleo | presumably things keep running when its in hotspot mode | 00:11 |
Elleo | haven't test that much, so couldn't say for sure though | 00:11 |
szopin | screen from old ssh session will hang on the same things | 00:11 |
szopin | if the only ssh session kept alive (working fine for cd/cat etc) hangs on more complicated tasks | 00:11 |
ShadowJK | you can do echo asdf > /sys/power/wake_lock and the android-like suspend powersave is disabled | 00:12 |
szopin | Thanks! | 00:12 |
ShadowJK | but it ats *alot* of power | 00:12 |
szopin | n900 was running with sshd replying nicely all the time | 00:12 |
ShadowJK | Yes | 00:12 |
szopin | or was n900 using some other sleep scheme? | 00:13 |
ShadowJK | Yeah it went to sleep in between timers expiring, but set itself to wakeup just before a timer expiry | 00:13 |
*** triggerhappy has quit IRC | 00:14 | |
szopin | can this be done on jolla? | 00:14 |
szopin | http://talk.maemo.org/showthread.php?p=1380740 | 00:14 |
szopin | jonwil did manage to get into mce | 00:14 |
ShadowJK | In android, google basically made all existing timers second class citizens, and they only work when device is "on". They added new special timers for apps that want to wake up when screen is off. | 00:15 |
ShadowJK | I haven't been able to google up any info on how this works in sailfish | 00:15 |
raven24 | hey there, quick question: is there a recommended way to populate the sdk VM with contacts/ sms messages/ call history ? | 00:17 |
*** nemo_ has joined #sailfishos | 00:21 | |
szopin | hello nemo | 00:21 |
nemo_ | hello szopin | 00:21 |
szopin | yay irssi works | 00:21 |
*** fk_lx has quit IRC | 00:21 | |
*** nemo_ has quit IRC | 00:21 | |
*** szopin has quit IRC | 00:25 | |
*** gabriel9 has quit IRC | 00:25 | |
*** gabriel9 has joined #sailfishos | 00:25 | |
*** szopin has joined #sailfishos | 00:25 | |
szopin | scroll mode doesn't seem work in irssi :/ | 00:29 |
*** DarkSim has quit IRC | 00:31 | |
*** b0bben has quit IRC | 00:33 | |
szopin | ok tmo is better way to track annswer | 00:33 |
*** szopin has quit IRC | 00:33 | |
*** b0bben has joined #sailfishos | 00:35 | |
*** phaeron has quit IRC | 00:38 | |
*** rashm2k has joined #sailfishos | 00:39 | |
*** datagutt has quit IRC | 00:41 | |
*** rcg has quit IRC | 00:42 | |
*** b0bben has quit IRC | 00:43 | |
*** rashm2k has quit IRC | 00:53 | |
*** raven24 is now known as raven24^{off} | 00:54 | |
*** master_o1_master has joined #sailfishos | 01:00 | |
*** gabriel9 has quit IRC | 01:01 | |
*** Sfiet_Konstantin has quit IRC | 01:02 | |
*** master_of_master has quit IRC | 01:03 | |
*** Korthes has quit IRC | 01:05 | |
*** b0bben has joined #sailfishos | 01:10 | |
*** Fuzzillogic has quit IRC | 01:13 | |
*** freedomrun has quit IRC | 01:17 | |
*** KangOl has quit IRC | 01:25 | |
*** KangOl has joined #sailfishos | 01:26 | |
*** KangOl has quit IRC | 01:26 | |
*** ericcc has joined #sailfishos | 01:29 | |
*** Andy80 has joined #sailfishos | 01:39 | |
*** ericcc has quit IRC | 01:50 | |
*** ericcc has joined #sailfishos | 01:51 | |
*** Morpog_ has joined #sailfishos | 02:06 | |
*** Morpog_Mobile has quit IRC | 02:09 | |
*** Morpog_PC has quit IRC | 02:09 | |
*** b0bben has quit IRC | 02:18 | |
*** DrWilken has quit IRC | 02:20 | |
*** vitronic has joined #sailfishos | 02:23 | |
*** Morpog_Mobile has joined #sailfishos | 02:38 | |
*** jjarven has quit IRC | 02:58 | |
*** prometoys has quit IRC | 03:14 | |
*** jjarven has joined #sailfishos | 03:15 | |
*** Venemo has quit IRC | 03:19 | |
*** Venemo has joined #sailfishos | 03:19 | |
*** Venemo has quit IRC | 03:22 | |
*** joecool has joined #sailfishos | 03:22 | |
*** Andy80 has quit IRC | 03:25 | |
*** Andy80 has joined #sailfishos | 03:25 | |
*** Morpog_Mobile has quit IRC | 03:27 | |
*** Andy80 has quit IRC | 03:29 | |
*** Kabouik has quit IRC | 03:39 | |
*** gigetoo has quit IRC | 03:40 | |
*** vitronic_ has joined #sailfishos | 03:42 | |
*** gigetoo has joined #sailfishos | 03:42 | |
*** vitronic has quit IRC | 03:46 | |
*** Andy80 has joined #sailfishos | 03:56 | |
*** furikku has joined #sailfishos | 03:58 | |
*** Andy80 has quit IRC | 04:01 | |
*** PeterPark has quit IRC | 04:05 | |
*** s1gk1ll_ has joined #sailfishos | 04:23 | |
*** s1gk1ll has quit IRC | 04:25 | |
*** phaeron has joined #sailfishos | 04:31 | |
*** Morpog_Mobile has joined #sailfishos | 04:35 | |
*** Andy80 has joined #sailfishos | 04:57 | |
*** Andy80 has quit IRC | 05:01 | |
*** promulo has quit IRC | 05:27 | |
*** planasb has quit IRC | 05:28 | |
*** vitronic_ has quit IRC | 05:34 | |
*** vitronic_ has joined #sailfishos | 05:35 | |
*** planasb has joined #sailfishos | 05:36 | |
*** planasb has quit IRC | 05:43 | |
*** Andy80 has joined #sailfishos | 05:57 | |
*** ericcc has quit IRC | 06:00 | |
*** Andy80 has quit IRC | 06:02 | |
*** veskuh has joined #sailfishos | 06:27 | |
*** Andy80 has joined #sailfishos | 06:58 | |
*** Andy80 has quit IRC | 07:03 | |
*** amonk has quit IRC | 07:15 | |
situ | Can a dialog contain pull down menu ? | 07:26 |
*** sdjayna has joined #sailfishos | 07:32 | |
situ | In other words, if I add slica flickable inside a a dialog, is it allowed to show pull down menu ? | 07:35 |
*** phaeron has quit IRC | 07:39 | |
situ | Ok, it's possible. | 07:42 |
*** planasb has joined #sailfishos | 07:44 | |
*** fk_lx has joined #sailfishos | 07:46 | |
*** Andy80 has joined #sailfishos | 07:59 | |
*** Morpog_Mobile has quit IRC | 08:01 | |
*** Elessar has joined #sailfishos | 08:02 | |
*** b0bben has joined #sailfishos | 08:03 | |
*** Andy80 has quit IRC | 08:03 | |
*** Morpog_Mobile has joined #sailfishos | 08:04 | |
*** planasb has quit IRC | 08:11 | |
*** _miqu_ has joined #sailfishos | 08:12 | |
*** b0bben has quit IRC | 08:13 | |
*** dhbiker has joined #sailfishos | 08:36 | |
Yaniel | is mosh already in one of the standard repos? | 08:40 |
*** phaeron has joined #sailfishos | 08:41 | |
*** b0bben has joined #sailfishos | 08:44 | |
coderus | situ: sure | 08:48 |
coderus | Dialog is based on Page in silica :) | 08:48 |
*** b0bben has quit IRC | 08:48 | |
situ | Right | 08:48 |
coderus | its great since harmattan Dialog is crap | 08:49 |
Yaniel | anyone? | 08:52 |
*** faenil has quit IRC | 08:53 | |
*** sdjayna has quit IRC | 08:54 | |
*** Andy80 has joined #sailfishos | 09:00 | |
*** ericcc has joined #sailfishos | 09:01 | |
*** Andy80 has quit IRC | 09:04 | |
*** Eismann has joined #sailfishos | 09:06 | |
coderus | Yaniel: ask in #nemomobile | 09:06 |
*** _miqu_ has quit IRC | 09:11 | |
*** ericcc_ has joined #sailfishos | 09:17 | |
*** ericcc has quit IRC | 09:18 | |
*** _miqu_ has joined #sailfishos | 09:22 | |
*** sdjayna has joined #sailfishos | 09:29 | |
*** s1gk1ll has joined #sailfishos | 09:45 | |
*** s1gk1ll is now known as Guest7851 | 09:45 | |
*** s1gk1ll_ has quit IRC | 09:47 | |
*** Venemo has joined #sailfishos | 09:50 | |
*** _miqu_ has quit IRC | 09:54 | |
*** amonk has joined #sailfishos | 09:56 | |
*** kaari has joined #sailfishos | 09:57 | |
*** freedomrun has joined #sailfishos | 10:00 | |
*** Andy80 has joined #sailfishos | 10:01 | |
mudyc | i have accidentally linked together two different persons in contacts. how can i remove the link? | 10:02 |
*** phaeron has quit IRC | 10:02 | |
*** Andy80 has quit IRC | 10:05 | |
Pnuu | mudyc: let's see | 10:08 |
Pnuu | don't remember from top of my head, but managed to do that once | 10:08 |
Pnuu | mudyc: goto People, open the card where the people are linked, select "link" from the pulley menu and click on the one that is extra | 10:10 |
mudyc | Pnuu: ah, tried long press :) | 10:13 |
*** phaeron has joined #sailfishos | 10:16 | |
*** lbt_ has joined #sailfishos | 10:17 | |
*** lbt_ has quit IRC | 10:17 | |
*** lbt_ has joined #sailfishos | 10:17 | |
*** lbt has quit IRC | 10:17 | |
*** zhost has joined #sailfishos | 10:17 | |
mudyc | Pnuu: thanks | 10:19 |
Pnuu | no prob :-) | 10:19 |
*** Pat_o has quit IRC | 10:24 | |
*** Finleida has joined #sailfishos | 10:24 | |
*** Frye has quit IRC | 10:26 | |
*** Frye has joined #sailfishos | 10:29 | |
*** planasb has joined #sailfishos | 10:32 | |
*** lbt_ is now known as lbt | 10:33 | |
*** super_hirsute has joined #sailfishos | 10:33 | |
*** Pat_o has joined #sailfishos | 10:34 | |
*** b0bben has joined #sailfishos | 10:38 | |
*** isto has quit IRC | 10:38 | |
*** fuz_ has quit IRC | 10:41 | |
*** b0bben has quit IRC | 10:42 | |
*** s1gk1ll has joined #sailfishos | 10:43 | |
*** s1gk1ll is now known as Guest72432 | 10:44 | |
*** artemma has joined #sailfishos | 10:45 | |
*** Guest7851 has quit IRC | 10:45 | |
*** veskuh_ has joined #sailfishos | 10:46 | |
*** fuz_ has joined #sailfishos | 10:47 | |
*** kimmo has joined #sailfishos | 10:47 | |
*** veskuh has quit IRC | 10:47 | |
*** veskuh_ is now known as veskuh | 10:47 | |
*** Tumex_ has quit IRC | 10:47 | |
Yaniel | how do I enable the chum repo? | 10:49 |
*** kimmo has quit IRC | 10:53 | |
Yaniel | just ssu er chum? | 10:56 |
*** kimmoli has joined #sailfishos | 10:58 | |
tbr | there's nothing there yet :/ | 11:00 |
*** kimmoli has quit IRC | 11:02 | |
*** jjarven has quit IRC | 11:07 | |
*** gabriel9 has joined #sailfishos | 11:22 | |
*** jjarven has joined #sailfishos | 11:28 | |
*** Andy80 has joined #sailfishos | 11:29 | |
*** raven24^{off} is now known as raven24 | 11:29 | |
*** veskuh has quit IRC | 11:33 | |
*** Andy80 has quit IRC | 11:38 | |
Venemo | w00t: ping | 11:41 |
Venemo | w00t: can you give me some clues about libiphb or point to somebody who can? | 11:41 |
*** Andy80 has joined #sailfishos | 11:42 | |
Elessar | friends, what is the best place to ask about SDK and libraries/tools provided with the platform? | 11:45 |
*** spider-mario has joined #sailfishos | 11:46 | |
Venemo | Elessar: probably this channel | 11:47 |
Elessar | Venemo: whom is better to ask? | 11:49 |
Venemo | Elessar: just ask, and have the patience to wait for someone to answer | 11:49 |
Venemo | remember, it's saturday, and it's a holiday time in most parts of the world, so not everyone might be reading | 11:50 |
tbr | vulgo: patience is a virtue | 11:50 |
Elessar | ok, let's try again :) does anybody know how to control screen's brightness from the application? | 11:50 |
tbr | there's probably a dbus call for that | 11:50 |
*** gabriel9 has quit IRC | 11:53 | |
*** gabriel9 has joined #sailfishos | 11:55 | |
Elessar | oh no, no qdbus utility in the emulator( | 11:56 |
Elessar | let's read mans for dbus-send | 11:56 |
coderus | Elessar: qt5-qttools-qdbus | 11:57 |
coderus | /usr/lib/qt5/bin/qdbus | 11:57 |
*** gabriel9 has quit IRC | 11:57 | |
*** leszek has joined #sailfishos | 11:57 | |
*** leszek has joined #sailfishos | 11:58 | |
Elessar | coderus: no such file or directory | 11:58 |
Elessar | may be I have to install some package? | 11:59 |
*** gabriel9 has joined #sailfishos | 11:59 | |
*** leszek_ has joined #sailfishos | 12:03 | |
*** leszek has quit IRC | 12:04 | |
*** leszek_ is now known as leszek | 12:05 | |
coderus | Elessar: qt5-qttools-qdbus | 12:14 |
Elessar | coderus: thanks, but I've already learned dbus-send | 12:15 |
Elessar | but it didn't help to find the right service | 12:15 |
coderus | learn dbus-monitor now :) | 12:16 |
Elessar | coderus: how would it help if there is no way to change brightness from default emulator's applications? | 12:17 |
coderus | on N9 port brightness controlled by mce | 12:20 |
coderus | i dont know if same on Jolla | 12:20 |
Venemo | not sure the emulator even has the necessary bits for this | 12:23 |
Elessar | wow, access denied while tried to send message to com.nokia.mce | 12:25 |
Elessar | looks like I have to wait two more days for the real device :) | 12:27 |
Elessar | and try to do something on it | 12:28 |
*** itbaron has joined #sailfishos | 12:34 | |
*** Juhi24 has joined #sailfishos | 12:37 | |
*** KangOl has joined #sailfishos | 12:43 | |
*** rashm2k has joined #sailfishos | 12:47 | |
Juhi24 | man I still suck with importing libraries. Trying to use QtPositioning 5.2. I have qt5-qtpositioning installed, i have added it in the dependencies in yaml file. Trying to deploy the project as RPM package in emulator gives me 'module "QtPositioning" is not installed'. What did I miss here? | 12:51 |
coderus | Qt5Positioning, maybe? | 12:53 |
*** lpotter has joined #sailfishos | 12:53 | |
*** ljp has quit IRC | 12:53 | |
*** SeekingFor has quit IRC | 12:54 | |
*** SeekingFor has joined #sailfishos | 12:55 | |
Juhi24 | I'm not getting it. In Qt docs I read my import statement should be 'import QtPositioning 5.2' | 12:57 |
coderus | i mean adding Qt5Positioning to package module dependencies | 13:00 |
coderus | to have it installed on devic | 13:00 |
*** Acce has joined #sailfishos | 13:01 | |
*** SeekingFor has quit IRC | 13:01 | |
*** freedomrun has quit IRC | 13:02 | |
*** AlmAck has joined #sailfishos | 13:03 | |
*** KangOl has quit IRC | 13:06 | |
*** SeekingFor has joined #sailfishos | 13:08 | |
coderus | i have problem every time i building package it adding TARGETNAME.qml and pages/ cover/ to my share subfolder. how can i avoid this? | 13:10 |
*** KangOl has joined #sailfishos | 13:15 | |
*** Pat_o has quit IRC | 13:17 | |
*** rashm2k has quit IRC | 13:22 | |
Juhi24 | coderus: sorry I tried googling stuff, but I still don't quite follow. Where should that be added? In the PkgConfigBR? Still learning here. | 13:23 |
coderus | in both PkgBR anc PkgConfigBR | 13:25 |
coderus | ah no | 13:25 |
coderus | just in PkgConfigBR added Qt5Positioning and in requires qt5-qtdeclarative-import-positioning and qt5-qtpositioning | 13:26 |
coderus | i solved my problem, it was just not clean here :D | 13:27 |
Juhi24 | Thanks again cuderus, this solved it! | 13:31 |
*** phaeron has quit IRC | 13:31 | |
raven24 | hi there, maybe more people are awake at this hour... ;) | 13:32 |
raven24 | is there a recommended way to populate the sdk VM with contacts/ sms messages/ call history ? | 13:32 |
*** ezech has joined #sailfishos | 13:35 | |
ezech | hello | 13:35 |
*** Kabouik has joined #sailfishos | 13:36 | |
coderus | raven24: tried using vpl files? | 13:39 |
raven24 | coderus: could you point me somewhere I can read up on that? | 13:39 |
*** _miqu_ has joined #sailfishos | 13:41 | |
*** ericcc_ has quit IRC | 13:44 | |
*** louisdk has joined #sailfishos | 13:44 | |
coderus | just try xdg-open file.vpl | 13:46 |
coderus | i didnt tried, just suggesting | 13:46 |
raven24 | ok thanks, I'll try | 13:49 |
*** raa70 has joined #sailfishos | 13:51 | |
*** fuz_ has quit IRC | 13:55 | |
*** Andy80 has quit IRC | 14:00 | |
*** Andy80 has joined #sailfishos | 14:00 | |
*** fuz_ has joined #sailfishos | 14:01 | |
*** Sfiet_Konstantin has joined #sailfishos | 14:03 | |
*** zhxt has joined #sailfishos | 14:03 | |
*** Andy80 has quit IRC | 14:05 | |
*** Morpog_Mobile has quit IRC | 14:05 | |
*** Andy80 has joined #sailfishos | 14:08 | |
artemma | Oups, import QtDocGallery is not allowed. Really? | 14:10 |
artemma | So I am supposed to still use it, but on C++ side? | 14:10 |
*** narchie_ is now known as narchie | 14:11 | |
coderus | only inoirt not allowed, not library, you sure? | 14:11 |
coderus | import* | 14:11 |
*** vitronic__ has joined #sailfishos | 14:12 | |
artemma | no, not sure. Checking where it's implemented.. | 14:12 |
*** _miqu_ has quit IRC | 14:15 | |
artemma | I can of course just read file names in the pictures location, but that's more low level and would skip e.g. photos on SD card | 14:15 |
*** vitronic_ has quit IRC | 14:16 | |
artemma | mediagallery example seems to link to sailfishapp stuff only | 14:16 |
*** gabriel9 has quit IRC | 14:18 | |
*** gabriel9 has joined #sailfishos | 14:18 | |
*** Juhi24 has quit IRC | 14:20 | |
*** Morpog_Mobile has joined #sailfishos | 14:20 | |
artemma | qt5-qtdocgallery must be it, can't quite google references to it on the web, but nothing like this seems to be allowed to link to anyway :/ | 14:22 |
artemma | So basically we are not allowed to make alternative photo gallery viewers without hacks for now? :/ | 14:23 |
artemma | okay I can use standard paths for getting a list of pictures at a standard path. Is there a way to get picture files on SD card (or elsewhere)? | 14:27 |
artemma | maybe a global file search could help.. | 14:27 |
*** KangOl has quit IRC | 14:29 | |
*** krabador has joined #sailfishos | 14:32 | |
artemma | On the other hand I know that QtDocGallery is present on device for sure (used by built-in Pictures), then maybe I could just hack the QML import so that it could suite harbour check scripts | 14:32 |
artemma | that'd be breaking the checks intentions though | 14:32 |
jpnurmi | artemma: the store doesn't allow importing what an example does? have you asked them about it? maybe it's just an oversight | 14:34 |
artemma | I just discovered it half an hour ago | 14:35 |
artemma | jpnurmi: media gallery example uses import QtDocGallery 5.0 and import org.nemomobile.thumbnailer 1.0 | 14:35 |
artemma | both are not in the list of allowed QML imports | 14:35 |
jpnurmi | how did you discover it's not "allowed"? | 14:36 |
*** Korthes has joined #sailfishos | 14:36 | |
Venemo | jpnurmi: there is a list of allowed imports on the harbour website | 14:36 |
artemma | jpnurmi: By reading through the not-so-long list of allowed ones :) https://harbour.jolla.com/faq | 14:36 |
artemma | jpnurmi: search for "import" on that page | 14:37 |
jpnurmi | ah | 14:37 |
Elessar | ooups | 14:37 |
Elessar | It's not possible to use Instantiator inside PullDownMenu? | 14:38 |
artemma | I understand the reasons, but it sort'a sucks not being able to fetch all user pictures | 14:38 |
artemma | For now I'll probably read filenames from standard pictures location and forget about sdcard images | 14:38 |
artemma | oh maybe I could ship an own copy of a plugin together with my app.. hmm | 14:39 |
*** inffy has left #sailfishos | 14:40 | |
jpnurmi | artemma: or just register the types into your apps own import | 14:40 |
artemma | it would be cool if somebody skilled could actually make an example of shipping a plugin such as this one with your app | 14:40 |
artemma | jpnurmi: I know how to register my own classes for QML, but (re)registering classes defined in some external plugin? | 14:41 |
jpnurmi | artemma: just do this in your main(): https://qt.gitorious.org/qt/qtdocgallery/source/b3803fe8217e85de7c2c7bc4d4fb61df5f84521b:src/imports/gallery/qdeclarativegallery.cpp#L61 but to a uri prefixed with your app name, which is allowed according to that faq | 14:41 |
artemma | I'll need to get class definition to c++ somehow and it should somehow be linked to implementation | 14:41 |
artemma | reading.. | 14:41 |
*** Pat_o has joined #sailfishos | 14:42 | |
jpnurmi | i would ask them first, though... before doing any ultimate hacks :) | 14:42 |
artemma | I don't quite get how compiler will connect QDeclarativeDocumentGallery to actual implementation. Don't I need to actually link to plugin then? | 14:44 |
artemma | jpnurmi: I'll ask in a mailing list, maybe it helps | 14:44 |
*** Andy80 has quit IRC | 14:45 | |
*** Andy80 has joined #sailfishos | 14:46 | |
*** louisdk has quit IRC | 14:48 | |
artemma | I can of course just build the whole document gallery as a part of my app | 14:49 |
*** Andy80 has quit IRC | 14:50 | |
*** gabriel9 has quit IRC | 14:52 | |
*** gabriel9 has joined #sailfishos | 14:53 | |
*** louisdk has joined #sailfishos | 14:56 | |
*** wellumakinen has joined #sailfishos | 14:56 | |
Venemo | artemma: my app uses QtDocGallery and nobody noticed and it went into the harbour :P | 14:57 |
*** promulo has joined #sailfishos | 14:57 | |
wellumakinen | is there any kind of persistent storage exposed to QML in SailfishOS? | 14:57 |
wellumakinen | for storing e.g app settings in easy way | 14:58 |
artemma | Venemo: interesting. Was it maybe shipped before new harbour rules? | 14:58 |
artemma | wellumakinen: I use localstorage | 14:58 |
wellumakinen | ah, of course :) | 14:58 |
wellumakinen | I always forget we're in JS environment... Was about to create my own QML wrapper on top of QSettings. | 14:59 |
Venemo | artemma: no. I guess that they didn't verify my QML files because they are embedded in the executable | 14:59 |
wellumakinen | ..damn... too easy. | 14:59 |
artemma | wellumakinen: I think there is such a wrapper somewhere already.. maybe I've seen it in some nemo project | 15:00 |
artemma | Venemo: you mean qrc? | 15:00 |
Venemo | artemma: yes | 15:00 |
wellumakinen | artemma: http://developer.nokia.com/Community/Wiki/Using_QSettings_in_QML_with_also_json_and_XML_support | 15:00 |
Venemo | artemma: but this is just a guess | 15:00 |
wellumakinen | it is trivial to create one | 15:00 |
artemma | hmm. Maybe I need to try qrc way then.. | 15:00 |
wellumakinen | but localstorage is more that adequate as my logic is already in 100% JS. | 15:01 |
artemma | Venemo: well, what I saw from harbour logs (and looked like a script output) it looks like script go through all the files in the package. Maybe it doesn't know how to dive into qrc | 15:01 |
wellumakinen | don't want to "poison" my code with C++ | 15:01 |
artemma | wellumakinen: I use variations of this for a couple of years already: https://github.com/amarchen/Wikipedia/blob/master/src/qml/components/DbDictionary.qml | 15:01 |
Venemo | wellumakinen: poison with c++? that's funny :) | 15:01 |
artemma | nowadays I would have probably started with wrapping QSettings though | 15:01 |
wellumakinen | I did the wrapping in N9 days on QSettings. Very easy... but storing couple of switch states is not worth using C++ | 15:03 |
artemma | Venemo: yeah, hiding in QRC could be a solution. You didn't need to link to anything more than just sailfishapp, correct? | 15:03 |
Venemo | artemma: sailfishapp was very dubious last time I checked, and I want platform-independent code, so I decided not to use it | 15:04 |
artemma | Venemo: I am trying to understand if I'll still need to link to something not allowed | 15:04 |
Venemo | artemma: using a QML module doesn't need linking | 15:05 |
* artemma never tried QRC before except for short Necessitas trial years ago. Any sailfish-ready public example exists somewhere? | 15:05 | |
Venemo | artemma: in any case, you can always take a glance at my code here: https://github.com/Venemo/puzzle-master | 15:06 |
artemma | Venemo: cool, thanks! | 15:06 |
artemma | nice game BTW, I played it :) | 15:06 |
Venemo | artemma: thank you! | 15:06 |
Venemo | artemma: it tries to be as non-platform-specific as possible, the same source tree works on BB10, PlayBook, Maemo5, Harmattan, SailFish, Symbian and of course the desktop | 15:07 |
Venemo | artemma: so there is a lot of ifdefs and platform-specific configuration in some places | 15:08 |
artemma | yeah.. | 15:08 |
Venemo | but I generally try to limit those to maybe one or two cpp files and the pro file | 15:08 |
Venemo | the rest works equally well for all platforms | 15:09 |
artemma | well, will try to parse. For now I am only into figuring out the qrc way for sailfish for hiding qmls inside | 15:09 |
Venemo | artemma: qrc works the same way for all platforms and it's not "hiding" | 15:09 |
Venemo | it's protecting your qml files | 15:09 |
artemma | Venemo: hiding from harbour checking script :) | 15:09 |
Venemo | no, protecting from users who don't know what they're doing | 15:10 |
Venemo | also, for most platforms it would've been extremely painful to distribute the QMLs otherwise | 15:10 |
*** KangOl has joined #sailfishos | 15:11 | |
artemma | I understand. Yet in my case that would only be for hiding from the checking script | 15:12 |
Venemo | okay | 15:13 |
*** Andy80 has joined #sailfishos | 15:13 | |
artemma | tried building puzzle-master from IDE: virtual memory exhausted: Cannot allocate memory :) | 15:14 |
artemma | Venemo: I can't see yaml/spec files. How do you prepare final package for the harbour? | 15:15 |
*** KangOl has quit IRC | 15:15 | |
*** Juhi24 has joined #sailfishos | 15:15 | |
*** Guest72432 has quit IRC | 15:16 | |
*** Mikaela has joined #sailfishos | 15:16 | |
*** Andy80 has quit IRC | 15:16 | |
*** zhxt has quit IRC | 15:17 | |
artemma | you also use import net.venemo.puzzlemaster 2.0 quite a lot. Yeah, harbour checking script would have killed it if it was able to notice | 15:17 |
Venemo | artemma: nope | 15:18 |
Venemo | artemma: net.venemo.puzzlemaster is specific to the app, and exported in my main.cpp | 15:18 |
Venemo | artemma: I don't like to keep packaging in the same repo as the app, but I can give you the spec if you want | 15:19 |
MSameer | artemma: check that the pipeline I gave you a few days ago works with the recently released update | 15:20 |
*** Andy80 has joined #sailfishos | 15:21 | |
Morpog_ | I heard that android flashlight apps work now | 15:21 |
MSameer | it should work but have not tried | 15:21 |
MSameer | i am on vacation with a not so good connection so I haven't checked | 15:22 |
artemma | MSameer: oh! I didn't expect it to be already in this update. Will check now | 15:22 |
artemma | MSameer: works just fine! | 15:23 |
artemma | cool | 15:23 |
MSameer | artemma: there you go :) | 15:23 |
artemma | MSameer: except that gstreamer is not within the allowed libs in harbour.. | 15:24 |
lbt | Venemo: I could be wrong but I think the new rules for harbour will make imports whitelisted and force them to be preceded with harbour-appname | 15:24 |
artemma | So I'll need to learn how to package libs or build gstreamer as a part of my project. Oh well, earlier or later that had to be learnt | 15:24 |
artemma | MSameer: do you know if variating intensity is also possible? | 15:25 |
Venemo | lbt: that's for imports that you install on the device | 15:25 |
Venemo | lbt: my imports are not installed as QML plugins, they are just part of the app | 15:25 |
lbt | ok | 15:25 |
Venemo | the rules say that if I were to install them as global QML plugins, I would need to prefix their names with harbour | 15:26 |
artemma | Venemo: I think they are reading the rules differently, but sure I don't mind that your app goes through | 15:28 |
Venemo | artemma: well, it doesn't make sense any other way | 15:29 |
artemma | Can I use QML modules, which I ship together with the application? | 15:29 |
artemma | Yes, you can do that. But you have to prefix the name of the imports with your $NAME, but with "-" replaced with "." due to QML grammar rules (e.g. harbour.myapp.myQmlObject | 15:29 |
artemma | I seem to remember that I've got a rejection for my own imports one day. With plugin declared inside my app and used inside my app | 15:29 |
Venemo | imagine this: you want to publish an app to Jolla store and Xyz store. let's assume Jolla wants you to prefix your stuff with "harbour-" and Xyz wants you to prefix them with "blahblah-" | 15:30 |
Venemo | then it's impossible to have something that works in both places | 15:30 |
artemma | Venemo: to my understanding current solution is not the good thought through one, but rather a quickfix | 15:30 |
Venemo | so the only way these rules make sense is if they're only applicable to modules that you put to a global place | 15:30 |
artemma | Venemo: I don't mind at all following your definition of the rules and hope it will be like that one day. Yet it's not the current situation me thinks | 15:31 |
Venemo | otherwise, it's total nonsense | 15:31 |
*** Elessar has quit IRC | 15:34 | |
Venemo | artemma: this is not "my definition" - this is the only way it makes sense | 15:35 |
artemma | Venemo: to my understanding current rules are an overreaction to the danger that devs will use unstable QML plugins found in the internals of Sailfish. So they just scan QMLs leaving only whitelisted imports | 15:35 |
Venemo | of course I could write a shell script and 'sed' all my imports and qmlRegisterType()s but... what sense would that make? | 15:36 |
artemma | Venemo: I am following not what makes sense, but what's written in FAQ :) https://harbour.jolla.com/faq | 15:36 |
artemma | I suffered too, had to workaround to import harbour.myapp.Mixpanel 1.0 and had to move that module around | 15:36 |
Venemo | artemma: maybe we just interpret it differently | 15:36 |
Venemo | you see the place where it mentions this rule is: "Can I use QML modules, which I ship together with the application?" | 15:37 |
Venemo | I do not _ship_ these modules _together_ with the application, the are _in_ the application | 15:37 |
Venemo | they are not even modules | 15:38 |
Venemo | they are just a bunch of qml registers | 15:38 |
Venemo | a QML module is a bunch of QML files and a qmldir, or optionally a .so file - so whatever's in my app is not a QML module | 15:38 |
coderus | any Jolla dev here? | 15:39 |
MSameer | artemma: sorry my laptop decided to shut down due to over heating | 15:39 |
MSameer | artemma: intensity is not supported :/ | 15:39 |
artemma | How do I explore sailfish repositories? Any command line for it? I want to understand what exactly PKGCONFIG += gstreamer-0.10 includes and fetch built libraries somehow for shipping with my app | 15:40 |
Stskeeps | artemma: zypper's probably the best tool | 15:40 |
artemma | Or would it be simpler to compile gsteamer as a part of my app | 15:40 |
artemma | ? | 15:41 |
Morpog_ | coderus, I see already 2 writing in here :D | 15:41 |
coderus | i just want to know is lipstick popup (topmost) notifications are based on QML code or not? | 15:41 |
* artemma wonders how he will revert his device to sane state after the experiments. Not a fan of factory resets | 15:42 | |
Venemo | artemma: are you familiar with pkgconfig otherwise? | 15:42 |
artemma | coderus: somebody told they are kde notifications | 15:42 |
lbt | artemma: it's a btrfs snapshot restore if that makes you feel better :) | 15:42 |
coderus | artemma: kde which version? latest using QML code | 15:43 |
Venemo | coderus: I'd bet they are, but of course am not sure - the jolla homescreen is not open | 15:43 |
artemma | If I want to use gstreamer , I need to use both gstreamer and gstreamer-deve packages, correct? | 15:43 |
Venemo | artemma: your build will require the devel package but your app itself will just require the regular package | 15:43 |
artemma | Venemo: thanks | 15:44 |
Venemo | artemma: are you familiar with what pkgconfig is, in general? | 15:44 |
* artemma doesn't really understand all these packaging things, heh.. will need to identify propr ARMv7 library(ies), fetch them somehow and ship with the app | 15:44 | |
* lbt wonders what a graph of global-btrfs-snapshot-reset-count against time looks like - I suspect the jolla updates would be visible :) | 15:45 | |
artemma | Venemo: a little, mostly on copy-pasting basis | 15:45 |
lbt | artemma: the -devel packages are needed at build time as they provide .h files | 15:45 |
artemma | Okay, say there is a package "gstreamer". How do I see which files it includes? | 15:45 |
lbt | rpm -ql | 15:45 |
artemma | without installing it prefeably | 15:45 |
lbt | ah | 15:45 |
artemma | oh well, I can install to emulator | 15:46 |
Venemo | artemma: basically pkg-config is a distribution-independent tool for making it easier to work with shared libraries | 15:46 |
artemma | shall I do it with pkcon or zypper or who cares? | 15:46 |
artemma | trying zypper | 15:47 |
Venemo | artemma: any library has two packages: 1) the library itself 2) the devel package - the library is needed by apps that use it and the devel package is only needed if you want to compile such apps. | 15:47 |
artemma | ah, gstreamer already installed, of course! :) | 15:47 |
Venemo | artemma: what pkg-config does is simplify the necessary compiler flags that you need when linking to a library | 15:47 |
artemma | I only need to ship a copy of it with my app | 15:47 |
artemma | Venemo: thanks | 15:48 |
coderus | ping | 15:48 |
coderus | oh, my connection so weak ~.~ | 15:48 |
Venemo | artemma: so, each devel package places a file in a place like /usr/lib/pkgconfig/ (or /usr/lib64/pkgconfig/ on x86_64) | 15:48 |
Venemo | artemma: that file helps determine what exactly is needed by the app that wants to use the library | 15:49 |
*** Zotan has joined #sailfishos | 15:49 | |
artemma | Venemo: my issue is mre specific, I need to somehow ship a copy of libraries with my app. It looks like whole gstreamer stuff is located at /usr/lib/gstreamer-0.10/lib | 15:49 |
*** cvp has joined #sailfishos | 15:49 | |
Venemo | artemma: that sounds pretty insane - what are you trying to do? | 15:49 |
cvp | hello | 15:50 |
artemma | so I can probably just copy some/all libs to a proper folder as faq asks, and then figure out what RPATH is and how to use it | 15:50 |
MSameer | artemma: or try to fool store by using dlopen ? :p | 15:50 |
artemma | Venemo: that's about faq again :) You are allowed to link only to a set of whitelisted libs. Gstreamer not included. Any other libs you need to ship with your app | 15:50 |
Venemo | artemma: I would ask them to whitelist gstreamer | 15:51 |
Venemo | there is no point in not doing it | 15:51 |
MSameer | you will also need resource policy support which is not whitelisted too | 15:51 |
MSameer | gstreamer will not be whitelisted now | 15:51 |
artemma | MSameer: dlopen is possible, but… that would go against store check purpose. Everything will stop working if they update gstreamer | 15:51 |
cvp | XMPP.... is it possible to add a room ? | 15:51 |
MSameer | we are planning to upgrade to gstreamer 1.x so there is no point in whitelisting gstreamer 0.10 which we will throw away soon | 15:52 |
artemma | Venemo: somebody from Jolla was giving some reasons for blacklisting gstreamer. Something like they were going to upgrade first | 15:52 |
Venemo | there are always excuses | 15:52 |
artemma | MSameer: resource policy? Oh.. one more thing to learn | 15:52 |
MSameer | i hate the store restrictions as much as you guys hate them | 15:53 |
Venemo | here's how Fedora does it: they include both gstreamer 0.10 and gstreamer 1 with different package names, so they can coexist on the same system | 15:53 |
MSameer | Venemo: it's about supporting them too | 15:53 |
artemma | MSameer: you mean something meego style - http://harmattan-dev.nokia.com/docs/library/html/libresourceqt/main.html ? | 15:53 |
MSameer | so if gstreamer 0.10 breaks, we will not fix it once we update to 1.x | 15:54 |
MSameer | artemma: yes | 15:54 |
MSameer | Venemo: and the phone has limited storage so we can not bundle everything | 15:54 |
* artemma was working with gstreamer and Qt in the past a bit. Just creating a pipeline was relatively easy | 15:55 | |
MSameer | i eat gstreamer for breakfast :p | 15:55 |
artemma | MSameer: so that's yet more library to link to and use? | 15:55 |
MSameer | artemma: yes | 15:55 |
* artemma starts thinking about starting the invisible shell for running a pipeline | 15:56 | |
MSameer | qtmultimedia handles this for you but what can I do if you are in a hurry ;) | 15:56 |
lbt | wrt store rule : MSameer: Venemo ... I've begun the process of a community repo. tbr is helping out too | 15:57 |
*** KangOl has joined #sailfishos | 15:57 | |
artemma | Well, I want to create a flashlight and being first motivates me, so I am eager to go an extra mile. trying to understand if it's an extra mile or extra dozen miles | 15:57 |
MSameer | lbt: there is already openrepos | 15:57 |
MSameer | how can a jolla sailor rant about jolla policies without feeling bad ? :/ | 15:58 |
lbt | community is more than just a set of random rpms - community QA in particular | 15:58 |
coderus | and openrepos client for sailfish is under developing :) | 15:58 |
Venemo | well, I'll just keep my opinions to myself, about these store rules | 15:58 |
coderus | lbt: rating and comments is best QA | 15:59 |
Juhi24 | Problem: Can't ssh to my Jolla. Developer mode is on, ssh is on, device is connected via usb, dev mode chosen as connection type. trying ssh trough IDE or from commandline gives no answer whatsoever. Everything is up to date. Anyone with similar problems? | 15:59 |
lbt | MSameer: because there's a gap between personal goals and commercial capabilities :) | 15:59 |
coderus | Juhi24: what os on your pc? | 15:59 |
lbt | coderus: yes - but code visibility matters to some of us too | 15:59 |
Juhi24 | Fedora 19, also tried through wlan with my N900 | 15:59 |
lbt | and pre-approval QA | 16:00 |
coderus | lbt: well, there are meta-repsitories support | 16:00 |
coderus | we can manage "Approved" repository and include here *approved* packages. its easy | 16:01 |
coderus | and if you really need you can enable any user repository and install any package | 16:01 |
coderus | Juhi24: is connection set up? both pc and phone have ip on usb0 ? | 16:02 |
MSameer | i am fine as long as there is a community repo of FOSS apps | 16:02 |
lbt | yep - welcome to the dark days of maemo :) | 16:02 |
MSameer | i prefer FOSS to closed apps for my usage | 16:02 |
coderus | Juhi24: try to ping both sides | 16:02 |
MSameer | but that's me being a FOSS fan | 16:02 |
lbt | many repos - dependency hell, conflicts, malware | 16:02 |
Venemo | I'd prefer a store with fewer restrictions than any other community repo or anything | 16:02 |
MSameer | Venemo: me too :/ | 16:03 |
lbt | Venemo: sure - and will you pay for the support issues? | 16:03 |
Venemo | you remember what a community repo meant in the old times | 16:03 |
lbt | or would you like us to do that? | 16:03 |
Venemo | if you have a community repo, nobody will submit apps to the official channels anymore - and why would they, if the barrier of entry is lower for the community repo | 16:03 |
lbt | Venemo: yes - maemo extras | 16:03 |
lbt | Venemo: thats' fine | 16:04 |
Venemo | and then basically every user guide for jolla would start with "enable the community repo by enabling developer mode and blah-blah" | 16:04 |
lbt | yep | 16:04 |
Venemo | which is not fine | 16:04 |
lbt | why? | 16:04 |
Venemo | because it's bad for the average user | 16:04 |
lbt | average users don't read that kind of guide | 16:05 |
lbt | and the commercial opportunities in a store would keep interest up | 16:05 |
Venemo | what commercial opportunities are there? | 16:06 |
Pnuu | average users won't buy the device, if there's no software for it | 16:06 |
lbt | Venemo: none .... yet | 16:06 |
Pnuu | "oh, there's no software in the Store, bah, I'll buy android phone instead" | 16:06 |
lbt | I'm very keen to establish a mechanism to allow commercial opportunities for OSS too | 16:06 |
*** Kabouik_ has joined #sailfishos | 16:06 | |
Venemo | in any case, I'd vote for making the store better, and involve the co-creation spirit in there too | 16:06 |
lbt | Venemo: that would be nice and I would support that too | 16:06 |
*** artemma has quit IRC | 16:07 | |
Venemo | also, speaking of old versions of libraries and whether to allow linking to them: let's look at how maemo solved this problem | 16:07 |
Venemo | can we use their solution? | 16:07 |
*** rcg has joined #sailfishos | 16:07 | |
lbt | how? | 16:07 |
Venemo | I'm not sure, wasn't involved there that much | 16:08 |
rcg | evening | 16:08 |
*** Kabouik has quit IRC | 16:08 | |
lbt | Venemo: http://mer-l-in.blogspot.co.uk/2011/01/meego-community-development-apps.html | 16:08 |
Juhi24 | coderus: on both devices ifconfig usb0 gives 'usb0: error fetching interface information: Device not found' how do i verify usb ip? | 16:09 |
Venemo | I can imagine it like this: upon upgrade, a messagebox would pop up and tell the user that application X is incompatible with the new version and therefore will be deleted after the upgrade | 16:09 |
MSameer | Venemo: so you are suggesting to use maemo approach which is not known ? | 16:09 |
lbt | Venemo: notice how short that article is | 16:09 |
lbt | for such a simple subject :) | 16:09 |
MSameer | Venemo: the solution to old libraries is via contributing updated versions to mer/nemo | 16:09 |
Venemo | this is not a simple subject | 16:09 |
*** artemma has joined #sailfishos | 16:09 | |
lbt | Venemo: would you care to read it ? I put a lot of thought in and not a huge amount has changed | 16:10 |
Venemo | lbt: sure, I'm reading it | 16:10 |
lbt | MSameer: yes, that's a new aspect | 16:10 |
MSameer | lbt: i prefer supporting openrepos because the repos and infra is there | 16:10 |
Venemo | in any case, I'd vote against any "community repo" and 'd vote in favour of enhancing the official channels to be good enough for the community too | 16:10 |
Juhi24 | coderus: also from the connections UI I see that by default Fedora tries to connect USB Ethernet but is stuck at "connecting" | 16:11 |
*** krabador has quit IRC | 16:11 | |
Venemo | Juhi24: what're you doing? | 16:11 |
lbt | MSameer: sure - except that Mer community OBS has been around a lot longer than openrepos | 16:12 |
Juhi24 | Venemo: Just trying to connect to my Jolla from Sailfish IDE. Theres always a timeout. Can't seem to ssh | 16:12 |
Venemo | Juhi24: via usb networking or via wifi? | 16:13 |
Juhi24 | Tried both but Jolla doesn't respond | 16:13 |
MSameer | lbt: it's not about who was there first. it's about who has the momentum | 16:13 |
*** Andy80 has quit IRC | 16:14 | |
*** Andy80 has joined #sailfishos | 16:14 | |
lbt | MSameer: sure. But when people don't even try to support long established setups it can get a bit wearing | 16:15 |
MSameer | lbt: no it's not because people choose what they are more familiar with | 16:16 |
coderus | Juhi24: it can be usb1 or other. check ifconfig | 16:16 |
MSameer | lbt: beside, people will use nemo community obs to build apps and those apps get submitted to open repos somehow | 16:16 |
MSameer | lbt: so the rpm packages which people upload to open repos will be built via obs and transferred automatically | 16:17 |
MSameer | lbt: that's how I see it | 16:17 |
lbt | what nemo community OBS ? | 16:17 |
MSameer | lbt: I mean Mer community OBS | 16:18 |
Venemo | Juhi24: is dev mode enabled? | 16:18 |
Juhi24 | coderus, Venemo: ok weird now pings through wlan and i can ssh that way. for some reason on Jolla the connection with the usb ip is called rndis0. | 16:19 |
Venemo | lbt: nice blog post | 16:19 |
*** Andy80 has quit IRC | 16:19 | |
Venemo | lbt: yes, it's not an easy problem. but I'm sure the community can come up with a good solution that'll suit everyone | 16:20 |
lbt | MSameer: the one that costs many £00s per month to run you mean? and that I need to manage sponsorship to run? | 16:20 |
Venemo | lbt: if the good solution is that everyone will bundle every library with every app, then so be it! | 16:20 |
MSameer | lbt: aren't you the guy who allowed building sailfish apps using that OBS? | 16:21 |
lbt | Venemo: yep - I'd think the solution is to specify isolated lib roots | 16:21 |
MSameer | lbt: and planning to have a community repos? | 16:21 |
lbt | MSameer: yes | 16:21 |
lbt | yes | 16:21 |
Juhi24 | coderus, Venemo: Thanks guys. Don't know what's wrong with ssh over usb, but I think I'll stick with wlan for now since it started working finally somehow. | 16:21 |
MSameer | lbt: so a community repos costs more | 16:21 |
lbt | ? | 16:21 |
MSameer | lbt: what I am suggesting will decrease the costs because it will use openrepos | 16:21 |
MSameer | so cose cobs + cost community repos > cost cobs + cost openrepos | 16:22 |
Venemo | lbt: on the other hand, it's also a solution to package binary incompatible versions of libraries as different packages and then everyone could depend on the version they need | 16:22 |
lbt | MSameer: actually the 'cost' of openrepos is very low. But as you say it's the popular site. Which doesn't help from a sponsor PoV | 16:22 |
lbt | Venemo: well, I'm thinking of a collection of 'released' libs | 16:23 |
Venemo | like, Fedora has a package called "gstreamer" and another called "gstreamer1" - same goes for gtk and other stuff | 16:23 |
lbt | *nod* | 16:23 |
MSameer | lbt: you don't get it. I might use cobs for building and then upload via open repos because it's already established ;) | 16:23 |
Venemo | in any case, I suggest to push as many apps through the official channels as possible | 16:24 |
lbt | MSameer: right ... and what's the 'popular' site? the one that gets the attention? | 16:24 |
Venemo | even though I believe in quality vs. quantity, Jolla does need the numbers | 16:24 |
*** CandyCoder has joined #sailfishos | 16:24 | |
lbt | Venemo: I do agree with you | 16:24 |
lbt | Venemo: however I want to establish a mechanism to explore the boundaries | 16:24 |
lbt | what apps *could* we have if the rules were not there | 16:25 |
lbt | if we can show these to Jolla (ourselves) then it helps to be more definite in discussions | 16:25 |
MSameer | lbt: it is already there and being used | 16:25 |
Venemo | lbt: sure, I understand your concerns too. | 16:25 |
lbt | it may also help to co-create the rules | 16:25 |
*** CoderCandy has quit IRC | 16:25 | |
*** CandyCoder is now known as CoderCandy | 16:25 | |
*** CoderCandy has joined #sailfishos | 16:25 | |
lbt | eg we may find issues in a relatively safe environment (ie high technical knowledge) | 16:26 |
lbt | Venemo: so I see the community repo aspect of this as being a way to feed ideas into the store | 16:27 |
lbt | MSameer: I would be happy to find ways to collaborate with openrepos | 16:27 |
Venemo | lbt: yes, but once it's a community repo and it's full of apps, nobody will feel like pushing all that to any official channel | 16:28 |
Venemo | see what happened to apps4meego | 16:31 |
*** KangOl has quit IRC | 16:31 | |
Venemo | or how many people put anything to fremantle ovi store? 0? | 16:31 |
Venemo | and +1 to Pnuu | 16:32 |
*** ottulo has joined #sailfishos | 16:34 | |
*** _miqu_ has joined #sailfishos | 16:37 | |
lbt | Venemo: apps4meego became the jolla store I think :) | 16:41 |
suy | The SDK is fooling me. Is running a version of the application that is old. I'm checking out the first revision of my repo, where I started with the template, and in the phone emulator I see my app... :-/ | 16:42 |
Venemo | lbt: I meant the relationship between apps4meego and ovi store | 16:43 |
suy | How should I check what's going on? | 16:43 |
Elleo | Venemo: yeah, after a fairly painless experience getting stuff into community stores it could be rather disheartening then having to deal with Nokia's QA teams | 16:43 |
Venemo | there were dozens of apps that didn't care to go to nokia store at all | 16:43 |
*** Andy80 has joined #sailfishos | 16:43 | |
Elleo | I had to setup a completely new website to make the Nokia QA happy because I mentioned Apps4MeeGo on my blog (which is where I put most information about my apps) | 16:44 |
Elleo | and they then considered it to be advertising a rival store | 16:45 |
Elleo | so I suspect there wouldn't be as much of a problem if the Jolla store process isn't a lot more hassle than the community process | 16:45 |
Venemo | don't even mention it | 16:45 |
Venemo | I uploaded a version of my app to TMO and wrote it's gonna be downloadable from there until it gets into the store | 16:46 |
Venemo | the store rejected the TMO thread as website because "it offered the app for download" lol | 16:46 |
Elleo | heh | 16:46 |
*** Kabouik_ has quit IRC | 16:48 | |
*** Kabouik has joined #sailfishos | 16:49 | |
walokra | great way to encourage devs to make apps | 16:51 |
walokra | will see when I get my imgur app finished enough to try jolla store | 16:51 |
* lbt thinks we're unlikely to have those issues :) | 16:52 | |
lbt | I'm currently battlng with qml property scope :( | 16:53 |
*** Pat_o has quit IRC | 16:53 | |
*** Kabouik_ has joined #sailfishos | 16:54 | |
*** AlmAck has quit IRC | 16:55 | |
*** Kabouik has quit IRC | 16:57 | |
MSameer | lbt: need help? | 16:58 |
lbt | yeah :) | 16:58 |
lbt | I'll do a pastie | 16:58 |
rcg | well, personally, i am right now more battling the "allowed libraries to link against" barrier | 16:59 |
rcg | but i already sent a request to the mailing list and am hopeful that the required libs may get added | 17:00 |
*** artemma has quit IRC | 17:01 | |
Elleo | rcg: my current approach is just to bundle the libraries I need in the rpm and set the rpath at compile time | 17:01 |
Elleo | although it'd be nice if more common things were available, like the various crypto things you mentioned on the list | 17:01 |
rcg | Elleo, yeah, but on one hand that's additional overhead where it simply wouldn't be needed | 17:01 |
Elleo | I *think* that approach should be okay with the store, but I haven't submitted anything yet, so can't say for sure | 17:02 |
Elleo | yeah | 17:02 |
*** cvp has quit IRC | 17:02 | |
*** c0ck4m0u53 has joined #sailfishos | 17:02 | |
rcg | on the other hand, I also have a case where even the depending libs are not allowed.. so I am afraid of running into a dependency hell | 17:02 |
lbt | MSameer: http://pastie.org/8582874 | 17:03 |
lbt | the problem is passing hostname into the Ssh component | 17:03 |
lbt | I've tried a few things and this is how it looks now | 17:04 |
*** green_dev has joined #sailfishos | 17:04 | |
rcg | Elleo, an I don't know if passing rpath to the main executable will propagate downwards along the dependency chain of individual libs | 17:05 |
*** datagutt has joined #sailfishos | 17:05 | |
rcg | Elleo, so, in the worst case this would require me to rebuilt the dependencies with adapted rpath set as well... | 17:05 |
lbt | LD_LIBRARY_PATH ? | 17:06 |
*** mfulz has joined #sailfishos | 17:07 | |
green_dev | hello...any fellow devs here? | 17:07 |
*** Elessar has joined #sailfishos | 17:07 | |
rcg | lbt, would it be sufficient to set LD_LIBRARY_PATH from withing the executable, say in main on start? | 17:08 |
lbt | I doubt it | 17:08 |
coderus | Mitakuuluu updated to v0.1-7. Great UI Update, Many fixies, blah-blah. https://openrepos.net/content/coderus/mitakuuluu | 17:08 |
lbt | the linker reads it | 17:08 |
Elleo | rcg: yeah, not certain about that; thp advised against using LD_LIBRARY_PATH although I'm not certain why (I know the UT launcher doesn't handle it well within .desktop files, but that does lots of wierd containment stuff as well) | 17:08 |
lbt | OTOH I bet exec($0) would work :) | 17:08 |
green_dev | Anyone who could help me with some licensing stuff? | 17:08 |
rcg | lbt, hmm, so how would I pass LD_LIBRARY_PATH via the desktop file? | 17:08 |
*** artemma has joined #sailfishos | 17:09 | |
Elleo | rcg: apparently in the future /usr/share/appname/lib/ will be automatically added to the LD_LIBRARY_PATH though | 17:09 |
lbt | rcg: it may be that we should set LD_LIBRARY_PATH to /usr/share/app/lib | 17:09 |
Elleo | lbt: yeah, that's thp's current plan | 17:09 |
*** gabriel9 has quit IRC | 17:09 | |
lbt | thp may have an idea ... | 17:09 |
lbt | :) | 17:09 |
rcg | Elleo, lbt that would make sense | 17:09 |
rcg | but i'd prefer to be able to use the libs that ship with sailfish anyhow :) | 17:10 |
lbt | rcg: I'd like to have something like QML's import thing | 17:10 |
rcg | lbt, ? | 17:10 |
lbt | which basically says "add sailfish libs for version X to my LD_LIB_PATH" | 17:10 |
rcg | ic | 17:11 |
lbt | may cause too much bloat | 17:11 |
lbt | and I just can't see it in this first version of SOS | 17:11 |
green_dev | Sorry for interrupting...I'm pretty new to all of this. Is this the right place for connecting with other developers? | 17:11 |
lbt | green_dev: yep welcome | 17:11 |
Elleo | green_dev: yep :) | 17:11 |
rcg | green_dev, it is :) | 17:12 |
green_dev | ah good, thanks | 17:12 |
green_dev | I was wondering about the open source licenses... | 17:12 |
lbt | we have lots | 17:12 |
green_dev | ...when you create a new Sailfish Qt Quick Application in the Sailfish IDE | 17:12 |
green_dev | it automatically puts a BSD license in the header | 17:12 |
Elleo | ah, yeah, someone else was upset about that | 17:13 |
*** Juhi24 has quit IRC | 17:13 | |
rcg | lbt, Elleo well, i'll see what i'll do... just would be easier if i wouldn't have to bother about such hacks | 17:13 |
*** Juhi24 has joined #sailfishos | 17:13 | |
lbt | rcg: +10 | 17:13 |
lbt | green_dev: BSD isn't opensource as such | 17:13 |
green_dev | do I have to keep it there, or can I just add like an own MIT license? | 17:13 |
Elleo | green_dev: iirc thp wrote those examples, so it might be worth asking if he'd mind relicensing them be basically public domain or equivelant | 17:13 |
rcg | lbt, Elleo also thanks for the feedback :) | 17:13 |
Elleo | rcg: no worries :) | 17:13 |
Elleo | as its a bit restrictive having the templates enforcing a particular license | 17:14 |
Elleo | although it's not terrible difficult to just start from scratch once you've got the hang of everything | 17:14 |
Elleo | terribly* | 17:14 |
green_dev | Does this mean I have to keep the BSD license intact in all my apps? | 17:14 |
lbt | no | 17:14 |
lbt | those header files mainly prevent you from using the word "Jolla" in your app | 17:15 |
lbt | anyway - have you guys actually read the license? | 17:16 |
green_dev | Could I just use the Sailfish IDE template (which is basically "Hello world"), remove the BSD license text, make an app and put like an MIT-license on it? | 17:16 |
green_dev | I have read it, yes...but it says I have to "retain the above copyright notice" | 17:17 |
suy | green_dev: I am not a lawyer and all that, but I think that some of the templates are so minimal that you can look at them, and adjust to your liking a bit, and consider them a new work. | 17:18 |
*** lbt has quit IRC | 17:18 | |
*** lbt has joined #sailfishos | 17:19 | |
*** lbt has quit IRC | 17:19 | |
*** lbt has joined #sailfishos | 17:19 | |
suy | In Qt, they are trying to change their policies, so files with less than X lines of code don't require to have a copyright header. | 17:19 |
lbt | sorry, dropped | 17:19 |
green_dev | That's kinda what I was thinking too... | 17:19 |
green_dev | Because it's the basic template found in the IDE | 17:19 |
lbt | it doesn't mention aggregation; it says you can redistribute provided you have a copy of the license in some accompanying material; it says you can't use Jolla or any other contributor's name; that's pretty much it | 17:19 |
lbt | did someone comment that the license only applies to those files ? | 17:20 |
suy | lbt: http://pastie.org/8582924 | 17:20 |
lbt | ty | 17:20 |
*** KangOl has joined #sailfishos | 17:20 | |
lbt | so yes, I rewrite them | 17:20 |
*** SeekingFor has quit IRC | 17:21 | |
lbt | one thing that concerns us is that there are places where PD is not valid | 17:21 |
Elleo | dunno if CC0 is appropriate | 17:21 |
Elleo | that basically codifies public domain across different legal juristictions | 17:21 |
lbt | and if Jolla contributes code then someone can say things about "produced in partnership with Jolla" | 17:21 |
Elleo | but it's not explicitly targetted at source | 17:21 |
*** SeekingFor has joined #sailfishos | 17:22 | |
green_dev | So...would I have to keep the header intact if I use the IDE templates for my app? | 17:22 |
lbt | nb .. I've proposed that the SDK supports community templates | 17:22 |
lbt | green_dev: legally, yes | 17:22 |
lbt | if you learned how to do it and wrote all 5 lines yourself - no :) | 17:23 |
lbt | there may be a test! | 17:23 |
lbt | I'd like the QtC part of SDK to allow us to add the helloworld.pro templates as starting points | 17:24 |
lbt | and just update the templates from git to your desktop | 17:24 |
*** KangOl has quit IRC | 17:25 | |
lbt | that would completely remove all these issues and would enable a much more collaborative approach | 17:25 |
lbt | anyhow, green_dev: does that help resolve your question ? | 17:25 |
rcg | green_dev, that's my understanding as well.. this is just something that is so simple you just can program it on your own without having to worry about licensing | 17:25 |
rcg | in the end, it's just five lines, like instantiating two objects, setting a source, displaying the view and calling the event loop plus returning it's return value | 17:26 |
lbt | personally I would argue that the comments are the only things which are not Qt best practice anyhow | 17:26 |
Elleo | 79 out Jolla's 80 employees are all lawyers waiting to pounce on anyone who makes the slightest licensing mistake; that's their secret business model ;) | 17:26 |
green_dev | yeah...I would probably upload my apps to github with an open source license anyways | 17:26 |
green_dev | ...I was just a bit confused about the app template thingy | 17:27 |
suy | lbt: http://devdays.kdab.com/wp-content/uploads/2013/11/tobiashunger-extending-qtc.pdf In page 19 mentions something about extending that. It seems it can be done in a subdirectory. So a git repo would work! :) | 17:27 |
rcg | green_dev, i understand you, i also take all this licensing pretty serious and try to avoid mistakes wherever possible :) | 17:28 |
lbt | suy: nice | 17:28 |
jwalck | anyone here tried installing munin-node on sailfish (in my case, a Jolla)? | 17:28 |
green_dev | well...since I intend to make free apps in any case whatsoever, I guess I can just leave the BSD license tag on it... | 17:29 |
tbr | lbt: we'll have a chum packaging workshop tomorrow at 30C3 | 17:29 |
rcg | but as lbt said, we are talking about just 5 lines which are pretty much best practice and common knowledge anyhow | 17:29 |
tbr | so, finally content | 17:29 |
lbt | tbr: yay :) | 17:29 |
green_dev | anyways...thank you for clearing things up for me! | 17:29 |
lbt | tbr maybe see if http://mer-l-in.blogspot.co.uk/2011/01/meego-community-development-apps.html has anything of use nowadays - I think so | 17:30 |
tbr | *nod* thanks | 17:30 |
rcg | tbr, btw, how does the chum repo relate to harbour? i.e., what happens if i push something to chum and then later on the same app gets accepted in harbour? | 17:31 |
*** jjarven has quit IRC | 17:31 | |
lbt | tbr: one of the best bits about meego repos would have been community QA. I think we can do that with BOSS and some Ruby-on-rails stuff | 17:31 |
*** mk2soldier has joined #sailfishos | 17:32 | |
lbt | or django | 17:32 |
*** mk2soldier has left #sailfishos | 17:32 | |
*** mk2soldier has joined #sailfishos | 17:33 | |
lbt | anyhow... any QML property scope experts here? | 17:33 |
* lbt looks at suy | 17:33 | |
* suy is happy to look like an expert :P | 17:34 | |
lbt | *g* | 17:34 |
suy | lbt: is about the paste you shared before? | 17:34 |
lbt | it is | 17:34 |
lbt | line 54 and 56 use the 'hostname' property and work | 17:35 |
green_dev | the "helloworld-pro-sailfish" seems like a good template to begin with...the license isn't as...cumbersome | 17:35 |
lbt | green_dev: +1 | 17:35 |
lbt | suy: then the Ssh added as a child element should conceptually appear as a peer to the Label | 17:35 |
lbt | but doesn't see 'hostname' :( | 17:36 |
*** matoking has joined #sailfishos | 17:36 | |
lbt | possibly because they're instantiated before the HostPage{} is created in order to be dropped in | 17:36 |
*** datagutt has quit IRC | 17:37 | |
lbt | but in that case I'd expect them to see the Host's value of hostname :( | 17:37 |
matoking | Hey | 17:37 |
matoking | By default the application is launched by return SailfishApp::main(argc, argv); | 17:37 |
lbt | o/ | 17:37 |
suy | lbt: ok, let me think | 17:37 |
matoking | But since I want to add an image provider and other things, I need to use SailfishApp::createView() instead | 17:37 |
tbr | lbt: I would like to discuss the relation store/harbour←→chum←→mer-tools | 17:38 |
matoking | So, what do I replace the return clause with? | 17:38 |
lbt | return app->exec(); | 17:38 |
matoking | Ah | 17:38 |
matoking | Thankas | 17:38 |
matoking | *Thanks | 17:38 |
tbr | lbt: as I'd like to keep things clean and avoid problems | 17:38 |
lbt | tbr: I think mer-tools is seperate | 17:39 |
suy | lbt: maybe stating the obvious, but... have you tried with parent.hostname? | 17:39 |
tbr | lbt: the question about mer-tools is, do we import from there or coexist with it | 17:39 |
MSameer | lbt: why not put hostname as a property in the page itself? | 17:40 |
*** tortoisedoc_ has joined #sailfishos | 17:40 | |
lbt | suy: in Ssh.qml it'd need to be parent.parent.hostname ... but I tried various things like that, yer | 17:40 |
lbt | MSameer: line 49 | 17:41 |
matoking | And since I already joined this channel, is there an ETA for when we will see a better, hopefully an out-of-the-box method of deploying the application to the device? | 17:41 |
lbt | MSameer: and line 10: page: HostPage { hostname: "acer" | 17:41 |
lbt | matoking: today ? | 17:41 |
matoking | @lbt Really? | 17:41 |
suy | lbt: I think that you need some property alias to make it visible to the button | 17:41 |
lbt | yes - mine works. Not aware of any issues | 17:42 |
matoking | That'd be nice | 17:42 |
green_dev | Imma go...but thanks again! Friendly communities like this are a bliss for someone like me who likes to code just for the fun of it! | 17:42 |
lbt | bye green_dev | 17:42 |
MSameer | lbt: page: HostPage { page.hostname: "acer" | 17:42 |
tortoisedoc_ | so this whole debugging thing is turning out to be some / vs \ issue | 17:42 |
green_dev | bye lbt | 17:42 |
MSameer | lbt: i don't get you | 17:42 |
*** green_dev has left #sailfishos | 17:42 | |
lbt | MSameer: it is a property in the page itself | 17:43 |
tortoisedoc_ | Specifically, due to Virtualbox wanting only \ instead of / in the share paths | 17:43 |
tortoisedoc_ | (i suspect) | 17:43 |
lbt | suy: so why does Label not need an alias ? | 17:43 |
suy | lbt: because it has a property in its parent (in the same file), isn't it? | 17:44 |
suy | HostPage.qml has a hostname property, Ssh.qml does not | 17:45 |
lbt | http://qt-project.org/doc/qt-5.0/qtqml/qtqml-documents-scope.html#component-instance-hierarchy | 17:46 |
lbt | TitlePage example | 17:46 |
lbt | I'm wondering if it's because I'm using the .data property | 17:46 |
lbt | it's feeling like a Qt bug | 17:47 |
lbt | I think I'm going to make a minimal test case | 17:47 |
*** grejppi_ is now known as grejppi | 17:48 | |
suy | ok | 17:48 |
*** parasemic has joined #sailfishos | 17:48 | |
*** Juhi24 has quit IRC | 17:52 | |
*** jjarven has joined #sailfishos | 17:53 | |
*** mk2soldier has left #sailfishos | 17:58 | |
*** mk2soldier has joined #sailfishos | 17:58 | |
suy | lbt: although in the end of the TitlePage example, gives the advice of passing the property explicitly | 17:59 |
*** KangOl has joined #sailfishos | 17:59 | |
suy | but yeah, according to the first part, it should work | 17:59 |
*** SeekingFor has quit IRC | 18:00 | |
*** SeekingFor has joined #sailfishos | 18:00 | |
lbt | http://pastie.org/8583021 | 18:02 |
lbt | oops, no | 18:02 |
*** M4rtinK has joined #sailfishos | 18:05 | |
*** joecool has quit IRC | 18:08 | |
rcg | lbt, sorry to disturb you during your qml coding | 18:09 |
rcg | wrt the sailfish target on obs | 18:09 |
rcg | it seems it does not provide pkgconfig(audioresource) | 18:09 |
*** phaeron has joined #sailfishos | 18:10 | |
rcg | whereas the latest nemo:devel does | 18:10 |
lbt | suy: http://pastie.org/8583044 | 18:10 |
tortoisedoc_ | btw | 18:10 |
tortoisedoc_ | strange update with my phone | 18:10 |
tortoisedoc_ | it seems updates are taken | 18:10 |
lbt | rcg: hmm | 18:10 |
lbt | rcg: also that's well out of date now | 18:10 |
Elleo | rcg: yeah libaudioresource doesn't seem to be in the official sailfish repos yet | 18:10 |
Elleo | rcg: I've ended up just using libresource directly for now | 18:11 |
tortoisedoc_ | but release stays on 1.0.1.12 | 18:11 |
Elleo | plus libaudioresource doesn't support as much | 18:11 |
Elleo | (but of course libresource isn't allowable by the store policies) | 18:11 |
rcg | ic | 18:13 |
Elleo | tortoisedoc_: I had to do the update twice before it took effect | 18:13 |
rcg | well, i seem to be crashing from one issue to the next xD | 18:14 |
Elleo | heh | 18:14 |
tortoisedoc_ | Elleo: I did it three times and still it notifies for update | 18:14 |
tortoisedoc_ | Elleo: also aps were updated fine | 18:14 |
Elleo | tortoisedoc_: no idea then, sorry; the only thing I did differently to most people is that I had to update the store-client manually first | 18:14 |
rcg | btw Elleo wrt adding the libs to the apps.. i had a brief look with ldd what the required libs link against and it seems that i will end up pretty much in dependency hell | 18:15 |
tortoisedoc_ | Elleo : thanks anyway | 18:15 |
Elleo | because this was at the point that updating the apps broke the store | 18:15 |
tortoisedoc_ | Aard: ping | 18:15 |
rcg | even for something seemingly simple like libsndfile | 18:15 |
Elleo | rcg: ah, okay | 18:15 |
*** arcean has joined #sailfishos | 18:16 | |
rcg | Elleo, libsndfile, e.g., links agains flac ogg etc. which are not allowed.. which link against other libs that are very likely not allowed as well | 18:16 |
Elleo | yeah | 18:16 |
Elleo | I'm just having to bundle libspotify which is pretty self contained (and possibly libresource if the qaudiooutput issue isn't fixed) | 18:17 |
*** itbaron has quit IRC | 18:17 | |
*** s1gk1ll has joined #sailfishos | 18:17 | |
artemma | What would be a good way to check from QML whether app is running on emulator or on a device? I want to show some "torch" simulation on screen when running on emulator without real torch | 18:18 |
rcg | Elleo, wrt libresource, can't that be solved with audioresource? | 18:18 |
rcg | my understanding is that i need to "wrap" the audio output between a resource allocation and de-allocation, so to speak | 18:18 |
Elleo | rcg: nope, I have to handle the volume keys manually, which audioresource doesn't offer access to | 18:19 |
rcg | Elleo, ah alright, i see | 18:19 |
suy | lbt: in the 2nd paste, the issue is with the first "title"? (in TitleBody.qml) | 18:20 |
Elleo | rcg: I actually found that if I added an unused MediaPlayer to my qml the whole application stream got unmuted | 18:20 |
suy | artemma: architechture, maybe? #ifdef __arm__ or something | 18:21 |
artemma | suy: I think emulator is ARM too | 18:21 |
rcg | Elleo, ah, that's interesting | 18:21 |
Elleo | which is maybe easier than fiddling with audioresource if you just need to unmute the stream (not as useful if you need to keep it playing when the screen is off I suspect though) | 18:21 |
rcg | well, i am building with audioresource now and will see how that goes :) | 18:21 |
artemma | of course real proper way would be to check for the feature existence (camera torch in my case), but.. just for deletcting emulator that's a bit of suy: an overkill me thinks | 18:21 |
rcg | Elleo, indeed :) | 18:22 |
Elleo | I only tested that with a qaudiooutput producing the real audio though | 18:22 |
artemma | a bit of an overkill* | 18:22 |
rcg | Elleo, i got an app here using pulseaudio. i can keep you updated if you like | 18:22 |
*** s1gk1ll has quit IRC | 18:22 | |
Elleo | thanks, I'd be interested to hear how it works out | 18:22 |
rcg | this is actually not my own app but one i port but that shouldn't matter that much in this case ;) | 18:23 |
*** b0bben has joined #sailfishos | 18:23 | |
situ | What image chooser do you guys use in your apps ? | 18:24 |
Elleo | rcg: what's the app? | 18:24 |
lbt | suy: yes | 18:25 |
rcg | Elleo, emumaster | 18:25 |
*** parasemic has left #sailfishos | 18:26 | |
Elleo | situ: I suspect the correct way is to do something with a DocumentGalleryModel, although I seem to remember seeing something about the required libs not being allowed by the store on the mailinglist | 18:26 |
Elleo | rcg: oh, cool | 18:26 |
Elleo | it'll be great to have that on sailfish :) | 18:26 |
situ | That is correct. | 18:26 |
lbt | suy: http://pastie.org/8583084 works 'as expected' | 18:27 |
situ | Is there an image chooser provided by Qt quick (other than DocumentGalleryModel solution) ? | 18:27 |
Elleo | situ: so you could go down that route and bundle the needed libs with your app, setting the rpath or LD_LIBRARY_PATH or hack up something custom, or wait for the store APIs to be expanded | 18:27 |
Elleo | lots of people are bumping into the store API restrictions unfortunately | 18:28 |
coderus | Silica doesnt support landscape layouts? | 18:29 |
artemma | coderus: I think I saw landscape layout in Pictures app | 18:29 |
artemma | coderus: and I seem to remember orientation properties in silica docs | 18:30 |
artemma | I think most apps just don't care about landscape | 18:30 |
Elleo | coderus: there's a setting in ApplicationWindow for setting what orientations are allowed for an app | 18:30 |
Elleo | haven't tested it though | 18:30 |
Elleo | https://sailfishos.org/sailfish-silica/qml-sailfishsilica-applicationwindow.html#allowedOrientations-prop | 18:30 |
Elleo | or it looks like it can be done on a Page by Page basis too | 18:31 |
rcg | Elleo, coderus do this on a per page basis | 18:31 |
suy | lbt: then is that dynamic thing mentioned in the link you passed. It might be a bug, or just the way is expected to work. In any case, the recommended way seems that one passes the properties to the elements. Unless you are in file scope, and can use someId.someProperty | 18:31 |
rcg | iirc that's the suggested way to do it | 18:31 |
rcg | and i successfully tested it | 18:31 |
suy | lbt: but I'm not that experienced with this, I dunno :-/ | 18:31 |
Elleo | rcg: cool | 18:32 |
lbt | suy: np ... I appreciate the support :) | 18:32 |
suy | In the Components demo there is an example with landscape and orientation changing | 18:32 |
rcg | Elleo, hmm.. nope, no sound.. the callback says that the app acquired the audio output but it remains silent | 18:33 |
coderus | look at this bug please: http://talk.maemo.org/showpost.php?p=1401573&postcount=63 | 18:33 |
rcg | Elleo, what was you workaround for this? | 18:33 |
Elleo | rcg: well, I use libresource for it, but I also had it working with just a blank "MediaPlayer { }" in the qml | 18:33 |
rcg | Elleo, i'll try the media player hack.. what's the import i need for that? | 18:34 |
Elleo | QtMultimeda 5.0 | 18:34 |
rcg | in case you happen to know it of the top of your head ;) | 18:34 |
rcg | Elleo, great, thanks :) | 18:34 |
Elleo | QtMultimedia 5.0 rather | 18:34 |
*** phaeron has quit IRC | 18:35 | |
coderus | Elessar: i have orientatios set up, but there is a bug with keyboard | 18:35 |
Elleo | and if that doesn't work and you want to play with libresource directly here's what I'm doing: https://github.com/Elleo/cutespotify/blob/sailfish/libQtSpotify/qspotifysession.cpp#L420 (then the resource acquired/lost handlers just start and pause playback respectively) | 18:36 |
Morpog_ | coderus, i can replicate the bug, it seems to be caused ny VKB when shown in landscape mode | 18:36 |
rcg | Elleo, cool, the mediaplayer hack does the trick :D | 18:36 |
Elleo | rcg: excellent :) | 18:36 |
coderus | need to hide keyboard when orietation changed | 18:37 |
rcg | sadly, the "proper way" via audioresource just does nothing... | 18:37 |
Morpog_ | coderus, yep, sounds like a proper workaround. Seems to be a bug in maliit. | 18:37 |
artemma | So funny to see buttons moving on screen when running automated tests on device :) | 18:44 |
*** s1gk1ll has joined #sailfishos | 18:45 | |
*** KangOl has quit IRC | 18:45 | |
rcg | artemma, what do you use to "push" the buttons? | 18:45 |
rcg | is there a way to trigger keyboard input from an application? | 18:45 |
artemma | rcg: mouseClick from QtQuickTest | 18:46 |
rcg | am asking because one app of mine is qzeecontrol which enables you to control you device via a zeemote bluetooth control and i need to "emulate" keypresses somehow | 18:46 |
rcg | artemma, hmm, i see | 18:46 |
artemma | rsg: but 90-95% of my tests are below UI and even when testing on UI level, I prefer calling actions (and verifying that the correct page is being pushed) rather than actual clicks | 18:47 |
artemma | rcg: QtTest code is open you can study which exactly events they send to windows | 18:47 |
rcg | artemma, that's a great idea, i will try to keep that in mind. thanks :D | 18:48 |
*** KangOl has joined #sailfishos | 18:48 | |
*** datagutt has joined #sailfishos | 18:49 | |
*** s1gk1ll has quit IRC | 18:51 | |
rcg | Elleo, hmm, lol?... seems like i need to use both audioresource and the mediaplayer hack xD | 18:51 |
Elleo | oh? that's odd | 18:51 |
rcg | just reverted the audioresource stuff and only used mediaplayer and that resulted in no sound output at all | 18:51 |
*** s1gk1ll has joined #sailfishos | 18:52 | |
Elleo | ah, maybe if you're using libpulse directly it's creating two streams | 18:53 |
rcg | Elleo, ah wait.. no.. i broke something else :D | 18:53 |
*** Elessar has quit IRC | 18:53 | |
rcg | now it's working | 18:53 |
Elleo | ah okay | 18:53 |
rcg | still strange but that issue seems to be in emumaster :) | 18:57 |
*** wellumakinen has quit IRC | 18:59 | |
*** b0bben_ has joined #sailfishos | 19:03 | |
*** b0bben has quit IRC | 19:05 | |
*** zmc has joined #sailfishos | 19:06 | |
Morpog_ | coderus: strange bug, randomly when opening a chat in mitäkuuluu it doesn't show the slide in animation. | 19:07 |
*** DarkSim has joined #sailfishos | 19:07 | |
*** zhost has quit IRC | 19:07 | |
Morpog_ | coderus, seems to only happen with persons I have already chatted with | 19:08 |
*** zhost has joined #sailfishos | 19:10 | |
coderus | Morpog_: heavy operations, in transition time application busy | 19:14 |
Morpog_ | oh ok, thought such stuff would vanish with a dual core... | 19:15 |
artemma | A-and a Flashlight app with a real proper and stable torch behavior is ready! Special thanks to MSameer http://bit.ly/flashlight18 | 19:17 |
artemma | MSameer: what's your twitter nick if any? I am going to tweet about it, would like to include your name | 19:17 |
raa70 | artemma: doesnt work =( | 19:21 |
MSameer | artemma: @msameer | 19:21 |
artemma | raa70: okay, good that it's not in harbour yet :) In which way it doesn't work? You start and there's no light? | 19:21 |
artemma | or something flashing? | 19:21 |
artemma | Or cannot be turned on 2nd time? | 19:22 |
raa70 | yeah, light doesnt turn on, program itself works | 19:22 |
artemma | raa70: did you update to latest firmware? | 19:22 |
raa70 | not yet | 19:22 |
artemma | it works with the yesterday update only | 19:22 |
raa70 | k | 19:22 |
raa70 | guess i shall do that | 19:22 |
MSameer | raa70: you need to have the latest update | 19:22 |
artemma | hmm.. should a good developer actually check for firmwhere version somehow? | 19:22 |
artemma | or should I declare in harbour which firmwares app supports? | 19:23 |
artemma | Current Apple App Store way is that you tell target OS version and older versions are served older builds (latest that supported user's OS version) | 19:23 |
Morpog_ | artemma, the knob could look a bit more sexy | 19:25 |
Morpog_ | like 50% opacity the white part | 19:25 |
artemma | Morpog_: that's the best I was able to do with my friend (who is a cool UX designer, but not so good with graphics) | 19:25 |
artemma | 50% opacity?.. to make it more.. glassy? | 19:26 |
Morpog_ | yep | 19:26 |
Morpog_ | but not the power icon itself | 19:26 |
* artemma is actually looking for a partner graphics designer for possibly starting a Jolla-oriented consultancy or just fun (mostly) Sailfish projects together | 19:26 | |
Morpog_ | well, I do some graphics work for fun | 19:27 |
artemma | Morpog_: then which why part? There's only round button and icon | 19:27 |
artemma | which white* part | 19:27 |
Morpog_ | well, gray, blueish part | 19:28 |
artemma | ah, okay, got it | 19:28 |
artemma | right now it's a single image file | 19:28 |
artemma | will think of changing it | 19:28 |
artemma | thanks | 19:28 |
artemma | Morpog_: you have some samples of graphics created by you? | 19:29 |
Morpog_ | it still can stay a single file | 19:29 |
MSameer | artemma: glad it worked for you and good luck with store submission | 19:29 |
MSameer | i will still create a competitive app though :p | 19:30 |
*** furikku has quit IRC | 19:30 | |
artemma | MSameer: thanks. As for store.. it's hardly predictable from my experience. They still process the previous version | 19:30 |
artemma | MSameer: sure, go ahead | 19:30 |
Morpog_ | artemme, well lately the cargo dock icon, hotspot icon, cutespot icon... | 19:31 |
Morpog_ | friends icon | 19:31 |
Morpog_ | https://github.com/Morpog/friends-sailfish/commit/7ce4c9c9d8678ac33a93f73068ef5bee0c4bb643 | 19:31 |
*** cdp has joined #sailfishos | 19:31 | |
Morpog_ | https://github.com/Morpog/harbour-hotspot/commit/a618e96a6807112d7c89d62f30920b88bb6ac51e | 19:32 |
*** KangOl has quit IRC | 19:32 | |
Morpog_ | https://github.com/Morpog/cargodock/commit/b07d18636b133caef7753cf83278a139d1184666 | 19:32 |
artemma | oh, so it's you who does friends | 19:32 |
artemma | I am hesitating to try for some days by now :) | 19:32 |
Morpog_ | and lots of stuff in nemomobile glacier UI | 19:32 |
artemma | maybe I should | 19:32 |
Morpog_ | artemma, nope, thats Sfiet_Konstantin | 19:32 |
Morpog_ | I just made an icon, because I was bored by the default sailfish one :) | 19:33 |
narchie | Morpog_: the facebook font face is a bit thicker | 19:33 |
narchie | ;) | 19:34 |
*** stephg has joined #sailfishos | 19:34 | |
artemma | Hmm, facebook icon: horizontal dash in "f" is longer on the right than on the left - for a reason? | 19:34 |
artemma | or maybe my eyes are too tired and that's just illusion | 19:35 |
Morpog_ | narchie, well it shouldn't be a copy of the original logo, more like a redesign of old harmattan friends logo | 19:35 |
narchie | yeah | 19:36 |
Morpog_ | artemma, well, it's the font :) | 19:36 |
artemma | Morpog_: okay. I guessed so, but wasn't sure | 19:36 |
narchie | cargodock is pretty nice | 19:37 |
Morpog_ | my DSL line seems to struggle atm :( | 19:37 |
*** MSameer has quit IRC | 19:39 | |
*** MSameer has joined #sailfishos | 19:39 | |
Morpog_ | the mitäkuuluu icon is also from me I just remembered, lol | 19:39 |
*** _miqu_ has quit IRC | 19:43 | |
*** KangOl has joined #sailfishos | 19:44 | |
lbt | Morpog_: any reason you're making it so obviously facebook-like ? | 19:44 |
Morpog_ | lbt, well I tried to make it look like the old friends icon, but with sailfish style icon | 19:45 |
Morpog_ | i could have used another color that look less like facebook though | 19:46 |
Morpog_ | but after all friends IS a facebook client | 19:46 |
lbt | yeah - but they're not known for being friendly when it comes to their logos and stuff | 19:49 |
lbt | and *if* anything happens the legal shit hits the infrastructure fan ... ie the community repos which host the icons/apps | 19:50 |
artemma | Submitted idea for not showing incompatible apps to the users in store. Go vote for it https://together.jolla.com/question/5190/app-store-should-show-only-app-versions-compatible-with-firmware-user-is-running/ | 19:50 |
lbt | Morpog_: so it feels sensible to play it safe :) | 19:51 |
Morpog_ | Sfiet_Konstantin, If you prefer to play safe like lbt suggests, I can make a version with same background color as in harmattans friends logo | 19:52 |
Morpog_ | bbl | 19:53 |
lbt | ty - I'd appreciate that (and I'm only worried about nemo) | 19:53 |
*** promulo has quit IRC | 19:53 | |
*** _miqu_ has joined #sailfishos | 19:59 | |
rcg | Elleo, http://talk.maemo.org/showthread.php?t=92161 | 19:59 |
rcg | info about the emumaster port and its current state | 19:59 |
*** matt_1979 has joined #sailfishos | 20:00 | |
rcg | latest addition is working sound :) | 20:00 |
rcg | ;) | 20:00 |
stephg | rcg v.cool | 20:01 |
rcg | works reasonable well here, but required quite some hacking | 20:02 |
*** guest144 has joined #sailfishos | 20:02 | |
rcg | *reasonably | 20:02 |
rcg | it is also in a heavy wip stage ;) | 20:02 |
*** guest1441 has joined #sailfishos | 20:03 | |
rcg | but it works.. and what i like, it (i.e., the patched version) renders the output frames to a qquickpainteditem. which means that you can handle it like any other qml element :D | 20:03 |
rcg | took me quite a while to come up with that hack :) | 20:04 |
rcg | but now the emulator graphics output is "just" like any other ordinary element in a qml scene graph :) | 20:04 |
rcg | instead of having to hack with widget, window or *gl overlay stuff | 20:05 |
rcg | but well, that's just what fascinates me from the technical point of view ;) | 20:05 |
raa70 | do i need to disable tohd after update? | 20:06 |
*** stephg has quit IRC | 20:06 | |
*** stephanos has joined #sailfishos | 20:06 | |
*** stephanos has quit IRC | 20:06 | |
*** stephg has joined #sailfishos | 20:06 | |
*** guest144 has quit IRC | 20:07 | |
*** s1gk1ll has quit IRC | 20:07 | |
*** phaeron has joined #sailfishos | 20:07 | |
rcg | and i think it is pretty interesting to see that you can paint with close to 60fps to a qquickpainteditem.. which i think is pretty brute force | 20:08 |
rcg | raa70, afaik the power consumption bug is not fixed by the update | 20:08 |
rcg | so, yes, if you want the power savings thing, you should better disable it | 20:09 |
*** s1gk1ll has joined #sailfishos | 20:09 | |
raa70 | k | 20:09 |
artemma | What is the way to hook to hardware keys (if any)? | 20:22 |
artemma | I'd like to start/switch flashlight on long Volume Up press for example | 20:23 |
artemma | is it something that stayed from harmattan times? | 20:23 |
jani | raa70: someone mentioned in twitter that if you "marked" the toh service before shutting it down, mark should have survived the update and so no need to re-apply .. | 20:24 |
jani | but better to verify yourself. | 20:24 |
Pnuu | jani: yes, servictl mask tohd.service after stop works | 20:25 |
*** b0bben_ has quit IRC | 20:26 | |
Pnuu | raa70: ^ | 20:26 |
*** b0bben has joined #sailfishos | 20:27 | |
*** wellumakinen has joined #sailfishos | 20:29 | |
*** b0bben has quit IRC | 20:32 | |
artemma | jani: I didn't verify if masking survived, but looking at battery discharge rate it did survive | 20:39 |
artemma | Trying mitakuulu. Entered my number, clicked register and.. I am in some empty Registration view with numeric keyboard and nothing else.. coderus ? | 20:42 |
*** matoking has quit IRC | 20:44 | |
rcg | btw did you know about the "csd" tool? | 20:44 |
rcg | http://talk.maemo.org/showthread.php?t=92189 | 20:44 |
rcg | just stumbled across this | 20:45 |
artemma | What is the way to hook to hardware keys (if any)? | 20:46 |
artemma | I'd like to start/switch flashlight on long Volume Up press for example | 20:46 |
coderus | Keys.on***Pressed? | 20:47 |
artemma | coderus: while app is not on foreground | 20:47 |
coderus | check if any dbus signal first | 20:47 |
artemma | coderus: yeah, dbus might have something indeed | 20:47 |
artemma | thx for the idea | 20:47 |
* artemma has subtle memories that on Harmattan there was a very special API for it and I think it was without dbus | 20:48 | |
coderus | QmKeys | 20:48 |
artemma | hmm mitakuulu 6 shows registration failed on app cover | 20:48 |
coderus | artemma: when registratoin? | 20:49 |
coderus | or | 20:49 |
artemma | coderus, yes. I think I tapped Registration a couple of times | 20:49 |
coderus | when? | 20:49 |
coderus | well, there is 7 build with broken registration | 20:49 |
artemma | started, typed my number, tapped registration | 20:49 |
coderus | i making 8 to release soon with fix | 20:50 |
artemma | cover also tells No unread messages | 20:50 |
artemma | maybe message never arrived because of whatsapp server delays | 20:50 |
coderus | my wlan disconnecting very recent on N9 with sailfish... | 20:50 |
coderus | artemma: if your connection good it shouldnt | 20:51 |
coderus | there is not delay onn server side | 20:51 |
coderus | i'll release update soon | 20:51 |
coderus | with hotfix | 20:51 |
artemma | I think I had same delay with android version. Code was not coming for several means and then I registered by voice | 20:51 |
coderus | well, csms is different story | 20:51 |
artemma | coderus: no hurries, no burning pains here :) | 20:51 |
jani | coderus: i had some issues populating contact list on -6 release, single contacts could be added by if i chose to sync all,nothing happened. did you address this in release -7 ? | 20:51 |
coderus | jani: already fixed in 7 release | 20:52 |
coderus | jani: you must upgrade | 20:52 |
*** vitronic__ has quit IRC | 20:52 | |
jani | another thing, maybe the seconds in timestamp in the chat are a bit overkill for ordinary user? | 20:54 |
*** KangOl has quit IRC | 20:54 | |
coderus | jani: go to settings and disable seconds if you dont like them | 20:54 |
*** tortoisedoc_ has quit IRC | 20:55 | |
*** KangOl has joined #sailfishos | 20:56 | |
*** tanghus_ has joined #sailfishos | 20:58 | |
*** b0bben has joined #sailfishos | 20:59 | |
artemma | can't see any dbus messages on volume buttons press. Okay, than capturing them is likely to need some system lib use. Oh well, expected probably - hardware button access should be limited | 21:01 |
artemma | prevents me from stating flashlight on a long press though | 21:01 |
artemma | And just when I wrote it I noticed activity in dbus monitor! :) | 21:01 |
artemma | but only when screen is locked | 21:01 |
rcg | artemma, did you try both, system and session bus? | 21:02 |
rcg | just checking ;) | 21:02 |
artemma | I see org.freedesktop.login1.Seat signals on the system one | 21:03 |
lbt | artemma: check /dev/input/event* | 21:03 |
artemma | it is apparently not really related to hw buttons (and you can't tell which one is pressed), but it's trackable | 21:03 |
*** wellumakinen has quit IRC | 21:03 | |
slate | latest mitakuuluu, i got landscape bugged, and portrait too after a switch to landscape | 21:03 |
artemma | lbt: you mean something like cat /dev/input/event* | 21:03 |
slate | ui moves 60% to the right | 21:03 |
coderus | yeah, probably just t make/dev/input listener | 21:04 |
*** b0bben has quit IRC | 21:04 | |
lbt | 12 | 21:05 |
artemma | some characters are coming out of event0 on button presses | 21:05 |
lbt | try 12 | 21:05 |
artemma | lbt: how do you know it's 12? | 21:05 |
lbt | [nemo@localhost ~]$ cat /dev/input/event12 | 21:05 |
artemma | yes, some characters are coming out of event12 too | 21:06 |
lbt | and it wasn't 1..10 :) | 21:06 |
artemma | question is what's the difference (what's on event0 and what's on event12) and how to decode :) | 21:07 |
*** KangOl has quit IRC | 21:07 | |
artemma | okay decoding thing I might be able to just reverse engineer by watching if protocol is simple | 21:07 |
artemma | aha, there is some standard linux struct for the events, good | 21:08 |
lbt | hmm - can you write that part in plainish C ? | 21:08 |
lbt | ah, nm .. it's not hard to do when it's needed | 21:09 |
coderus | artemma: use ioctl | 21:09 |
jani | damn can't make template parse from qmake to work .. sed gets run but the generated file does not appear in source folder. | 21:10 |
artemma | still, why event12? | 21:10 |
artemma | jani: ? | 21:11 |
jani | artemma: trying use same version number for all occurances where its used based from either git tag or whats specified in yaml .. | 21:12 |
jani | but i think i found the issue.. | 21:12 |
artemma | jani: you checked Wikipedia already, right? It uses version in .yaml | 21:12 |
jani | havent checked that .. but i got this working. | 21:16 |
*** Finleida has quit IRC | 21:17 | |
*** ezech has quit IRC | 21:17 | |
jani | sed's pipe target didnt have path defined.. | 21:20 |
coderus | artemma: this code should work: https://gitorious.org/meego-device-adaptation/n900_nokia-n900-rescue-initrd/source/f0ebc1b1d7dbbf887594e3845c92c2b3b752b910:evkey.c#L153 | 21:22 |
coderus | i cant believe if you never working with sockets | 21:23 |
artemma | coderus: yeah, I am building something similar to test. There are other examples on web that read whole event | 21:24 |
coderus | okay :) | 21:24 |
artemma | looking at this now http://radekp.github.io/qtmoko/api/tut-deviceexample.html | 21:25 |
artemma | I don't need whole driver, but they have event struct coded, maybe reading it will just work | 21:25 |
Elleo | rcg: cool | 21:26 |
coderus | well yeah, you can use QSocketNotifier for reading events | 21:26 |
artemma | QSocketNotifier? Never tried it | 21:28 |
artemma | so input events in linux are also delivered as network events? | 21:29 |
artemma | reading docs for QSocketNotifier.. | 21:29 |
artemma | so QSocketNotifier can monitor file descriptor such as /dev/input/event12 interesting | 21:30 |
artemma | and it even delivers a parsed event object. wow | 21:31 |
*** ezech has joined #sailfishos | 21:31 | |
coderus | artemma: socket != network :D | 21:33 |
artemma | okay | 21:33 |
artemma | thx | 21:33 |
*** b0bben has joined #sailfishos | 21:35 | |
*** b0bben_ has joined #sailfishos | 21:38 | |
*** Morpog_Mobile has quit IRC | 21:40 | |
mfulz | what is a good way for displaying user errors under sailfish? | 21:43 |
*** tanghus__ has joined #sailfishos | 21:45 | |
coderus | mfulz: means? | 21:45 |
*** tanghus_ has quit IRC | 21:45 | |
*** KangOl has joined #sailfishos | 21:46 | |
mfulz | a.e. when saving settings over a dialog and an error happens | 21:46 |
mfulz | is there something like a messagedialog or similar? | 21:46 |
suy | the proper name of QSocketNotifier should have been QFileDescriptorNotifier, actually | 21:52 |
suy | mfulz: give a try to the control gallery. There you have everything that can be seen (well, almost) | 21:54 |
*** John24 has joined #sailfishos | 21:58 | |
John24 | hello everyone :) | 21:58 |
John24 | would anyone know how to call C++ fucntions from QML? | 22:01 |
Nicd- | I have an example | 22:01 |
mfulz | suy: you mean here? https://sailfishos.org/sailfish-silica/sailfish-silica-all.html#controls | 22:01 |
*** c0ck4m0u53 has quit IRC | 22:02 | |
Nicd- | John24: https://bitbucket.org/Nicd/sailtime/src -- qml/harbour-sailtime.qml calls function in src/uptimechecker.cpp | 22:02 |
John24 | thank you I shall study that code :) | 22:04 |
*** amonk has quit IRC | 22:07 | |
*** Zotan has quit IRC | 22:08 | |
*** Zotan has joined #sailfishos | 22:09 | |
*** Bloob has quit IRC | 22:09 | |
*** Zotan has quit IRC | 22:10 | |
*** Zotan has joined #sailfishos | 22:20 | |
*** amonk has joined #sailfishos | 22:21 | |
*** b0bben has quit IRC | 22:21 | |
*** b0bben has joined #sailfishos | 22:22 | |
*** Morpog_Mobile has joined #sailfishos | 22:23 | |
*** b0bben has quit IRC | 22:26 | |
*** dhbiker has quit IRC | 22:27 | |
*** stephg has quit IRC | 22:28 | |
*** Zotan has quit IRC | 22:31 | |
*** Zotan has joined #sailfishos | 22:32 | |
*** Pat_o has joined #sailfishos | 22:33 | |
*** Andy80 has quit IRC | 22:34 | |
*** Andy80 has joined #sailfishos | 22:35 | |
*** arcean has quit IRC | 22:35 | |
*** Zotan has quit IRC | 22:38 | |
*** Zotan has joined #sailfishos | 22:40 | |
artemma | Hmm, watching /dev/input/event12 shows nothing in app | 22:42 |
*** _miqu_ has quit IRC | 22:42 | |
*** Kabouik_ has quit IRC | 22:43 | |
artemma | yet cat cat /dev/input/event12 shows events | 22:43 |
artemma | interesting | 22:43 |
artemma | it looks like QSocketNotifier is never activated | 22:44 |
artemma | m_notifier = new QSocketNotifier(m_file->handle(), QSocketNotifier::Read, this); | 22:45 |
artemma | where m_file is for "/dev/input/event12" | 22:45 |
artemma | m_file->open(QFile::ReadOnly) | 22:45 |
*** Zotan has quit IRC | 22:45 | |
artemma | no permissions to /dev/input? But then I wouldn't be able to even open QFile | 22:46 |
super_hirsute | Is there anything that needs to be set up in QtCreator to debug an application running on a device? I'm currently getting "Adapter start failed" | 22:46 |
Sfiet_Konstantin | Morpog_: lbt agreed, so new design: please do something blueish | 22:47 |
Sfiet_Konstantin | with a man | 22:47 |
Sfiet_Konstantin | (like Harmattan contacts) | 22:47 |
Sfiet_Konstantin | :) | 22:47 |
Sfiet_Konstantin | I'm so bad on logo that I need to ask people to do it | 22:47 |
Sfiet_Konstantin | :$ thanks in advance | 22:47 |
lbt | :) | 22:47 |
* lbt offers o-|-< | 22:48 | |
*** Zotan has joined #sailfishos | 22:50 | |
Morpog_ | Sfiet_Konstantin, PR is already updated ;) | 22:50 |
*** louisdk has quit IRC | 22:50 | |
*** mk2soldier has quit IRC | 22:52 | |
*** Fazeriina has joined #sailfishos | 22:53 | |
*** Sfiet_Konstantin has quit IRC | 22:53 | |
Fazeriina | Hi everybody! Might seem like an awkward question but how do you connect to a wireless network with hidden SSID or is it even possible ? (With Jolla phone offcourse :D) | 22:55 |
*** vitronic__ has joined #sailfishos | 22:55 | |
*** nk1ox has joined #sailfishos | 22:58 | |
rcg | Fazeriina, might give #jollamobile a try | 22:59 |
John24 | sorry for silly question to test my app, can i output to console from the c++ function? and what command to use? in QML it's console.log what to do on the C++ side. Sorry first time using QT creator | 22:59 |
rcg | there are more guys than here | 22:59 |
Fazeriina | yup, asked it there also | 22:59 |
rcg | John24, i use qDebug() | 22:59 |
Fazeriina | checking the forums now too | 22:59 |
rcg | #include<QDebug> | 22:59 |
rcg | you can do either qDebug("foo %i", 42); or qDebug() << "Foo: " << barObject << "etc.." | 23:00 |
rcg | ; | 23:00 |
John24 | thank you | 23:01 |
rcg | btw. i just used that example to illustrate the printf like syntax ;9 | 23:01 |
rcg | *;) | 23:01 |
rcg | yw | 23:01 |
rcg | respectively, cout like syntax | 23:01 |
artemma | hmm, QFile->bytesAvailable always tells zero for /dev/input/event12 | 23:02 |
artemma | event when activated by QSocketNotifier | 23:02 |
*** Venemo_ has joined #sailfishos | 23:10 | |
*** Venemo has quit IRC | 23:12 | |
*** nk1ox has quit IRC | 23:12 | |
artemma | I don't get it QSocketNotifier calls me, but QFile is always atEnd :/ | 23:12 |
*** b0bben_ has quit IRC | 23:13 | |
*** Nirkus has joined #sailfishos | 23:16 | |
*** John24 has quit IRC | 23:18 | |
artemma | that is crazy. I can read /dev/input/event12 to console just fine, but from app I am always at the end of file. Am I missing something basic? | 23:21 |
super_hirsute | just updated the debugger in Tools -> Options -> Bulid & Run -> Kits to point to that at ~/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-armv7hl/gdb but still getting the same issue of "Adapter start failed" | 23:23 |
Nirkus | hey, im just starting with Sailfish & Qt/QML development. To get started, I am trying to play around with the flash light and found the QtMultimedia Torch. Is there any way to receive a Torch instance with the current state of the device flash light? | 23:24 |
*** b0bben has joined #sailfishos | 23:28 | |
*** b0bben has quit IRC | 23:32 | |
*** cdp has quit IRC | 23:33 | |
artemma | QtMultimedia's torch isn't supported yet. Will be in the future | 23:34 |
*** matt_1979 has quit IRC | 23:37 | |
spider-mario | artemma : QIODevice::atEnd() doc says: | 23:38 |
spider-mario | “For some devices, atEnd() can return true even though there is more data to read. This special case only applies to devices that generate data in direct response to you calling read() (e.g., /dev or /proc files on Unix and Mac OS X, or console input / stdin on all platforms).” | 23:38 |
spider-mario | have you tried reading despite bytesAvailable() returning 0? | 23:40 |
artemma | spider-mario, I tried version of read that returns QByteArray | 23:41 |
*** Zotan has quit IRC | 23:41 | |
artemma | but don't remember what happened :) | 23:41 |
artemma | will try again | 23:41 |
*** Zotan has joined #sailfishos | 23:42 | |
Nirkus | artemma: mkay... is there any docs about what is currently supported? | 23:42 |
artemma | regarding torch gstreamer works | 23:42 |
*** nk1ox has joined #sailfishos | 23:47 | |
*** Korthes has quit IRC | 23:48 | |
*** Naranek has quit IRC | 23:57 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!