Sunday, 2015-05-10

*** zGrr <zGrr!~grr@user-46-113-222-64.play-internet.pl> has joined #sailfishos00:00
zGrrmoin :)00:00
*** Blizzzek <Blizzzek!~quassel@ubuntu/member/blizzz> has joined #sailfishos00:02
*** Blizzz <Blizzz!~quassel@ubuntu/member/blizzz> has quit IRC (Ping timeout: 272 seconds)00:07
*** zGrr <zGrr!~grr@user-46-113-222-64.play-internet.pl> has quit IRC (Ping timeout: 240 seconds)00:07
*** zGrr <zGrr!~grr@user-46-113-222-64.play-internet.pl> has joined #sailfishos00:07
*** BBLobster <BBLobster!~BBLobster@176.77.89.15> has quit IRC (Remote host closed the connection)00:10
*** Blizzzek <Blizzzek!~quassel@ubuntu/member/blizzz> has quit IRC (Ping timeout: 256 seconds)00:19
*** BBLobster <BBLobster!~BBLobster@176.77.89.15> has joined #sailfishos00:22
*** onurati <onurati!~onurati@HSI-KBW-134-3-38-232.hsi14.kabel-badenwuerttemberg.de> has quit IRC (Ping timeout: 264 seconds)00:26
*** dafox <dafox!~dafox@ip565ed369.direct-adsl.nl> has quit IRC (Ping timeout: 256 seconds)00:30
*** Kabouik <Kabouik!~quassel@65.76.93.92.rev.sfr.net> has joined #sailfishos00:40
*** zhxt <zhxt!~zhxt@124.192.129.91> has joined #sailfishos01:02
*** BBLobster <BBLobster!~BBLobster@176.77.89.15> has quit IRC (Remote host closed the connection)01:06
*** Behold <Behold!~behold@unaffiliated/beholdmyglory> has quit IRC (Quit: Leaving)01:08
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 256 seconds)01:18
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has quit IRC (Ping timeout: 252 seconds)01:21
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos01:21
*** vakkov <vakkov!~vakkov@134.83.207.19> has joined #sailfishos01:33
*** Raim <Raim!~raimue@donkey.codingfarm.de> has quit IRC (Ping timeout: 264 seconds)01:51
*** Sail0r <Sail0r!~Sailor@2a01:4f8:190:3484:1::ea77> has joined #sailfishos01:57
*** Morpog_PC <Morpog_PC!~Morpog_PC@185.8.85.171> has joined #sailfishos01:59
*** amccarthy <amccarthy!~amccarth@124-170-81-151.dyn.iinet.net.au> has quit IRC (Quit: No Ping reply in 180 seconds.)02:01
*** Raim <Raim!~raimue@donkey.codingfarm.de> has joined #sailfishos02:02
*** amccarthy <amccarthy!~amccarth@124-170-81-151.dyn.iinet.net.au> has joined #sailfishos02:02
*** Sail0r <Sail0r!~Sailor@2a01:4f8:190:3484:1::ea77> has quit IRC (Ping timeout: 272 seconds)02:03
*** zGrr <zGrr!~grr@user-46-113-222-64.play-internet.pl> has quit IRC (Ping timeout: 250 seconds)02:03
*** zhxt <zhxt!~zhxt@124.192.129.91> has quit IRC (Remote host closed the connection)02:24
*** zhxt <zhxt!~zhxt@124.192.129.91> has joined #sailfishos02:25
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 265 seconds)02:29
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos02:32
*** filippz <filippz!~filippz@93-143-131-75.adsl.net.t-com.hr> has quit IRC (Ping timeout: 272 seconds)02:37
*** filippz <filippz!~filippz@93-137-232-197.adsl.net.t-com.hr> has joined #sailfishos02:38
*** inara` <inara`!~inara@105.ip-167-114-152.net> has quit IRC (Ping timeout: 250 seconds)02:43
*** inara <inara!~inara@105.ip-167-114-152.net> has joined #sailfishos02:45
*** SpeedEvil <SpeedEvil!~quassel@tor/regular/SpeedEvil> has quit IRC (Ping timeout: 276 seconds)02:45
*** SpeedEvil <SpeedEvil!~quassel@tor/regular/SpeedEvil> has joined #sailfishos02:49
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 265 seconds)02:55
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos02:58
*** Kabouik <Kabouik!~quassel@65.76.93.92.rev.sfr.net> has quit IRC (Quit: No Ping reply in 180 seconds.)03:13
*** Kabouik <Kabouik!~quassel@65.76.93.92.rev.sfr.net> has joined #sailfishos03:14
*** SolarAquarion <SolarAquarion!~solaraqua@unaffiliated/solaraquarion> has joined #sailfishos03:20
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 265 seconds)03:40
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos03:43
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 256 seconds)03:51
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos03:54
*** Pete8 <Pete8!~Pete@87-93-79-84.bb.dnainternet.fi> has joined #sailfishos04:10
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 265 seconds)04:17
*** BBLobster <BBLobster!~BBLobster@176.77.89.15> has joined #sailfishos04:41
*** BBLobster <BBLobster!~BBLobster@176.77.89.15> has quit IRC (Ping timeout: 252 seconds)04:45
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos04:45
*** olafh__ <olafh__!~olafh@p5B25BAB9.dip0.t-ipconnect.de> has joined #sailfishos04:47
*** tango_ <tango_!~tex_vim@151.54.47.183> has quit IRC (Ping timeout: 255 seconds)05:15
*** tango_ <tango_!~tex_vim@151.74.180.166> has joined #sailfishos05:16
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 276 seconds)05:23
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos05:25
*** NickLeu <NickLeu!~nickleu@175.0.172.165> has joined #sailfishos05:28
*** NickLeu <NickLeu!~nickleu@175.0.172.165> has quit IRC (Quit: WeeChat 1.1.1)05:29
*** NickLeu <NickLeu!~nickleu@175.0.172.165> has joined #sailfishos05:29
*** tango_ <tango_!~tex_vim@151.74.180.166> has quit IRC (Ping timeout: 256 seconds)05:30
*** tango_ <tango_!~tex_vim@151.54.76.41> has joined #sailfishos05:32
*** tango_ <tango_!~tex_vim@151.54.76.41> has quit IRC (Ping timeout: 255 seconds)05:37
*** fmunozs <fmunozs!~fms@pdpc/supporter/active/fmunozs> has joined #sailfishos05:37
*** tango_ <tango_!~tex_vim@151.54.107.179> has joined #sailfishos05:38
*** inte_away <inte_away!~inte@unaffiliated/-inte-/x-2391039> has quit IRC (Ping timeout: 240 seconds)06:04
*** inte_away <inte_away!~inte@unaffiliated/-inte-/x-2391039> has joined #sailfishos06:06
*** inte_awa` <inte_awa`!~inte@p5B041ED8.dip0.t-ipconnect.de> has joined #sailfishos06:09
*** inte_awa` <inte_awa`!~inte@p5B041ED8.dip0.t-ipconnect.de> has quit IRC (Changing host)06:09
*** inte_awa` <inte_awa`!~inte@unaffiliated/-inte-/x-2391039> has joined #sailfishos06:09
*** inte_away <inte_away!~inte@unaffiliated/-inte-/x-2391039> has quit IRC (Ping timeout: 272 seconds)06:11
*** tango_ <tango_!~tex_vim@151.54.107.179> has quit IRC (Ping timeout: 265 seconds)06:12
*** tango_ <tango_!~tex_vim@151.74.151.110> has joined #sailfishos06:14
*** inte_awa` <inte_awa`!~inte@unaffiliated/-inte-/x-2391039> has quit IRC (Ping timeout: 264 seconds)06:17
*** inte_away <inte_away!~inte@unaffiliated/-inte-/x-2391039> has joined #sailfishos06:18
Pete8Back in business. Yesterday got that UI working from UI -> C++ code (to write file). Today my challenge is to read FIFO buffer in C++ code and update QML element accordingly in UI side. I've been trying like describe here (http://doc.qt.io/qt-5/qtqml-cppintegration-interactqmlfromcpp.html) - but this does not fit for Sailfish and my understanding. Any help ?06:24
*** roboro <roboro!~ro@dsl-217-155-19-70.zen.co.uk> has joined #sailfishos06:31
jaacoppiPete8: show us some example code of what you have done so far06:42
Pete8HOld on06:44
Pete8I have this on QML page:06:45
Pete8Label06:45
Pete8            {06:45
Pete8                id: engine06:45
Pete8                objectName: "statusmessage"06:45
Pete8                x: Theme.paddingLarge06:45
Pete8                text: "[waiting]"06:45
Pete8                color: Theme.primaryColor06:45
Pete8                font.pixelSize: Theme.fontSizeSmall06:45
Pete8                anchors.horizontalCenter: parent.horizontalCenter06:45
Pete8            }06:45
jaacoppinext time, please post to pastebin and give us the url. It makes everything easier to read06:45
Pete8Will do, hold on :)06:45
Pete8http://pastebin.com/qHcJY35V06:46
Pete8This is label & class function, which I hope to be able to update text portion of label.06:47
Pete8I've been trying to understand this: http://doc.qt.io/qt-5/qtqml-cppintegration-interactqmlfromcpp.html related to Sailfish.06:47
Pete8But turning QQmlEngine etc to sailfish is pain, or maybe I just cannot get it.06:48
jaacoppiI don't know how it _should_ be done, but here's how I've done it: https://github.com/jaacoppi/comicsailor06:50
jaacoppicheck out src/common.h for the class. Then checkout src/harbour-comicsailor.cpp for qmlRegisterType06:51
Pete8Ok, I will check it! Thanks. Probably I'll be back soon ;)06:52
jaacoppifinally, check out qml/pages/ComicView.qml for how to use it06:52
Pete8I think I clone whole thing, to get a picture.06:52
jaacoppiCome back in a few minutes to see all the other poeple on this channel tell you and me how it actually should be done06:52
jaacoppithere's probably a better way06:53
Pete8;) Ok, let's see.06:53
*** fmunozs <fmunozs!~fms@pdpc/supporter/active/fmunozs> has quit IRC (Remote host closed the connection)06:55
Pete8Frustrating, I cannot understand a bit from your code :)06:58
Pete8This QT & QML is bit too abstracted to traditional embedded programmer :)06:59
*** Nc_ <Nc_!~nc@109.132.162.30> has joined #sailfishos07:02
kimmoli.)07:08
*** BBLobster <BBLobster!~BBLobster@176.77.89.15> has joined #sailfishos07:12
kimmoliPete8 the engine is part of view, but that page you linked, seems to create components from c++, so it has everything it needs07:14
kimmoliview as in main.cpp07:14
Pete8yeah, I just managed to add function to class and it passes value to QML view (like version in your template).07:15
Pete8So progress, even I cannot understand anything.07:15
Pete8I genuinely wonder who and why this is so complicated :)07:16
*** BBLobster <BBLobster!~BBLobster@176.77.89.15> has quit IRC (Ping timeout: 245 seconds)07:17
*** tango_ <tango_!~tex_vim@151.74.151.110> has quit IRC (Ping timeout: 272 seconds)07:21
*** tango_ <tango_!~tex_vim@151.54.16.243> has joined #sailfishos07:22
*** coolmouse <coolmouse!~coolmouse@113.140.177.240> has joined #sailfishos07:25
*** coolmouse <coolmouse!~coolmouse@113.140.177.240> has quit IRC (Ping timeout: 240 seconds)07:30
jaacoppiPete8: there's also https://saildev.wordpress.com/2014/08/01/integrating-c-and-qml/07:33
*** attah <attah!~attah@h-176-10-249-228.na.cust.bahnhof.se> has joined #sailfishos07:33
Pete8I've seen this. I check it out again, thanks.07:34
jaacoppiI feel it's complicated too. 16-bit assembly is simple07:37
Pete8Tell me about it. But actually I managed to push from yesterday working application to control our program. So, bit progress.07:39
Pete8I wish that Jolla could produce a bit more examples and documentation to actual development support.07:40
*** arcean <arcean!~arcean@aacv157.neoplus.adsl.tpnet.pl> has joined #sailfishos07:40
Pete8But I bet their resources are tight.07:40
jaacoppislowly, slowly07:41
*** Nightmare__ <Nightmare__!~Nightmare@HSI-KBW-37-209-33-162.hsi15.kabel-badenwuerttemberg.de> has joined #sailfishos07:42
*** Nokius_ is now known as Nokius08:02
*** cloanta <cloanta!~sailfish@2a02:a03f:14f6:9200:5256:a8ff:fe01:18f9> has joined #sailfishos08:07
*** dirkvl <dirkvl!~dirkvl@52D91535.cm-11-1a.dynamic.ziggo.nl> has joined #sailfishos08:18
*** NickLeu <NickLeu!~nickleu@175.0.172.165> has quit IRC (Quit: WeeChat 1.1.1)08:18
*** flywheel <flywheel!~flywheel@77.234.184.45> has joined #sailfishos08:19
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 265 seconds)08:28
Nicd-coderus: UTF-8 is not 2 bytes08:28
Nicd-it's 1 to 4 bytes08:28
Nicd-it's variable length08:28
*** Yaniel <Yaniel!yaniel@unaffiliated/yaniel> has quit IRC (Remote host closed the connection)08:28
*** Yaniel <Yaniel!yaniel@unaffiliated/yaniel> has joined #sailfishos08:29
Nicd-UTF-16 is 2 or 4 bytes08:29
Nicd-UTF-32 is always 4 bytes08:29
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos08:31
*** inte_away <inte_away!~inte@unaffiliated/-inte-/x-2391039> has quit IRC (Ping timeout: 256 seconds)08:35
*** r0kk3rz <r0kk3rz!~chatzilla@host-92-30-193-70.as13285.net> has joined #sailfishos08:38
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 272 seconds)08:59
*** inte_away <inte_away!~inte@unaffiliated/-inte-/x-2391039> has joined #sailfishos09:05
*** pketolai <pketolai!~pketolai@192.194.199.35> has quit IRC (Ping timeout: 265 seconds)09:09
*** giucam <giucam!~giucam@qt/giucam> has quit IRC (Ping timeout: 244 seconds)09:09
*** sledges <sledges!~sleleiva@unaffiliated/sledgeas> has quit IRC (Ping timeout: 245 seconds)09:09
*** hge <hge!~hge@2001:2060:53:beef:70f0:5fc5:aaa0:e00c> has quit IRC (Ping timeout: 265 seconds)09:10
*** cybette <cybette!~cybette@unaffiliated/cybette> has quit IRC (Ping timeout: 265 seconds)09:10
*** nazanin <nazanin!~nazanin@192.194.199.35> has quit IRC (Ping timeout: 240 seconds)09:10
*** Nrsisti <Nrsisti!~lajohanss@192.194.199.35> has quit IRC (Ping timeout: 264 seconds)09:10
*** inte_awa` <inte_awa`!~inte@p5B040C80.dip0.t-ipconnect.de> has joined #sailfishos09:10
*** inte_awa` <inte_awa`!~inte@p5B040C80.dip0.t-ipconnect.de> has quit IRC (Changing host)09:10
*** inte_awa` <inte_awa`!~inte@unaffiliated/-inte-/x-2391039> has joined #sailfishos09:10
*** VDVsx_ <VDVsx_!~VDVsx@dsl-hkibrasgw1-58c019-114.dhcp.inet.fi> has quit IRC (Ping timeout: 240 seconds)09:10
*** Firnwath <Firnwath!~firnwath@2001:2003:58c1:5b58:ba27:ebff:feeb:9bd6> has quit IRC (Ping timeout: 265 seconds)09:11
*** inte_away <inte_away!~inte@unaffiliated/-inte-/x-2391039> has quit IRC (Ping timeout: 256 seconds)09:12
*** disharmonic <disharmonic!~disharmon@unaffiliated/disharmonic> has joined #sailfishos09:15
*** inte_awa` <inte_awa`!~inte@unaffiliated/-inte-/x-2391039> has quit IRC (Ping timeout: 256 seconds)09:17
*** hge <hge!~hge@2001:2060:53:beef:5d2d:94ca:5c3d:c5e6> has joined #sailfishos09:22
*** Sail0r <Sail0r!~Sailor@2a01:4f8:190:3484:1::ea77> has joined #sailfishos09:22
*** Nightmare___ <Nightmare___!~Nightmare@HSI-KBW-37-209-33-162.hsi15.kabel-badenwuerttemberg.de> has joined #sailfishos09:23
*** VDVsx <VDVsx!~VDVsx@dsl-hkibrasgw1-58c019-114.dhcp.inet.fi> has quit IRC (Ping timeout: 246 seconds)09:26
*** Nightmare__ <Nightmare__!~Nightmare@HSI-KBW-37-209-33-162.hsi15.kabel-badenwuerttemberg.de> has quit IRC (Ping timeout: 244 seconds)09:26
*** BBLobster <BBLobster!~BBLobster@176.77.89.15> has joined #sailfishos09:27
*** pketolai <pketolai!~pketolai@192.194.199.35> has joined #sailfishos09:36
*** VDVsx <VDVsx!~VDVsx@dsl-hkibrasgw1-58c019-114.dhcp.inet.fi> has joined #sailfishos09:36
*** giucam <giucam!~giucam@192.194.199.35> has joined #sailfishos09:36
*** giucam <giucam!~giucam@192.194.199.35> has quit IRC (Changing host)09:37
*** giucam <giucam!~giucam@qt/giucam> has joined #sailfishos09:37
*** VDVsx_ <VDVsx_!~VDVsx@dsl-hkibrasgw1-58c019-114.dhcp.inet.fi> has joined #sailfishos09:39
*** nazanin <nazanin!~nazanin@192.194.199.35> has joined #sailfishos09:39
*** sledges <sledges!~sleleiva@unaffiliated/sledgeas> has joined #sailfishos09:39
*** Nrsisti <Nrsisti!~lajohanss@192.194.199.35> has joined #sailfishos09:39
*** cybette <cybette!~cybette@unaffiliated/cybette> has joined #sailfishos09:40
*** Nightmare___ <Nightmare___!~Nightmare@HSI-KBW-37-209-33-162.hsi15.kabel-badenwuerttemberg.de> has quit IRC (Read error: Connection reset by peer)09:45
*** Firnwath <Firnwath!~firnwath@2001:2003:58c1:5b58:ba27:ebff:feeb:9bd6> has joined #sailfishos09:45
*** Nokius|mobile <Nokius|mobile!~Nokius|mo@p4FF77156.dip0.t-ipconnect.de> has joined #sailfishos09:48
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos09:48
*** Morpog_PC <Morpog_PC!~Morpog_PC@185.8.85.171> has quit IRC (Ping timeout: 244 seconds)09:49
*** Nokius|mobile <Nokius|mobile!~Nokius|mo@p4FF77156.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds)09:52
*** Oded_Vikhur <Oded_Vikhur!~OdedVikhu@46.166.188.234> has joined #sailfishos09:52
*** Oded_Vik1 <Oded_Vik1!~OdedVikhu@46.166.188.234> has joined #sailfishos09:54
*** Oded_Vik1 <Oded_Vik1!~OdedVikhu@46.166.188.234> has joined #sailfishos09:57
*** rashm2k <rashm2k!~rm@103.123.125.91.dyn.plus.net> has joined #sailfishos09:57
*** Oded_Vikhur <Oded_Vikhur!~OdedVikhu@46.166.188.234> has quit IRC (Ping timeout: 256 seconds)09:58
*** inte_away <inte_away!~inte@unaffiliated/-inte-/x-2391039> has joined #sailfishos10:00
*** Oded_Vik1 <Oded_Vik1!~OdedVikhu@46.166.188.234> has quit IRC (Quit: WeeChat 1.1.1)10:08
*** abertschi <abertschi!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has joined #sailfishos10:17
Pete8What would be best way to monitor FIFO file contents for changes? QSocketNotifier ?10:25
*** BBLobste_ <BBLobste_!~BBLobster@176.77.89.15> has joined #sailfishos10:30
*** BBLobster <BBLobster!~BBLobster@176.77.89.15> has quit IRC (Read error: Connection reset by peer)10:30
*** dirkvl_ <dirkvl_!~dirkvl@52D91535.cm-11-1a.dynamic.ziggo.nl> has joined #sailfishos10:49
*** dirkvl <dirkvl!~dirkvl@52D91535.cm-11-1a.dynamic.ziggo.nl> has quit IRC (Ping timeout: 244 seconds)10:53
*** Oded_Vikhur <Oded_Vikhur!~OdedVikhu@46.166.188.234> has joined #sailfishos10:53
*** arcean <arcean!~arcean@aacv157.neoplus.adsl.tpnet.pl> has quit IRC (Read error: Connection reset by peer)10:57
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 256 seconds)10:59
*** N-Mi__ <N-Mi__!~nicolas@adsl.n-mi.com> has quit IRC (Read error: Connection reset by peer)11:00
*** Shinryuu <Shinryuu!~shn@85-76-145-227-nat.elisa-mobile.fi> has quit IRC (Quit: outworld)11:01
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos11:02
coderusPete8: yes, good11:08
r0kk3rzlooks like it will do the job11:09
Pete8Ok. Where you think it should be located, to run continuously?11:09
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos11:09
coderusPete8: anywhere as pointer you can control11:09
Pete8http://stackoverflow.com/questions/6878507/using-qsocketnotifier-to-select-on-a-char-device11:09
Pete8That's what I found of it.11:10
r0kk3rzdefine 'should be located'11:10
Pete8I have main.cpp and myclass.cpp - which one?11:10
coderusabout jolla documentation: jolla using qt 5.2, so jolla own docs is about silica UI, all other stuff you SHOULD learn from qt.io website11:10
Pete8Ok. I just having hard time to understand for example this part:11:11
Pete8ConsoleReader::ConsoleReader(QObject *parent) :11:11
Pete8    QObject(parent),11:11
Pete8    notifier(STDIN_FILENO, QSocketNotifier::Read)11:11
Pete8{11:11
Pete8(from that previous link, last example).11:11
r0kk3rzPete8: thats up to you really, you're designing the app11:11
Pete8what heck happens here, line 3 for example?11:11
coderusPete8: it's initialization of notifier in class constructor11:11
coderussame with notifier = new QSocketNotifier(STDIN_FILENO, QSocketNotifier::Read)11:11
*** billtux <billtux!~wfleming@host31-50-108-243.range31-50.btcentralplus.com> has joined #sailfishos11:12
*** billtux <billtux!~wfleming@host31-50-108-243.range31-50.btcentralplus.com> has left #sailfishos11:12
Pete8I mean by locating; if I put it in my class function which reads that FIFO buffer, does notifier get killed after function is done?11:12
r0kk3rzyou'd need to keep it parented if you dont want it to get killed11:14
r0kk3rzthats true no matter where you put it11:14
*** Oded_Vikhur <Oded_Vikhur!~OdedVikhu@46.166.188.234> has quit IRC (Quit: WeeChat 1.1.1)11:14
coderusPete8: in this case it will be kille when app closed11:14
coderuslearn about QObject stuff11:14
coderusif you create notifier = new QSocketNotifier(STDIN_FILENO, QSocketNotifier::Read, this) then it will be destroyed when *this* will be deestroying11:15
Pete8whole QT is tough one. I came from world where main() runs forever loop of while() and everything happens inside of that :)11:15
Yanielthat's more or less what Qt does too11:15
r0kk3rzwell, this isnt so much qt, but more about application design11:16
Pete8Ok, what happens if I call that function repeatedly  ?11:16
Pete8(where that notifier is setup) ?11:16
r0kk3rzbut i suppose you are used to working procedurally rather than objecty11:17
Pete8you nailed it.11:17
r0kk3rzin which case its probably a good idea to read some Object Oriented Programming theory11:18
Pete8True. But I've managed already to get version what I 've wanted up and running. Now I just need to get that file watcher done ;)11:19
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 276 seconds)11:19
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos11:22
r0kk3rzin which case, create it in the main.cpp and it shouldnt get killed11:25
r0kk3rzthen connect your file watcher signal with your handler socket11:25
*** Sailor-2gether <Sailor-2gether!~Sailor@ipbcc243dc.dynamic.kabel-deutschland.de> has joined #sailfishos11:28
Pete8Ok, thanks. I will try this out.11:29
*** Sail0r <Sail0r!~Sailor@2a01:4f8:190:3484:1::ea77> has quit IRC (Ping timeout: 272 seconds)11:31
r0kk3rzbut if you want to get into application development, then i strongly suggest brushing up on your theory :P11:31
*** Sailor-2gether is now known as Sail0r11:32
*** Oded_Vikhur <Oded_Vikhur!~OdedVikhu@46.166.188.234> has joined #sailfishos11:33
Pete8Yeah, I learn by driving.11:35
r0kk3rzexcept you arent driving, you're riding a motorbike and trying to treat it like a car :P11:36
r0kk3rzyou can learn a lot by doing for sure, but you *need* the core concepts, without those...... yeah11:37
Pete8;)11:37
*** abertsch_ <abertsch_!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has joined #sailfishos11:37
Pete8You guys were already helpful, so I bet this is going to be great.11:37
*** abertsch_ <abertsch_!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has quit IRC (Remote host closed the connection)11:38
*** abertsch_ <abertsch_!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has joined #sailfishos11:39
*** abertschi <abertschi!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has quit IRC (Ping timeout: 256 seconds)11:40
coderusPete8: read http://doc.qt.io/qt-5/qobject.html starting from Detailed Description11:42
r0kk3rzyeah but most of us help others to help them learn and become better developers11:42
r0kk3rzcoding via proxy is just a very very inefficient way of writing a program11:42
Pete8True. I check that link. I am already pleased of what I am able to do with Jolla !11:44
*** Blizzz <Blizzz!~quassel@ubuntu/member/blizzz> has joined #sailfishos11:45
*** Oded_Vikhur <Oded_Vikhur!~OdedVikhu@46.166.188.234> has quit IRC (Quit: WeeChat 1.1.1)11:45
coderusyou can do everything, you just need OOP every time you coding anything :)11:46
Pete8Yeah. Does SDK/QT/Sailfish support external program launch from UI code? We have binary which needs to be run as daemon, and I was wondering about launching it from UI....11:49
*** Nc_ <Nc_!~nc@109.132.162.30> has quit IRC (Quit: This computer has gone to sleep)11:49
r0kk3rzwrap up your daemon in a systemd unit11:54
*** Oded_Vikhur <Oded_Vikhur!~OdedVikhu@46.166.188.234> has joined #sailfishos11:54
r0kk3rzbut yeah, you can start/stop daemons from the UI11:54
r0kk3rzbut you can just let systemd handle it11:55
Pete8Ok, that's what I believe I try. There is no need to run that all the time, so start/stop sequence would do.11:55
*** NickLeu <NickLeu!~nickleu@175.0.172.165> has joined #sailfishos11:55
r0kk3rzalso a good idea to look into nemo keepalive, otherwise you'll see some strange things when the phone goes into sleep mode11:56
Pete8That's what I've noticed :)11:56
entilapparently when you have a systemd unit you use dbus to command it11:57
entilhttps://github.com/custodian/harbour-systemmonitor/blob/master/app/systemmonitor.cpp#L102 pulled this off of google11:57
Pete8Ok, interesting-11:57
*** ejjoman <ejjoman!~ejjoman@p508ACFA6.dip0.t-ipconnect.de> has joined #sailfishos11:59
*** Oded_Vikhur <Oded_Vikhur!~OdedVikhu@46.166.188.234> has quit IRC (Quit: WeeChat 1.1.1)12:07
*** Oded_Vikhur <Oded_Vikhur!~OdedVikhu@46.166.188.234> has joined #sailfishos12:07
*** vakkov <vakkov!~vakkov@134.83.207.19> has quit IRC (Ping timeout: 244 seconds)12:08
mal-any idea why qsTrId does not work eventhough I have12:08
mal-            //% "Loading"12:08
mal-            text: qsTrId("my-ph-loading")12:08
mal-it shows that id when no translation is available but default .ts has <source>Loading</source>12:09
coderusmal-: you should install two translators12:10
mal-?12:11
mal-coderus: what do you mean?12:12
coderusfor selected and for default translation. but i think you should not deploy unfinished translations.12:12
mal-ok12:12
*** ejjoman <ejjoman!~ejjoman@p508ACFA6.dip0.t-ipconnect.de> has quit IRC (Quit: Konversation terminated!)12:14
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@211.100.51.120> has joined #sailfishos12:22
*** dirkvl_ is now known as dirkvl12:25
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 276 seconds)12:30
*** Sail0r <Sail0r!~Sailor@ipbcc243dc.dynamic.kabel-deutschland.de> has quit IRC (Quit: Leaving...)12:31
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos12:33
*** Shinryuu <Shinryuu!~shn@85-76-145-227-nat.elisa-mobile.fi> has joined #sailfishos12:34
mal-I still don't understand why it shows the value from source in other id but not in that12:35
mal-maybe the other comes from somewhere else12:35
mal-I just wanted to prevent translating the same text many times but since I don't seem to be able to set a default value for that so I'll have go back to translating it for every file12:37
*** BBLobste_ <BBLobste_!~BBLobster@176.77.89.15> has quit IRC (Remote host closed the connection)12:39
*** abertsch_ <abertsch_!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has quit IRC (Remote host closed the connection)12:40
*** abertschi <abertschi!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has joined #sailfishos12:41
*** tat <tat!~tat@p578E7F42.dip0.t-ipconnect.de> has joined #sailfishos12:55
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 256 seconds)12:56
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos12:59
*** tat <tat!~tat@p578E7F42.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection)13:08
Sfiet_Konstantinhi :)13:14
Sfiet_Konstantinsimple curiosity13:14
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has joined #sailfishos13:19
*** Behold <Behold!~behold@unaffiliated/beholdmyglory> has joined #sailfishos13:26
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has quit IRC (Ping timeout: 272 seconds)13:28
*** sletta <sletta!~sletta@77.17.70.25.tmi.telenormobil.no> has joined #sailfishos13:32
*** sletta <sletta!~sletta@77.17.70.25.tmi.telenormobil.no> has quit IRC (Client Quit)13:32
kimmoliqsocketnotifier sucks, imho. use QFileSystemWatcher, it is easier and seems to work much better that QSocketNotifier (or i just don't know how to use it, it just triggers continuously)13:34
kimmoliPete8: ^13:34
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has joined #sailfishos13:34
Pete8kimmoli: I have your template, with s2.cpp (main) and myclass.cpp as my own class definition. I have it all together now, except the fact that I need to observe my (tmp/fifo) input from daemon.13:35
Pete8You think I should put QFileSystemWatcher in place for monitorin that one?13:36
*** phako <phako!~phako@www.webstreams.de> has left #sailfishos ("Leaving")13:36
Pete8Do you happen to have any example at hand ?13:36
kimmolijust-a-moment13:36
*** dirkvl_ <dirkvl_!~dirkvl@x006040.ocp-s.tudelft.nl> has joined #sailfishos13:36
Pete8http://stackoverflow.com/questions/10044853/how-to-qfilesystemwatcher13:38
Pete8found that one13:38
*** dirkvl <dirkvl!~dirkvl@52D91535.cm-11-1a.dynamic.ziggo.nl> has quit IRC (Ping timeout: 272 seconds)13:40
kimmoliPete8: https://gist.github.com/kimmoli/762c8d4fb67bc00bd6bd13:45
*** Oded_Vikhur <Oded_Vikhur!~OdedVikhu@46.166.188.234> has quit IRC (Quit: WeeChat 1.1.1)13:46
Pete8Awesome!13:46
Pete8Thanks, let me try with this! Big thanks.13:46
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 276 seconds)13:52
*** r0kk3rz <r0kk3rz!~chatzilla@host-92-30-193-70.as13285.net> has quit IRC (Read error: Connection reset by peer)13:52
kimmolibut, yes, i would also do communication between daemon <-> app via dbus instead of /tmp/file13:53
*** r0kk3rz <r0kk3rz!~chatzilla@host-92-30-193-70.as13285.net> has joined #sailfishos13:53
*** krobelus_ <krobelus_!~u@62-46-235-154.adsl.highway.telekom.at> has joined #sailfishos13:53
Pete8I think that would be next step, but our code is built around /tmp/fifo communication in and out, so it's easier for us to test this functionality with this method.13:54
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has quit IRC (Ping timeout: 255 seconds)13:54
Pete8What's best method to call that Myclass::start on main CPP start?13:55
kimmoliwhere from that code is from, it was started by button13:56
Nicd-int main() { MyClass::start(); } :P13:56
kimmolibut you can call it from start of myclass13:56
Pete8Myclass.start();13:56
Pete8Yeah, almost right.13:56
Pete8Thanks13:56
*** krobelus <krobelus!~u@178-191-109-56.adsl.highway.telekom.at> has quit IRC (Ping timeout: 272 seconds)13:57
Pete8cannot call member function void Myclass:start() without object?13:58
kimmolicall it from myclass-start13:58
Pete8ok13:58
kimmoliJust pasted a lot, see here http://pastebin.com/RuYdxz1R13:58
Pete8ok, lets see :)13:59
Pete8it compiles, nice! I need to copy that code to Jolla for test run :)14:00
Pete8I just faced another thing. I have two Jolla devices, one which is working nicely with SDK - but another one I cannot do deployment (rsync gives permission problem).14:01
Pete8I did SCP to unit, installed RPM manually - buy maybe SDK is not liking more than one device. And yes, I have created two devices and they test connection just fine in SDK...14:01
Pete8Strange. I can live with this.14:01
Pete8Wow: Myclass::tmpFileProcess:43 - file "/tmp/aefifo_out" changed14:03
Pete8I believe it worked.14:03
*** r0kk3rz <r0kk3rz!~chatzilla@host-92-30-193-70.as13285.net> has quit IRC (Read error: Connection reset by peer)14:04
*** r0kk3rz_ <r0kk3rz_!~chatzilla@host-92-30-193-70.as13285.net> has joined #sailfishos14:04
*** r0kk3rz_ is now known as r0kk3rz14:04
*** Nc_ <Nc_!~nc@109.132.162.30> has joined #sailfishos14:09
*** Shinryuu <Shinryuu!~shn@85-76-145-227-nat.elisa-mobile.fi> has quit IRC (Quit: outworld part ii)14:13
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@211.100.51.120> has quit IRC (Ping timeout: 245 seconds)14:13
*** leinir <leinir!~leinir@amarok/usability/leinir> has quit IRC (Quit: Konversation terminated!)14:16
*** flywheel <flywheel!~flywheel@77.234.184.45> has quit IRC (Ping timeout: 256 seconds)14:17
*** onurati <onurati!~onurati@HSI-KBW-149-172-217-228.hsi13.kabel-badenwuerttemberg.de> has joined #sailfishos14:21
*** Mirv <Mirv!~tajyrink@ubuntu/member/mirv> has quit IRC (Ping timeout: 245 seconds)14:38
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos14:41
*** zhxt <zhxt!~zhxt@124.192.129.91> has quit IRC (Quit: Konversation terminated!)14:56
*** Sailor11736_ <Sailor11736_!~sailfish@mobile-access-5d6a7f-62.dhcp.inet.fi> has joined #sailfishos14:58
*** ejjoman <ejjoman!~ejjoman@p508ACFA6.dip0.t-ipconnect.de> has joined #sailfishos15:00
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 276 seconds)15:08
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos15:10
*** sletta <sletta!~sletta@konf-193-157-110-102.uio.no> has joined #sailfishos15:10
*** Shinryuu <Shinryuu!~shn@85-76-145-227-nat.elisa-mobile.fi> has joined #sailfishos15:11
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has joined #sailfishos15:12
*** sletta <sletta!~sletta@konf-193-157-110-102.uio.no> has quit IRC (Client Quit)15:13
*** ahiemstra <ahiemstra!~quassel@5353B635.cm-6-4c.dynamic.ziggo.nl> has quit IRC (Ping timeout: 244 seconds)15:26
*** dirkvl__ <dirkvl__!~dirkvl@52D91535.cm-11-1a.dynamic.ziggo.nl> has joined #sailfishos15:27
*** piggz <piggz!~piggz@host-80-43-93-242.as13285.net> has joined #sailfishos15:29
*** dirkvl_ <dirkvl_!~dirkvl@x006040.ocp-s.tudelft.nl> has quit IRC (Ping timeout: 240 seconds)15:30
*** ilmgb <ilmgb!~ilmgb@89.204.135.188> has joined #sailfishos15:31
*** ahiemstra <ahiemstra!~quassel@5353B635.cm-6-4c.dynamic.ziggo.nl> has joined #sailfishos15:31
*** BBLobster <BBLobster!~BBLobster@176.77.89.15> has joined #sailfishos15:33
*** piggz <piggz!~piggz@host-80-43-93-242.as13285.net> has quit IRC (Ping timeout: 256 seconds)15:42
*** dirkvl_ <dirkvl_!~dirkvl@x006040.ocp-s.tudelft.nl> has joined #sailfishos15:49
*** dirkvl__ <dirkvl__!~dirkvl@52D91535.cm-11-1a.dynamic.ziggo.nl> has quit IRC (Ping timeout: 272 seconds)15:52
*** abertschi <abertschi!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has quit IRC (Remote host closed the connection)16:00
*** abertschi <abertschi!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has joined #sailfishos16:01
*** ejjoman <ejjoman!~ejjoman@p508ACFA6.dip0.t-ipconnect.de> has quit IRC (Quit: Konversation terminated!)16:03
*** NickLeu <NickLeu!~nickleu@175.0.172.165> has quit IRC (Quit: WeeChat 1.1.1)16:05
*** onurati <onurati!~onurati@HSI-KBW-149-172-217-228.hsi13.kabel-badenwuerttemberg.de> has quit IRC (Ping timeout: 276 seconds)16:08
*** arcean <arcean!~arcean@nat1.finemedia.pl> has joined #sailfishos16:09
Pete8kimmoli: Thanks for all help. Now I am monitorin file and getting results from there just fine. I have only one question left. Now I invoke myclass value reading from QML file side, however it could be better to make this to happen from C++ code (eg when values are read, they should be pushed to QML) ? Any thoughts?16:10
kimmolithat is what the onChanged signal does16:11
Pete8ah, ok. Interesting. It's global for whole page?16:12
Pete8got it, thanks!16:14
kimmoliemh, it is automatic wihtin qml stuff, but in the MyClass {} you have also possibility to get e.g. onFileContentsChanged:16:14
kimmoliso the fileContentsChanged will become onFileContentsChanged automatically16:14
kimmoliand if you e.g. Label has text: myclass.fileContents it will also update automatically, when you say emit fileContentsChanged(); on c++ side16:15
kimmoliother way is to make a Label { id: mylabel }  and in  MyClass { id: myclass    onFileContentsChanged: mylabel.text = myclass.fileContents }16:16
Pete8hmm16:17
AccePete8: did you try reading something such as qmlbook.org yet? to get better overview on how qml itself works16:18
Pete8I have void Myclass::tmpFileProcess(QString name) which processses file and outputs to debug just fine what I'd like to have. Then i have another QString Myclass::readengine() which returns engine status text. But I am lacking knowledge, how do I pass strings from processing function to delivery function.16:18
Pete8Acce: I need to study that next, you're right. This one has to be ready before the book.16:19
Accealso, read about Qt signals and slots system16:19
Acceif you're unfamiliar with it16:19
Accebecause qml also heavily depends on this system, although implicitly16:20
kimmoliso you call readengine() from qml, and it returns the string you want there?16:20
Pete8kimmoli: yes.16:20
kimmoliso you make a private QString which you update from processing function, and readengine returns it ?16:21
Pete8And tmpFileProcess gets the data when file is changed.16:21
Pete8I assume that's the thing, class private QString keeps value between different functions?16:21
Pete8If so, I am saved!16:21
kimmoliyes, that is then basic c++ ??16:21
kimmoliso readengine is PROPERTY 016:22
kimmoli?16:22
Pete8Got it.16:22
Pete8Let me fix this ;) Thanks!!16:22
kimmolior engine, and readEngine is its READ function?16:22
kimmoliok.16:22
*** Nightmare__ <Nightmare__!~Nightmare@HSI-KBW-37-209-33-162.hsi15.kabel-badenwuerttemberg.de> has joined #sailfishos16:22
*** Nightmare__ <Nightmare__!~Nightmare@HSI-KBW-37-209-33-162.hsi15.kabel-badenwuerttemberg.de> has quit IRC (Read error: Connection reset by peer)16:23
scottcis it just me, or are the charging and discharging icons on the jolla really similar..?16:26
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has quit IRC (Ping timeout: 264 seconds)16:26
*** abertschi <abertschi!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has quit IRC (Remote host closed the connection)16:29
*** abertschi <abertschi!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has joined #sailfishos16:29
*** Nightmare__ <Nightmare__!~Nightmare@HSI-KBW-37-209-33-162.hsi15.kabel-badenwuerttemberg.de> has joined #sailfishos16:31
*** Ishmayeck <Ishmayeck!~Ishmayeck@n0t.today> has quit IRC (Ping timeout: 255 seconds)16:32
*** yangm <yangm!~yangm@187.180.214.87> has joined #sailfishos16:33
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has joined #sailfishos16:33
r0kk3rzyep16:35
r0kk3rzthe notification led helps though16:36
Pete8kimmoli: & others: Got it working. Now I have complete version of this baby done. Thanks for your patience, maybe I spot those books about the subject next..16:39
*** Ishmayeck <Ishmayeck!~Ishmayeck@n0t.today> has joined #sailfishos16:40
*** ahiemstra <ahiemstra!~quassel@5353B635.cm-6-4c.dynamic.ziggo.nl> has quit IRC (Ping timeout: 272 seconds)16:46
kimmoliPete8: np, imho to get something working kickstarts to study more, and "internet-searches-per-codeline" factor reduces by time :)16:49
Pete8You've been there ;)16:49
*** ahiemstra <ahiemstra!~quassel@5353B635.cm-6-4c.dynamic.ziggo.nl> has joined #sailfishos16:50
*** Shinryuu <Shinryuu!~shn@85-76-145-227-nat.elisa-mobile.fi> has quit IRC (Quit: diofsj)17:00
*** Shinryuu <Shinryuu!~shn@85-76-145-227-nat.elisa-mobile.fi> has joined #sailfishos17:01
*** dirkvl_ is now known as dirkvl17:02
*** piggz <piggz!~piggz@host-80-43-93-242.as13285.net> has joined #sailfishos17:03
*** ilmgb <ilmgb!~ilmgb@89.204.135.188> has quit IRC (Read error: Connection reset by peer)17:07
*** piggz <piggz!~piggz@host-80-43-93-242.as13285.net> has quit IRC (Client Quit)17:07
*** piggz <piggz!~piggz@host-80-43-93-242.as13285.net> has joined #sailfishos17:07
*** tat <tat!~tat@p578E7F42.dip0.t-ipconnect.de> has joined #sailfishos17:10
*** Nightmare__ <Nightmare__!~Nightmare@HSI-KBW-37-209-33-162.hsi15.kabel-badenwuerttemberg.de> has quit IRC (Read error: Connection reset by peer)17:10
*** zetaz <zetaz!~arno@vaf26-h02-176-149-45-183.dsl.sta.abo.bbox.fr> has joined #sailfishos17:11
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 276 seconds)17:13
*** tat <tat!~tat@p578E7F42.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 264 seconds)17:14
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos17:15
*** Sail0r <Sail0r!~Sailor@ipbcc243dc.dynamic.kabel-deutschland.de> has joined #sailfishos17:16
*** dv__ <dv__!~quassel@chello062178118086.5.14.vie.surfer.at> has joined #sailfishos17:19
*** dv_ <dv_!~quassel@chello062178118086.5.14.vie.surfer.at> has quit IRC (Ping timeout: 250 seconds)17:20
*** Nightmare__ <Nightmare__!~Nightmare@HSI-KBW-37-209-33-162.hsi15.kabel-badenwuerttemberg.de> has joined #sailfishos17:24
*** piggz <piggz!~piggz@host-80-43-93-242.as13285.net> has quit IRC (Ping timeout: 272 seconds)17:30
*** piggz <piggz!~piggz@host-80-43-93-242.as13285.net> has joined #sailfishos17:34
*** flywheel <flywheel!~flywheel@77.234.184.45> has joined #sailfishos17:36
*** rolsid <rolsid!~rolsid@31.165.147.0> has joined #sailfishos17:36
*** Mirv <Mirv!~tajyrink@ubuntu/member/mirv> has joined #sailfishos17:40
*** rolsid <rolsid!~rolsid@31.165.147.0> has quit IRC (Quit: Verlassend)17:44
toerbcan i define the english translation file of my app as standard for all languages which don't have a translation?17:45
toerbatm i have in the qml source qsTr("PasswordsText") and in the translation files some lines of text what should be at this place17:46
toerbthis works for all languages i have a translation17:47
toerbno i want the default to be english. users should see the english text about passwords and not "PasswordsText"17:47
*** flywheel__ <flywheel__!~flywheel@77.234.184.45> has joined #sailfishos17:49
*** flywheel <flywheel!~flywheel@77.234.184.45> has quit IRC (Ping timeout: 256 seconds)17:50
pvuorelatoerb: just use english text instead of that PasswordsText identifier.17:51
coderustoerb: in qsTr you should use actual untranslated (engineering english) text, fot qsTrId you should use some unique identifiers17:54
coderusfor*17:54
*** piggz <piggz!~piggz@host-80-43-93-242.as13285.net> has quit IRC (Ping timeout: 264 seconds)17:55
*** flywheel__ <flywheel__!~flywheel@77.234.184.45> has quit IRC (Ping timeout: 256 seconds)17:56
*** flywheel <flywheel!~flywheel@77.234.184.45> has joined #sailfishos17:56
*** piggz <piggz!~piggz@host-80-43-93-242.as13285.net> has joined #sailfishos17:59
*** Pete8 <Pete8!~Pete@87-93-79-84.bb.dnainternet.fi> has quit IRC (Remote host closed the connection)18:00
*** Sail0r <Sail0r!~Sailor@ipbcc243dc.dynamic.kabel-deutschland.de> has quit IRC (Read error: Connection reset by peer)18:04
*** Sail0r <Sail0r!~Sailor@ipbcc243dc.dynamic.kabel-deutschland.de> has joined #sailfishos18:06
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has quit IRC (Ping timeout: 272 seconds)18:13
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has joined #sailfishos18:15
*** newin <newin!~newin@114.199.55.41> has quit IRC (Quit: Lost terminal)18:17
*** onurati <onurati!~onurati@HSI-KBW-149-172-217-228.hsi13.kabel-badenwuerttemberg.de> has joined #sailfishos18:17
*** Nokius|mobile <Nokius|mobile!~Nokius|mo@p5DDB49E3.dip0.t-ipconnect.de> has joined #sailfishos18:18
*** zetaz <zetaz!~arno@vaf26-h02-176-149-45-183.dsl.sta.abo.bbox.fr> has left #sailfishos18:19
*** piggz <piggz!~piggz@host-80-43-93-242.as13285.net> has quit IRC (Quit: Konversation terminated!)18:24
*** Kabouik <Kabouik!~quassel@65.76.93.92.rev.sfr.net> has quit IRC (Read error: Connection reset by peer)18:25
*** piggz <piggz!~piggz@host-80-43-93-242.as13285.net> has joined #sailfishos18:25
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has quit IRC (Ping timeout: 255 seconds)18:25
*** daitheflu_ <daitheflu_!52f4c1f4@gateway/web/cgi-irc/kiwiirc.com/ip.82.244.193.244> has joined #sailfishos18:26
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has joined #sailfishos18:26
*** Kabouik <Kabouik!~quassel@65.76.93.92.rev.sfr.net> has joined #sailfishos18:27
*** anYc <anYc!anyc@home.hadiko.uni-karlsruhe.de> has quit IRC (Ping timeout: 245 seconds)18:28
*** anYc <anYc!anyc@home.hadiko.uni-karlsruhe.de> has joined #sailfishos18:34
*** anYc <anYc!anyc@home.hadiko.uni-karlsruhe.de> has quit IRC (Read error: Connection reset by peer)18:36
*** daitheflu_ <daitheflu_!52f4c1f4@gateway/web/cgi-irc/kiwiirc.com/ip.82.244.193.244> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)18:37
*** anYc <anYc!anyc@home.hadiko.uni-karlsruhe.de> has joined #sailfishos18:41
*** Nokius|mobile <Nokius|mobile!~Nokius|mo@p5DDB49E3.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds)18:43
*** anYc <anYc!anyc@home.hadiko.uni-karlsruhe.de> has quit IRC (Ping timeout: 246 seconds)18:45
*** Nokius|mobile <Nokius|mobile!~Nokius|mo@p5DDB49E3.dip0.t-ipconnect.de> has joined #sailfishos18:46
*** John944s2 <John944s2!508a9f99@gateway/web/freenode/ip.80.138.159.153> has joined #sailfishos18:46
*** anYc <anYc!anyc@home.hadiko.uni-karlsruhe.de> has joined #sailfishos18:47
*** msava <msava!~mircea@nl112-156-14.student.uu.se> has joined #sailfishos18:52
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 256 seconds)18:53
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos18:56
*** John944s2 <John944s2!508a9f99@gateway/web/freenode/ip.80.138.159.153> has left #sailfishos18:59
*** abertschi <abertschi!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has quit IRC (Remote host closed the connection)19:04
*** abertschi <abertschi!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has joined #sailfishos19:05
*** tat <tat!~tat@p4FE4FC41.dip0.t-ipconnect.de> has joined #sailfishos19:11
*** spider-mario <spider-mario!~spidermar@37.161.249.191> has joined #sailfishos19:11
*** ortylp <ortylp!~ortylp@HSI-KBW-46-223-189-254.hsi.kabel-badenwuerttemberg.de> has joined #sailfishos19:11
*** jjanvier <jjanvier!~jjanvier@cam44-h01-31-34-34-125.dsl.sta.abo.bbox.fr> has joined #sailfishos19:15
toerbcoderus: what if the replace for PasswordsText is very long?19:18
coderustoerb: replace?19:20
toerbthe english translations19:21
coderusif you using qsTr you should use normal english text, not any identifiers.19:21
coderustranslations are replacing english with selected language texts19:21
*** tortoisedoc <tortoisedoc!5b984c61@gateway/web/freenode/ip.91.152.76.97> has joined #sailfishos19:22
*** Joonardo <Joonardo!~sailfish@37-219-248-249.nat.bb.dnainternet.fi> has joined #sailfishos19:22
coderusyou generating ts file, uploading it to translators/transifex and users who want to translate see original text they need to translate properly, not stupid identifiers19:23
*** yangm <yangm!~yangm@187.180.214.87> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)19:23
coderusif you want to use identifiers then use qsTrId and write comments to each identifier with original english translation and description about usage this line in application19:23
tortoisedocyaps19:23
*** Kabouik_ <Kabouik_!~quassel@65.76.93.92.rev.sfr.net> has joined #sailfishos19:27
*** Joonardo <Joonardo!~sailfish@37-219-248-249.nat.bb.dnainternet.fi> has quit IRC (Quit: IRC for Sailfish 0.9)19:27
*** Kabouik <Kabouik!~quassel@65.76.93.92.rev.sfr.net> has quit IRC (Ping timeout: 246 seconds)19:27
*** Joonardo <Joonardo!~sailfish@37-219-248-249.nat.bb.dnainternet.fi> has joined #sailfishos19:27
*** AlmAck <AlmAck!~AlmAck@191.68.198.178.dynamic.wline.res.cust.swisscom.ch> has joined #sailfishos19:29
*** abertschi <abertschi!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has quit IRC (Remote host closed the connection)19:35
*** abertschi <abertschi!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has joined #sailfishos19:36
*** jjanvier <jjanvier!~jjanvier@cam44-h01-31-34-34-125.dsl.sta.abo.bbox.fr> has quit IRC (Remote host closed the connection)19:37
*** Nicd- <Nicd-!nicd@2a01:7e00:e001:2c01:dead:beef:15:f00d> has quit IRC (Quit: Zap)19:38
*** Nicd- <Nicd-!nicd@2a01:7e00:e001:2c01:dead:beef:15:f00d> has joined #sailfishos19:40
*** ejjoman <ejjoman!~ejjoman@p508ACFA6.dip0.t-ipconnect.de> has joined #sailfishos19:45
tortoisedocis there a way to specify post-build install scripts in the yaml file?19:46
*** jjanvier <jjanvier!~jjanvier@cam44-h01-31-34-34-125.dsl.sta.abo.bbox.fr> has joined #sailfishos19:47
*** onurati <onurati!~onurati@HSI-KBW-149-172-217-228.hsi13.kabel-badenwuerttemberg.de> has quit IRC (Ping timeout: 246 seconds)19:48
*** Nicd- <Nicd-!nicd@2a01:7e00:e001:2c01:dead:beef:15:f00d> has quit IRC (Remote host closed the connection)19:53
*** Shinryuu <Shinryuu!~shn@85-76-145-227-nat.elisa-mobile.fi> has quit IRC (Quit: WeeChat 1.1.1)19:54
*** Nicd- <Nicd-!nicd@2a01:7e00:e001:2c01:dead:beef:15:f00d> has joined #sailfishos19:54
*** Shinryuu <Shinryuu!~shn@85-76-145-227-nat.elisa-mobile.fi> has joined #sailfishos19:54
tortoisedoc....i guess the question should rather be WHY is there NO way to get post build install scripts defined in yaml files ?:D19:57
*** ortylp <ortylp!~ortylp@HSI-KBW-46-223-189-254.hsi.kabel-badenwuerttemberg.de> has quit IRC (Quit: Leaving.)19:57
*** abertschi <abertschi!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has quit IRC ()19:58
*** abertschi <abertschi!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has joined #sailfishos20:01
r0kk3rzthe other question is why you're still using the yaml file20:02
coderusi don't understand why anybody need yaml if there is spec20:02
r0kk3rzyeah.. the yaml generates the spec, which you can just do yourself20:03
coderuswho generates yaml and why??20:04
r0kk3rztortoisedoc: https://wiki.merproject.org/wiki/Spectacle20:07
r0kk3rzlooks like it will do it20:08
tortoisedoccrappy qt creator needs yaml?20:08
* tortoisedoc confused20:08
*** Shinryuu <Shinryuu!~shn@85-76-145-227-nat.elisa-mobile.fi> has quit IRC (Quit: hihi)20:09
r0kk3rzit almost seems like a mer thing...20:10
r0kk3rznot much comes up on googles other than that merproject link20:10
tortoisedoci think fedora uses yaml20:10
tortoisedocfor some whatever reason only satan might now20:10
tortoisedoc*know20:11
r0kk3rzeither way, you can just do away with the whole yaml thing and just write whatever you want in the spec20:11
r0kk3rzand the job will get done20:11
r0kk3rzmight be a case of NIH20:11
*** jjanvier <jjanvier!~jjanvier@cam44-h01-31-34-34-125.dsl.sta.abo.bbox.fr> has quit IRC (Quit: Konversation terminated!)20:12
*** BBLobster <BBLobster!~BBLobster@176.77.89.15> has quit IRC (Remote host closed the connection)20:13
tortoisedocr0kk3rz : might be a case of boredness20:13
*** jjanvier <jjanvier!~jjanvier@cam44-h01-31-34-34-125.dsl.sta.abo.bbox.fr> has joined #sailfishos20:13
tortoisedochas anyone of you guys ever worked with mime types20:14
tortoisedoclike installing new ones, registering etc20:14
r0kk3rzive been meaning to figure that out20:15
tortoisedocid have a specific question20:16
tortoisedoclike how comes my sub-class mime types are not recognized by xdg-mime20:16
r0kk3rzthen id suggest reading up on xdg-mime and xdg-open20:17
r0kk3rzhttps://wiki.archlinux.org/index.php/Default_applications#Using_MIME_types_and_desktop_entries20:19
r0kk3rzthis looks useful20:19
r0kk3rzscroll down to the bit about 'custom file associations"20:19
coderusonly registered mime types by hands in gui :)20:20
*** dafox <dafox!~dafox@ip565ed369.direct-adsl.nl> has joined #sailfishos20:26
*** Nokius|mobile <Nokius|mobile!~Nokius|mo@p5DDB49E3.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection)20:27
*** Nokius|mobile <Nokius|mobile!~Nokius|mo@p5DDB49E3.dip0.t-ipconnect.de> has joined #sailfishos20:28
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 265 seconds)20:34
*** BBLobster <BBLobster!~BBLobster@176.77.89.15> has joined #sailfishos20:37
tortoisedochmm perhaps I need to adjust my subtype's priority...20:44
*** jjanvier <jjanvier!~jjanvier@cam44-h01-31-34-34-125.dsl.sta.abo.bbox.fr> has quit IRC (Quit: Konversation terminated!)20:45
*** jjanvier <jjanvier!~jjanvier@cam44-h01-31-34-34-125.dsl.sta.abo.bbox.fr> has joined #sailfishos20:45
scottccross-posting from #jolla20:46
scottccrack in my jolla's screen... :(20:46
scottclcd is fine, touch still works, just the outer glass :([A20:46
scottcanyone know if it's easy to replace?20:47
scottcugh, nevermind, apparently i'd have to replace the entire LCD...20:48
tortoisedochm20:48
tortoisedocmight be cheaper to buy a new one? :)20:48
scottci've only had it for two months :/20:49
tortoisedocoho20:49
tortoisedocbad luck dude20:49
tortoisedoc.(20:49
scottc:(20:49
tortoisedocmaybe the guys @ jolla care can fix it with warranty=?20:49
*** dirkvl_ <dirkvl_!~dirkvl@52D91535.cm-11-1a.dynamic.ziggo.nl> has joined #sailfishos20:49
scottcIt's my own fault, I don't think they'd cover it unfortunately :(20:50
*** nib <nib!~nib@109.110.66.191> has quit IRC (Ping timeout: 246 seconds)20:52
*** dirkvl <dirkvl!~dirkvl@x006040.ocp-s.tudelft.nl> has quit IRC (Ping timeout: 256 seconds)20:53
*** Sail0r <Sail0r!~Sailor@ipbcc243dc.dynamic.kabel-deutschland.de> has quit IRC (Quit: Leaving...)20:53
*** Nokius|mobile <Nokius|mobile!~Nokius|mo@p5DDB49E3.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds)20:58
*** anYc <anYc!anyc@home.hadiko.uni-karlsruhe.de> has quit IRC (Ping timeout: 272 seconds)21:00
*** dirkvl_ <dirkvl_!~dirkvl@52D91535.cm-11-1a.dynamic.ziggo.nl> has quit IRC (Quit: Leaving)21:01
scottci sent them a mail anyway, will at least get a quote...21:01
scottctypical though, fucking typical21:03
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos21:03
*** anYc <anYc!~anyc@home.hadiko.uni-karlsruhe.de> has joined #sailfishos21:06
scottcfyi tortoisedoc i got an autoreply asking me to use zendesk21:07
tortoisedocheh21:08
*** Umeaboy <Umeaboy!~Umeaboy@c-94-255-156-119.cust.bredband2.com> has joined #sailfishos21:09
*** attah <attah!~attah@h-176-10-249-228.na.cust.bahnhof.se> has quit IRC (Quit: Connection reset by beer)21:14
*** Blizzz <Blizzz!~quassel@ubuntu/member/blizzz> has quit IRC (Ping timeout: 246 seconds)21:15
*** Gehock <Gehock!~sami@dsl-jklbrasgw2-54f8a9-137.dhcp.inet.fi> has quit IRC (Ping timeout: 265 seconds)21:17
*** ced117 <ced117!~ced117@opensuse/member/ced117> has quit IRC (Quit: Quitte)21:19
*** Gehock <Gehock!~sami@dsl-jklbrasgw2-54f8a9-137.dhcp.inet.fi> has joined #sailfishos21:24
*** Nightmare__ <Nightmare__!~Nightmare@HSI-KBW-37-209-33-162.hsi15.kabel-badenwuerttemberg.de> has quit IRC (Read error: Connection reset by peer)21:28
*** Nightmare__ <Nightmare__!~Nightmare@HSI-KBW-37-209-33-162.hsi15.kabel-badenwuerttemberg.de> has joined #sailfishos21:29
*** Nightmare__ <Nightmare__!~Nightmare@HSI-KBW-37-209-33-162.hsi15.kabel-badenwuerttemberg.de> has quit IRC (Read error: Connection reset by peer)21:30
*** piggz <piggz!~piggz@host-80-43-93-242.as13285.net> has quit IRC (Ping timeout: 265 seconds)21:32
*** spider-mario <spider-mario!~spidermar@37.161.249.191> has quit IRC (Read error: Connection reset by peer)21:33
*** spider-mario <spider-mario!~spidermar@37.161.249.191> has joined #sailfishos21:34
*** dafox <dafox!~dafox@ip565ed369.direct-adsl.nl> has quit IRC (Ping timeout: 264 seconds)21:37
*** rashm2k <rashm2k!~rm@103.123.125.91.dyn.plus.net> has quit IRC (Ping timeout: 245 seconds)21:41
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 256 seconds)21:46
*** krnlyng <krnlyng!~liar@83.175.90.24> has quit IRC (Ping timeout: 256 seconds)21:48
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos21:49
*** nodevel <nodevel!~james@195.113.242.135> has joined #sailfishos21:50
*** flywheel__ <flywheel__!~flywheel@77.234.184.45> has joined #sailfishos21:59
*** flywheel <flywheel!~flywheel@77.234.184.45> has quit IRC (Ping timeout: 256 seconds)22:01
*** jjanvier <jjanvier!~jjanvier@cam44-h01-31-34-34-125.dsl.sta.abo.bbox.fr> has quit IRC (Quit: Konversation terminated!)22:06
*** tortoisedoc <tortoisedoc!5b984c61@gateway/web/freenode/ip.91.152.76.97> has quit IRC (Ping timeout: 246 seconds)22:09
*** disharmonic <disharmonic!~disharmon@unaffiliated/disharmonic> has quit IRC (Quit: Leaving)22:15
*** Nokius_ <Nokius_!~Nokius@p5DDB440A.dip0.t-ipconnect.de> has joined #sailfishos22:17
*** arcean <arcean!~arcean@nat1.finemedia.pl> has quit IRC (Quit: App terminated!)22:18
*** AlmAck <AlmAck!~AlmAck@191.68.198.178.dynamic.wline.res.cust.swisscom.ch> has quit IRC (Quit: Konversation terminated!)22:18
*** ejjoman <ejjoman!~ejjoman@p508ACFA6.dip0.t-ipconnect.de> has quit IRC (Quit: Konversation terminated!)22:18
*** Nokius <Nokius!~Nokius@p5DDB49E3.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 264 seconds)22:21
*** krnlyng <krnlyng!~liar@83.175.90.24> has joined #sailfishos22:24
*** SirCmpwn is now known as SirCmpwnTest22:28
*** SirCmpwnTest is now known as SirCmpwn22:28
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has joined #sailfishos22:37
*** Umeaboy <Umeaboy!~Umeaboy@c-94-255-156-119.cust.bredband2.com> has quit IRC (Quit: Leaving)22:40
*** nodevel <nodevel!~james@195.113.242.135> has quit IRC (Ping timeout: 244 seconds)22:42
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 256 seconds)22:51
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos22:54
*** tat <tat!~tat@p4FE4FC41.dip0.t-ipconnect.de> has joined #sailfishos22:56
*** r0kk3rz <r0kk3rz!~chatzilla@host-92-30-193-70.as13285.net> has quit IRC (Ping timeout: 255 seconds)22:57
*** abertschi <abertschi!~abertschi@215.52.62.81.dynamic.wline.res.cust.swisscom.ch> has quit IRC ()22:59
*** nodevel <nodevel!~james@29.169.broadband10.iol.cz> has joined #sailfishos23:00
*** tat <tat!~tat@p4FE4FC41.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection)23:09
*** Nc_ <Nc_!~nc@109.132.162.30> has quit IRC (Quit: This computer has gone to sleep)23:10
*** SirCmpwn is now known as SirCmpwnTest23:11
*** SirCmpwnTest is now known as SirCmpwn23:11
*** cxl000 <cxl000!~cxl000@c27-253-5-120.brodm4.vic.optusnet.com.au> has quit IRC (Quit: Leaving)23:21
*** inte_awa` <inte_awa`!~inte@p5B041A4E.dip0.t-ipconnect.de> has joined #sailfishos23:30
*** inte_awa` <inte_awa`!~inte@p5B041A4E.dip0.t-ipconnect.de> has quit IRC (Changing host)23:30
*** inte_awa` <inte_awa`!~inte@unaffiliated/-inte-/x-2391039> has joined #sailfishos23:30
*** oida <oida!~oida@unaffiliated/oida> has quit IRC (Ping timeout: 256 seconds)23:32
*** inte_away <inte_away!~inte@unaffiliated/-inte-/x-2391039> has quit IRC (Ping timeout: 252 seconds)23:32
*** roboro <roboro!~ro@dsl-217-155-19-70.zen.co.uk> has quit IRC (Ping timeout: 255 seconds)23:34
*** oida <oida!~oida@unaffiliated/oida> has joined #sailfishos23:35
*** olafh__ <olafh__!~olafh@p5B25BAB9.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 250 seconds)23:35

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