*** meShell_ has quit IRC | 00:04 | |
*** guaqua has joined #sailfishos | 00:26 | |
*** itbaron has quit IRC | 00:26 | |
*** leinir has quit IRC | 00:39 | |
*** leinir has joined #sailfishos | 00:43 | |
*** amonk has joined #sailfishos | 00:50 | |
*** amonk has quit IRC | 00:50 | |
*** b0bben has joined #sailfishos | 00:53 | |
*** spider-mario has quit IRC | 00:57 | |
*** b0bben has quit IRC | 00:57 | |
*** zhost has quit IRC | 01:00 | |
*** master_o1_master has joined #sailfishos | 01:01 | |
*** Mastroz has joined #sailfishos | 01:01 | |
*** Mastroz has quit IRC | 01:02 | |
*** amonk has joined #sailfishos | 01:02 | |
*** _miqu_ has quit IRC | 01:03 | |
*** master_of_master has quit IRC | 01:04 | |
*** amonk has quit IRC | 01:04 | |
*** amonk has joined #sailfishos | 01:07 | |
*** matoking has quit IRC | 01:09 | |
*** ljp has joined #sailfishos | 01:16 | |
*** lpotter has quit IRC | 01:17 | |
*** isthatme has joined #sailfishos | 01:27 | |
isthatme | hrmmm.... just wondering | 01:27 |
---|---|---|
isthatme | does anyone know if there's a nexus 4 port for sailfish yet? | 01:27 |
*** AlmAck has quit IRC | 01:47 | |
MSameer | Elleo: might be qtmultimedia | 01:51 |
MSameer | isthatme: no but should not be hard to do | 01:53 |
MSameer | isthatme: jolla runs on qualcomm and nexus4 too | 01:53 |
MSameer | not the same chipset but it's still close | 01:54 |
isthatme | sooo, jolla runs on the nexus 4? | 01:55 |
isthatme | please elaborate | 01:56 |
MSameer | no | 01:56 |
MSameer | nexus4 and jolla both use qualcomm chipset | 01:56 |
isthatme | ooooh | 01:56 |
MSameer | they are not similar but close | 01:56 |
isthatme | okay | 01:56 |
MSameer | so it is possible to get it to run | 01:56 |
MSameer | in theory you can get sailfish to run on any android device | 01:57 |
MSameer | but it is not a straight forward process | 01:58 |
isthatme | yeah | 01:58 |
isthatme | it wasn't whether or not it could run | 01:58 |
isthatme | but more so if there was a port yet | 01:58 |
MSameer | sorry i misunderstood | 01:58 |
isthatme | meh | 02:00 |
MSameer | Elleo: do you have a stack trace? | 02:00 |
isthatme | text is often inefficient | 02:00 |
*** triggerhappy has joined #sailfishos | 02:02 | |
Elleo | MSameer: http://pastebin.com/98pt8GX7 | 02:03 |
*** Andy80 has joined #sailfishos | 02:03 | |
Elleo | MSameer: it seems to happen when the MediaPlayer element is in its buffering state | 02:04 |
Elleo | but only happens something like once in every 10 source changes | 02:04 |
MSameer | i can't find the qml viewer to view qml files | 02:04 |
Elleo | MSameer: /usr/lib/qt5/bin/qmlscene | 02:05 |
MSameer | which package provides that? | 02:05 |
Elleo | qt5-qtdeclarative-qmlscene | 02:05 |
MSameer | qt5-qtdeclarative-qmlscene | 02:05 |
MSameer | found it | 02:05 |
Elleo | :) | 02:05 |
MSameer | thanks :) | 02:05 |
Elleo | don't feel you have to look in to this immediately or anything though; just when you get a chance it'd be good to get it fixed (it's causing problems for my libre.fm radio client, but there's lots of other work I need to do on that too, so it's not stopping stuff progressing) | 02:07 |
MSameer | can it be reported as a bug in together. ? | 02:07 |
Elleo | sure | 02:07 |
MSameer | then it won't get lost :) | 02:08 |
MSameer | Program received signal SIGSEGV, Segmentation fault. | 02:09 |
MSameer | [Switching to Thread 0x48fa13f0 (LWP 2966)] | 02:09 |
MSameer | malloc_consolidate (av=0x43f00010) at malloc.c:4235 | 02:09 |
MSameer | wth | 02:09 |
Elleo | I find all the best bugs :P | 02:10 |
MSameer | that's fine :) | 02:10 |
MSameer | 4235malloc.c: No such file or directory. | 02:11 |
MSameer | this is serious :p | 02:11 |
MSameer | Elleo: BTW it's better if you do: initialPage: Component { } | 02:12 |
MSameer | no idea why though :P | 02:12 |
Elleo | MSameer: okay, thanks :) | 02:12 |
MSameer | that crash is really strange | 02:13 |
MSameer | my bt is different than yours | 02:13 |
MSameer | looks liks memory corruption | 02:14 |
MSameer | like | 02:14 |
*** Sazpaimon has quit IRC | 02:15 | |
*** Sazpaimon has joined #sailfishos | 02:15 | |
*** raven24 is now known as raven24^{off} | 02:15 | |
Elleo | MSameer: https://together.jolla.com/question/7995/qml-mediaplayer-segfaults-when-changing-source-with-ogg-vorbis-over-http/ :) | 02:17 |
tango_ | MSameer: btw if you want to run qml apps in sailfish you should use sailfish-qml instead | 02:17 |
MSameer | Elleo: thanks | 02:18 |
MSameer | tango_: what is that? | 02:18 |
Elleo | tango_: that requires shoving them in specific directories though | 02:18 |
Andy80 | you guys never sleep :) | 02:18 |
Andy80 | Happy GNU Year! :D | 02:18 |
Elleo | tango_: this is just for a hacky little test :) | 02:18 |
tango_ | MSameer: THE tool to run qml apps designed for sailfish | 02:18 |
Elleo | happy new year Andy80 :) | 02:18 |
MSameer | Andy80: no :) | 02:18 |
tango_ | Elleo: yep, it does: /usr/share/appname/qml/appname.qml | 02:18 |
MSameer | happy new year :) | 02:18 |
MSameer | tango_: thanks for telling me :) | 02:19 |
* tango_ just got back from driving a couple of friends of his home | 02:19 | |
tango_ | they liked the jolla | 02:19 |
Elleo | cool | 02:19 |
tango_ | we do need spaceteam for sailfishos though | 02:19 |
*** softmetz_ has joined #sailfishos | 02:19 | |
MSameer | tango_: where do I get that from? | 02:19 |
Elleo | MSameer: libsailfishapp-launcher I think | 02:20 |
tango_ | something like that | 02:20 |
tango_ | pkcon search file /usr/bin/sailfish-qml is your friend | 02:20 |
Elleo | MSameer: it'll only work with that test file if you move it to /usr/share/oggcrash/qml/oggcrash.qml though (then launch sailfish-qml oggcrash) | 02:20 |
tango_ | MSameer: ^ also, as mentioned above, the main qml MUST go in /usr/share/appname/qml/appname.qml | 02:21 |
tango_ | AND you launch it as sailfish-qml appname | 02:21 |
MSameer | how do you guys learn all these tricks :D | 02:21 |
tango_ | by reading the documentation and asking the people in the know | 02:21 |
Elleo | and running any application that sounds interesting :P | 02:21 |
MSameer | :) | 02:22 |
tango_ | also, my sdk segfaults while compiling, so writing pure qml apps is my only way for now ;-) | 02:22 |
tango_ | too bad I can only go that far with it, since I wanted to port sgt-puzzles | 02:22 |
*** softmetz has quit IRC | 02:23 | |
MSameer | Elleo: I get a different bt but the bt I get gives me the creeps | 02:23 |
tango_ | oh well, I managed to learn a lot just by doing a nice qml launcher | 02:23 |
Elleo | MSameer: you're welcome ;) | 02:23 |
Elleo | new years nightmares, courtesy of Elleo | 02:23 |
MSameer | hehe | 02:23 |
MSameer | i won't fix it or do anything now as I am on vacation with a not-so good connection | 02:24 |
Elleo | no worries, as long as it's on someone's radar I'm happy :) | 02:24 |
* tango_ should probably go to bed now | 02:24 | |
MSameer | now it's a bit different | 02:25 |
*** Andy80 has quit IRC | 02:25 | |
Elleo | and I have to say getting stuff fixed on sailfish is far easier than pretty much any other platform I've worked with (and that's a lot of platforms) due to how awesome you all are :) | 02:25 |
MSameer | looks like invalid memory reference to me | 02:25 |
MSameer | thank you :D | 02:26 |
MSameer | Elleo: always push stuff to together. that's the way to give feedback | 02:26 |
MSameer | problem is holiday season these days | 02:27 |
Elleo | MSameer: okay, will do | 02:27 |
MSameer | but otherwise together is the way | 02:27 |
Elleo | yeah, I've been a bit haphazard so far | 02:27 |
Elleo | but I think everything I've reported is on together now, except for one fix I managed to get sorted upstream in mer | 02:28 |
*** b0bben has joined #sailfishos | 02:41 | |
*** jjarven has quit IRC | 02:41 | |
*** Morpog_Mobile has quit IRC | 02:42 | |
*** b0bben has quit IRC | 02:45 | |
MSameer | i wonder if i should drop n9 support or not for my apps | 02:50 |
*** ShadowJK has quit IRC | 02:56 | |
*** jjarven has joined #sailfishos | 02:57 | |
*** ShadowJK has joined #sailfishos | 02:57 | |
*** isthatme has quit IRC | 03:01 | |
*** furikku has joined #sailfishos | 03:19 | |
*** ced117 has quit IRC | 03:21 | |
*** ced117 has joined #sailfishos | 03:35 | |
*** b0bben has joined #sailfishos | 04:30 | |
*** b0bben has quit IRC | 04:35 | |
*** sdjayna1 has joined #sailfishos | 05:21 | |
*** sdjayna has quit IRC | 05:25 | |
*** phaeron has joined #sailfishos | 05:27 | |
*** Morpog_Mobile has joined #sailfishos | 05:54 | |
*** ericcc has joined #sailfishos | 06:04 | |
*** ericcc_ has joined #sailfishos | 06:14 | |
*** ericcc has quit IRC | 06:16 | |
*** ericcc has joined #sailfishos | 06:17 | |
*** b0bben has joined #sailfishos | 06:18 | |
*** ericcc_ has quit IRC | 06:19 | |
*** ericcc has quit IRC | 06:22 | |
*** ericcc has joined #sailfishos | 06:22 | |
*** b0bben has quit IRC | 06:23 | |
*** phaeron has quit IRC | 06:26 | |
*** phdeswer has quit IRC | 06:31 | |
*** ericcc_ has joined #sailfishos | 06:33 | |
*** ericcc has quit IRC | 06:36 | |
*** ericcc_ has quit IRC | 06:39 | |
*** ericcc has joined #sailfishos | 06:39 | |
*** planasb has quit IRC | 06:46 | |
*** planasb has joined #sailfishos | 06:46 | |
*** planasb has joined #sailfishos | 06:46 | |
*** ericcc_ has joined #sailfishos | 06:49 | |
*** ericcc has quit IRC | 06:52 | |
*** ericcc_ has quit IRC | 06:54 | |
*** ericcc has joined #sailfishos | 07:01 | |
*** yanliang has joined #sailfishos | 07:16 | |
*** yanliang is now known as brad_qqq | 07:17 | |
*** phaeron has joined #sailfishos | 07:36 | |
*** itbaron has joined #sailfishos | 08:04 | |
*** b0bben has joined #sailfishos | 08:06 | |
*** b0bben has quit IRC | 08:10 | |
*** thedead1440_ has joined #sailfishos | 08:11 | |
*** dhbiker has joined #sailfishos | 08:16 | |
*** phaeron has quit IRC | 08:29 | |
*** kaari has joined #sailfishos | 09:21 | |
*** Sviox has joined #sailfishos | 09:26 | |
*** cdp has joined #sailfishos | 09:26 | |
*** Finleida has joined #sailfishos | 09:34 | |
*** matoking has joined #sailfishos | 09:39 | |
*** _miqu_ has joined #sailfishos | 09:41 | |
*** b0bben has joined #sailfishos | 09:49 | |
matoking | I have a very tall SilicaGridView attached to a SilicaFlickable | 09:52 |
matoking | The SilicaFlickable has the size of the screen, whereas the SilicaGridView has a lot of Image elements in it | 09:53 |
matoking | The problem I'm having is that even though the SilicaGridView is inside a narrow SilicaFlickable element, it seems to think that every element inside it is visible at any given time | 09:53 |
matoking | Which causes all of the thumbnails to be requested at the same time | 09:54 |
matoking | I did try making a function that goes through the Image elements and removes their source based on whether it's actually visible but that only made things slower than they were already :P | 09:56 |
*** mikkosssss has joined #sailfishos | 09:56 | |
matoking | So, I guess what I'm trying to do is to get the SilicaGridView to recognize its actual area correctly | 09:57 |
matoking | *actual visible area | 09:57 |
*** crevetor has quit IRC | 10:04 | |
tango_ | matoking: is the model for the gridview built all in one go? | 10:06 |
*** crevetor has joined #sailfishos | 10:07 | |
tango_ | if not, you may want to consider adding stuff until you are, say, a couple of elements beyond the gridview | 10:07 |
tango_ | and then adding more as the user scrolls | 10:07 |
tango_ | of course you'll have to factor in latency if your stuff is on the net | 10:07 |
*** b0bben has quit IRC | 10:07 | |
*** matoking has quit IRC | 10:08 | |
*** b0bben has joined #sailfishos | 10:08 | |
*** b0bben has quit IRC | 10:12 | |
*** freedomrun has joined #sailfishos | 10:13 | |
*** Frye has joined #sailfishos | 10:21 | |
*** Frye has quit IRC | 10:21 | |
*** Frye has joined #sailfishos | 10:21 | |
*** super_hirsute has quit IRC | 10:24 | |
*** Frye has quit IRC | 10:35 | |
*** zhost has joined #sailfishos | 10:37 | |
*** sequantz has joined #sailfishos | 10:41 | |
*** nsuffys has joined #sailfishos | 10:43 | |
*** KangOl has joined #sailfishos | 10:45 | |
*** b0bben has joined #sailfishos | 10:47 | |
*** Tumex_ has joined #sailfishos | 10:51 | |
*** b0bben_ has joined #sailfishos | 10:54 | |
*** Andy80 has joined #sailfishos | 10:55 | |
*** zhost has quit IRC | 11:00 | |
*** b0bben has quit IRC | 11:05 | |
*** b0bben has joined #sailfishos | 11:05 | |
*** onurati has joined #sailfishos | 11:05 | |
*** matoking has joined #sailfishos | 11:06 | |
*** meShell_ has joined #sailfishos | 11:09 | |
*** ro has quit IRC | 11:09 | |
*** meShell_ has quit IRC | 11:09 | |
*** b0bben has quit IRC | 11:09 | |
*** Venemo has joined #sailfishos | 11:10 | |
*** ro has joined #sailfishos | 11:12 | |
*** b0bben has joined #sailfishos | 11:27 | |
*** Superpelican_ has joined #sailfishos | 11:28 | |
Andy80 | after I've renamed my application, I cannot do "Deploy as binary". It compiles without errors, but when I run it to deploy the binary on the device, at the end I get this: bash: /opt/sdk/SailSoma/usr/bin/harbour-sailsoma: No such file or directory | 11:31 |
Andy80 | how ca I fix this? | 11:31 |
celeron55 | why can't i get anything to appear on the screen by using sdl2 or wayland? | 11:32 |
celeron55 | the program runs fine and thinks it has a window/surface/whatever, but nothing appears in the emulator screen | 11:33 |
celeron55 | this is quite frustrating; it's like everything worked but nothing works | 11:33 |
celeron55 | Andy80: the part of the log where it installs it would be useful i guess | 11:37 |
*** _miqu_ has quit IRC | 11:38 | |
Andy80 | celeron55 this one http://pastebin.com/x1RqjJpX ? | 11:38 |
Superpelican_ | celeron55: aren't you the author of Minetest :D? | 11:40 |
celeron55 | Superpelican_: yes, altough that's quite irrelevant | 11:41 |
matoking | Don't be so humble :P | 11:41 |
* Superpelican_ dreams of Minetest on a Jolla | 11:41 | |
matoking | Anyway, l have a super tall SilicaGridView on a normal screen-sized SilicaFlickable | 11:42 |
celeron55 | it actually would run fine on jolla; but i can't get anything to work except some useless Qt example | 11:42 |
matoking | SIlicaGridView thinks all of its objects are visible at all times | 11:42 |
celeron55 | does there exist a person who has actually run SDL2 programs on this thing? | 11:43 |
matoking | This makes it unnecessarily load every Image element on the grid view | 11:43 |
celeron55 | or wayland+ogles2? | 11:43 |
matoking | Any idea what to do about that? | 11:43 |
celeron55 | googling is almost useless | 11:43 |
celeron55 | and wayland's practical documentation seems to be based on header files | 11:43 |
celeron55 | it's ridiculous | 11:43 |
*** b0bben_ has quit IRC | 11:47 | |
*** jjanvier has joined #sailfishos | 11:48 | |
*** spider-mario has joined #sailfishos | 11:50 | |
*** Naranek has joined #sailfishos | 11:51 | |
*** Morpog_PC has joined #sailfishos | 11:52 | |
*** b0bben_ has joined #sailfishos | 11:57 | |
*** Superpelican_ has quit IRC | 11:59 | |
*** cvp has joined #sailfishos | 12:08 | |
cvp | Happy New Yeah :D | 12:09 |
*** Superpelican_ has joined #sailfishos | 12:10 | |
matoking | I figured a sensible solution to that issue I was having | 12:13 |
matoking | Ah screw it it's actually an ugly hack | 12:13 |
matoking | Which involves changing pulley menus' y positions manually among some other things | 12:14 |
*** b0bben_ has quit IRC | 12:16 | |
*** atiti has joined #sailfishos | 12:21 | |
matoking | Holy hell it's almost working except that the pulley menu flashes for a second when I pull it | 12:22 |
*** jjarven has quit IRC | 12:22 | |
*** zhost has joined #sailfishos | 12:22 | |
*** Superpelican_ has quit IRC | 12:32 | |
*** Andy80 has quit IRC | 12:32 | |
matoking | Okay, maybe I'll just take a break until I figure out a way that doesn't involve breaking every single paradigm of responsive UI design | 12:33 |
lbt | hehe | 12:33 |
lbt | what are you trying to do ? | 12:34 |
*** Superpelican_ has joined #sailfishos | 12:34 | |
matoking | I told before | 12:34 |
matoking | I have a SilicaGridView inside a SilicaFlickable | 12:34 |
matoking | SilicaFlickable is the size of the screen | 12:34 |
lbt | it was new years eve ... wasn't here :D | 12:34 |
matoking | SilicaGridView is very tall and it contains a lot of Images | 12:34 |
lbt | *nod* | 12:34 |
matoking | so it thinks its every element is visible at every given time | 12:34 |
matoking | Which leads to every Image being loaded at the same time | 12:34 |
matoking | As much as a thousand and over | 12:35 |
matoking | So, I want the SilicaGridView to have a sane idea of what its visible region actually is | 12:36 |
lbt | you should post that on the ml too | 12:36 |
lbt | afaik this should work by default | 12:37 |
lbt | but delegates need to be written "correctly" | 12:37 |
*** jjarven has joined #sailfishos | 12:37 | |
matoking | Well there's more to it | 12:38 |
matoking | It's actually more of SilicaFlickable -> Row -> SilicaGridView | 12:38 |
lbt | I personally probably won't know btw | 12:38 |
matoking | Where Row may have different view objects such as SilicaListView, depending on which view mode to use for each directory | 12:38 |
lbt | can you use listview? | 12:39 |
matoking | SilicaListView? | 12:39 |
matoking | I haven't done that yet | 12:39 |
lbt | thinking about it I suspect that flickable/listview is the most likely way to do 'dynamic' loading of the QML | 12:39 |
matoking | Well I'm dynamically loading the view objects to the Row | 12:40 |
matoking | So, for a directory full of images I'd rather load a SilicaGridView | 12:40 |
lbt | right - so let it do it for you | 12:40 |
lbt | so items 'off screen' are in non-displayed listview bits | 12:40 |
lbt | and make the listview delegate 'smart' | 12:40 |
lbt | you see why ? | 12:41 |
matoking | I'm afraid I don't understand :/ | 12:41 |
matoking | I basically use Qt.createComponent and component.createObject() and add those view objects to the Row object I have | 12:42 |
lbt | ok - so a flickable controls the vertical scrolling and visible area and works with a listview to define what's seen | 12:42 |
lbt | that's already written to be very scalable | 12:42 |
matoking | Well | 12:42 |
lbt | the listview shows 'n' delegate items per screen | 12:42 |
lbt | so it's doing the dynamic creation based on the list model | 12:43 |
lbt | (this is a suggestion - you may be too far along or constrained for other reasons) | 12:43 |
matoking | So instead of creating all Image objects when the SilicaGridView is added | 12:44 |
lbt | yes, you create them in the delegate | 12:44 |
matoking | I let the user flick around the view and then create objects based on where he has flicked and what should be visible there? | 12:44 |
lbt | yes | 12:44 |
matoking | And when the objects are flicked out of view I delete them? | 12:44 |
matoking | Hmmm | 12:45 |
lbt | check - the delegate is likely deleted for you | 12:45 |
matoking | Well | 12:45 |
matoking | That could work | 12:46 |
matoking | Wrap the image creation and recycling function to the onContentYChanged and do everything there | 12:46 |
lbt | check how list delegates work | 12:46 |
lbt | I think they're instantiated with an index | 12:46 |
lbt | so they basically just reference the model by index and render as needed | 12:47 |
lbt | (not sure what creation/recycle you're doing - for a 'gallery' app there is none) | 12:47 |
lbt | speaking of which - check out the gallery demo | 12:48 |
*** Andy80 has joined #sailfishos | 12:48 | |
matoking | Wait, do you mean cacheBuffer? | 12:51 |
lbt | no | 12:51 |
matoking | "<lbt> the listview shows 'n' delegate items per screen" | 12:52 |
lbt | sorry - gotta go for a sec | 12:52 |
matoking | 'kay | 12:52 |
matoking | I'm already using a delegate and a list model similar to what's used in the gallery application | 12:53 |
matoking | The problem is it doesn't correctly recognize what's actually on screen and what's not | 12:54 |
matoking | And even when I put a limit using cacheBuffer it still requested every single image from the image provider | 12:56 |
jpnurmi | matoking: i'd try to avoid nesting flickables | 13:00 |
jpnurmi | placing an itemview (in its full size) into a flickable is essentially the same than using a row/column/grid inside a flickable. everyting the itemview contains will be instantiated right away | 13:01 |
*** Superpelican_ has quit IRC | 13:01 | |
matoking | Huh | 13:02 |
jpnurmi | cachebuffer only has effect on items _outside_ itemsview's bounds. it's useful if delegates are relatively heavy to construct and thus you want to keep them alive | 13:03 |
*** AlmAck has joined #sailfishos | 13:07 | |
matoking | So, at the moment I have two pulley menus on top and bottom and a page header | 13:09 |
*** brad_qqq has quit IRC | 13:09 | |
matoking | And between them is a Row with SilicaGridView and/or SilicaListView elements | 13:09 |
matoking | Of course, I could bind pulley menus to objects inside the Row, but since I use transition effects I would prefer the pulley menus and the page header to stay stationary | 13:10 |
*** AlmAck has quit IRC | 13:10 | |
*** bugzy has quit IRC | 13:10 | |
matoking | And as far as I know, pulley menus can only be attached to either SilicaFlickable, SilicaGridView or a SilicaListView | 13:10 |
matoking | But for now I'm taking the bottom-most SilicaFlickable out of the equation | 13:12 |
jpnurmi | what's the purpose of the row? which orientations are the item views? trying to understand the hierarchy you have there :) | 13:12 |
matoking | Okay | 13:13 |
matoking | Row contains one or two elements | 13:13 |
jpnurmi | notice that you can also apply a header to item views | 13:13 |
matoking | If it contains one it contains either a SilicaGridView or a SilicaListView which display files and directories | 13:13 |
matoking | When the user changes the directory | 13:13 |
matoking | A SilicaListView or a SilicaGridView is added to either the left or right side of the Row | 13:13 |
matoking | And an animation is played on both of the objects | 13:14 |
matoking | So when you open a directory, a new view moves in from the right | 13:14 |
jpnurmi | sounds a bit like you're trying to reinvent pagestack? :P | 13:14 |
matoking | It works pretty well | 13:15 |
*** phaeron has joined #sailfishos | 13:15 | |
matoking | Why I'm not using PageStack is because of the depth indicator thingie on the top-left | 13:15 |
matoking | If you go too deep it tends to cover stuff on the top of the screen | 13:16 |
*** b0bben_ has joined #sailfishos | 13:16 | |
walokra | is there some guide how to construct a complex view like in tweetian etc.? like adding components below listview? | 13:19 |
Morpog_PC | tweetian is open source | 13:21 |
*** b0bben_ has quit IRC | 13:21 | |
walokra | there's no updated sources about the sailfish port | 13:21 |
Morpog_PC | https://github.com/veskuh/Tweetian | 13:21 |
Morpog_PC | there is ;) | 13:21 |
Morpog_PC | https://github.com/veskuh/Tweetian | 13:21 |
Morpog_PC | oops | 13:21 |
*** onurati has quit IRC | 13:22 | |
Morpog_PC | change to branch sailfish-port | 13:22 |
walokra | aah, in the branches. how didn't i notice that.. | 13:22 |
walokra | thanks for pointing that out :) | 13:22 |
w00t | walokra: something like Column { anchors.fill: pageId; SilicaListView { ... } Rectangle { width: parent.width; height: 100; color: "blue" }, or do you mean something else? | 13:22 |
walokra | I have all in column but have trouble what to put listview height so that the component below shows | 13:23 |
w00t | another option would be to do without the column (anchor the ListView's bottom to the rectangle's top, and anchor the rectangle's bottom to the page's bottom) | 13:23 |
*** bugzy has joined #sailfishos | 13:29 | |
jpnurmi | matoking: is it really a problem? don't you need to go quite d*mn deep that it becomes an issue? | 13:31 |
matoking | @jpnurmi I'm accounting for all possible cases | 13:34 |
matoking | Besides, I use a similar approach when flicking through images | 13:34 |
matoking | It isn't a PageStack | 13:35 |
matoking | since it isn't a stack of objects but instead it provides an animation that gives the illusion of it being stack-based | 13:35 |
jpnurmi | but for a gallery type of view you would use vertical scrolling like in the gallery example, right? | 13:36 |
jpnurmi | when you're navigating side-ways, and even faking the pagestack effects, using the normal depth indicators cannot be that awful :) | 13:37 |
matoking | Well I don't like them :P | 13:38 |
matoking | Besides, I don't want to store underlying view objects in the stack | 13:39 |
jpnurmi | then you could use replace() instead of push() | 13:39 |
*** liar has joined #sailfishos | 13:39 | |
*** zhasha has joined #sailfishos | 13:41 | |
*** mk2soldier has joined #sailfishos | 13:42 | |
jpnurmi | oh, and attached pages could be an option for replacing the row | 13:43 |
*** krnlyng has quit IRC | 13:43 | |
*** dhbiker has quit IRC | 13:47 | |
matoking | Anyway, is there an ETA for when landscape orientation is supported? | 13:48 |
ericcc | @Morpog_PC the Tweetian code can run on sailfishos sdk?:) | 13:49 |
Morpog_PC | sure, just build it for x86 | 13:50 |
ericcc | @Morpog_PC i am donwning it | 13:52 |
ericcc | @Morpog_PC C:\Users\Administrator\Tweetian-master\main.cpp:19: 错误:QtGui/QApplication: No such file or directory | 13:55 |
*** bugzy has quit IRC | 13:56 | |
ericcc | @Morpog_PC the i anm try again | 13:57 |
Morpog_PC | you downloaded the wrong branch | 13:57 |
Morpog_PC | you need the branch sailfish-port, not master | 13:57 |
*** raven24^{off} is now known as raven24 | 13:59 | |
ericcc | @Morpog_PC instead https://github.com/veskuh/Tweetian/tree/master/qml/tweetian-harmattan? | 14:00 |
Morpog_PC | https://github.com/veskuh/Tweetian/tree/sailfish-port/qml/tweetian-harmattan | 14:00 |
Morpog_PC | https://github.com/veskuh/Tweetian/tree/sailfish-port | 14:01 |
*** b0bben has quit IRC | 14:01 | |
*** b0bben has joined #sailfishos | 14:01 | |
*** Sarvi has joined #sailfishos | 14:04 | |
*** RoKenn has joined #sailfishos | 14:05 | |
*** arcean has joined #sailfishos | 14:05 | |
*** b0bben has quit IRC | 14:06 | |
ericcc | @Morpog_PC C:\Users\Administrator\Tweetian-sailfish-port\src\thumbnailcacher.cpp:72: è¦å‘Š:unused parameter 'imageObj' [-Wunused-parameter] | 14:08 |
*** kaari has quit IRC | 14:08 | |
ericcc | void ThumbnailCacher::store(const QString &id, QQuickItem *imageObj) | 14:08 |
Morpog_PC | ericcc works here though the warning | 14:09 |
Morpog_PC | I built an RPM | 14:09 |
celeron55 | hmm what's up with this now | 14:09 |
celeron55 | i have to use my own event loop and i call QApplication::processEvents() in there and it runs continuously just fine | 14:10 |
*** mk2soldier has quit IRC | 14:10 | |
celeron55 | but i still get "Unnamed application is not responding (wait/close)" | 14:10 |
celeron55 | what do i have to do to make sailfish think the application is doing fine? | 14:11 |
matoking | "Note: A pattern which is tempting, but should never be used, is creating your own QEventLoop or calling QCoreApplication::processEvents() in order to avoid blocking within a C++ code block invoked from QML." | 14:11 |
celeron55 | this is again one of these things that are impossible to find and nobody answers here | 14:11 |
matoking | Is that somehow related to what you are doing? | 14:11 |
celeron55 | matoking: i use an external 3D library; don't start that crap now | 14:12 |
ericcc | RPM? | 14:12 |
matoking | @celeron55: It's only relevant if you are using QML, chill down :P | 14:12 |
celeron55 | umm... hmm, do i | 14:12 |
celeron55 | i might have some hanging around that i don't actually use | 14:13 |
matoking | @celeron55 http://qt-project.org/doc/qt-5.0/qtquick/qtquick-performance.html | 14:13 |
matoking | But if you're using an external 3D library I hardly think it applies | 14:13 |
*** leinir has quit IRC | 14:15 | |
celeron55 | i'm struggling to get it up and showing anything on the screen, so now i'm using some hacky crap that starts the program using SailfishApp::application(argc, argv); view = SailfishApp::createView(); and then proceeds pulling out the wayland surface and display from that view | 14:16 |
lbt | celeron55: if you're using Qt you need the Qt event view running | 14:16 |
lbt | d'oh s/event view/main loop/ | 14:17 |
*** b0bben has joined #sailfishos | 14:17 | |
celeron55 | lbt: and what does the qt main loop do? call QCoreApplication::processEvents()? | 14:17 |
celeron55 | i don't want to use Qt, but it appears to be the only way that allows me to show anything on the screen | 14:17 |
celeron55 | if i just fire up the wayland version of sdl2 or wayland directly, nothing shows up | 14:17 |
lbt | celeron55: right now the harbour only supports Qt apps | 14:18 |
lbt | I personally don't know about SDL integration | 14:18 |
celeron55 | sdl2 is in the native repositories so you'd guess it would work... but it doesn't | 14:18 |
*** b0bben_ has joined #sailfishos | 14:19 | |
*** leinir has joined #sailfishos | 14:19 | |
lbt | I'm not saying it doesn't - just I don't know :) | 14:19 |
celeron55 | i guess i'll continue hacking Qt, at least now i have something visible on the screen | 14:19 |
*** arcean has quit IRC | 14:20 | |
lbt | http://stackoverflow.com/questions/9640615/some-thoughts-on-sdl-qt-opengl-for-a-game-engine | 14:20 |
lbt | fwiw I'm working on plain GLES+QML | 14:21 |
lbt | ie define a QML widget that is an object that renders using GL | 14:21 |
lbt | it's tricky but works fine | 14:21 |
*** b0bben has quit IRC | 14:22 | |
*** b0bben_ has quit IRC | 14:23 | |
*** nsuffys has quit IRC | 14:28 | |
*** nsuffys has joined #sailfishos | 14:29 | |
*** cargocult has joined #sailfishos | 14:31 | |
lbt | Andy80: following on ... anything in the ssh journalctl ? | 14:31 |
Andy80 | lbt: yes, lot of messages http://pastebin.com/2GGM45JG | 14:32 |
lbt | ssh still running? | 14:33 |
lbt | and did you get: Project ERROR: Could not connect to MerSDK Virtual Machine. Timeout waiting for reply from server | 14:34 |
*** b0bben has joined #sailfishos | 14:34 | |
Andy80 | lbt: yes I'm still logged in with ssh (I had to quit journal to verify it) | 14:34 |
Andy80 | exactly | 14:34 |
Andy80 | and now QtC shows a green icon | 14:35 |
Andy80 | like if the vm was not started | 14:35 |
cargocult | is the source code of the settings app available? or where can i find out how it switches flight mode? | 14:35 |
lbt | Andy80: OK - I'm going to have to defer this one to the SDK devs | 14:36 |
lbt | it seems like QtC is getting confused but the VM is still up | 14:37 |
Andy80 | lbt: don't forget to tell them I'm on OSX, I'm using latest virtualbox version available and I'm using latest Sailfish SDK. | 14:37 |
*** cdp has quit IRC | 14:38 | |
lbt | can you report it on together.j.c | 14:38 |
Andy80 | sure, I can do it | 14:39 |
*** b0bben has quit IRC | 14:39 | |
Andy80 | lbt: what could be a good title for the bug? | 14:41 |
lbt | SDK VM connection lost during build/deploy | 14:41 |
lbt | tag bug and sdk :) | 14:41 |
*** liar is now known as krnlyng | 14:42 | |
*** Morpog_Mobile has quit IRC | 14:44 | |
*** bugzy has joined #sailfishos | 14:45 | |
*** b0bben has joined #sailfishos | 14:49 | |
Andy80 | lbt: done https://together.jolla.com/question/8152/bug-sdk-vm-connection-lost-during-builddeploy/ do you think it has enough informations? | 14:50 |
*** Juhi24 has joined #sailfishos | 14:51 | |
Juhi24 | Anyone know what this round UI component is called that is used for displaying numeric values? http://jolla.com/assets/Hero_1.jpg | 14:52 |
*** b0bben has quit IRC | 14:53 | |
*** bugzy has quit IRC | 14:54 | |
Juhi24 | Can't find it in the documentation or in the emulator components reference | 14:55 |
lbt | Andy80: looks ok | 14:56 |
*** bugzy has joined #sailfishos | 14:57 | |
*** Morpog_Mobile has joined #sailfishos | 14:58 | |
celeron55 | uhm... | 14:58 |
celeron55 | how do i enable the moc for a file in qmake? | 14:58 |
celeron55 | it seems it's not enabled at all and i can't use signals and slots | 14:59 |
Morpog_PC | import com.jolla.alarmui 1.0 Juhi24 | 14:59 |
Morpog_PC | Juhi24, just check /usr/share/jolla-alarm-ui/pages | 14:59 |
Juhi24 | Morpog_PC, thanks! I'll check that | 15:01 |
*** mk2soldier has joined #sailfishos | 15:02 | |
*** sequantz__ has joined #sailfishos | 15:02 | |
jpnurmi | celeron55: if the class declaration with a Q_OBJECT macro is in a header, qmake will pick it up automatically. if you have it in a .cpp file, you need to #include "filename.moc" by hand in the end of the corresponding filename.cpp | 15:03 |
*** sequantz has quit IRC | 15:05 | |
Morpog_PC | Juhi24, even better would be /usr/share/jolla-clock/pages | 15:05 |
*** sequantz__ is now known as sequantz | 15:05 | |
*** Andy80 has quit IRC | 15:05 | |
celeron55 | now i'm getting some really odd stuff | 15:07 |
celeron55 | i have class MainApplication: public QApplication | 15:07 |
celeron55 | and it says for that line in the .moc made from that header "error: 'MainApplication' has not been declared" | 15:07 |
celeron55 | oh wait | 15:08 |
celeron55 | okay so this works so that you need to icnlude the header first, and after that include the .moc | 15:08 |
celeron55 | include* | 15:08 |
Juhi24 | Morpog_PC, might be just what I need, thanks. | 15:08 |
celeron55 | oh no, it doesn't work | 15:09 |
celeron55 | now i have multiple definitions -_- | 15:09 |
celeron55 | oh, so apparently i had to include only the header | 15:10 |
*** jjanvier has quit IRC | 15:10 | |
*** Juhi24 has quit IRC | 15:13 | |
*** sequantz has quit IRC | 15:14 | |
*** raa70 has joined #sailfishos | 15:18 | |
*** triggerhappy has quit IRC | 15:19 | |
*** sdjayna1 has quit IRC | 15:20 | |
*** Andy80 has joined #sailfishos | 15:31 | |
Andy80 | lbt: cool :) for the moment I don't need it, I mean... when I test during the development phase, it's even faster for me if I just deploy the binary. If I need to generate the RPMs I switch to that deployment and even if I get that error, the rpms are generated anyway. | 15:32 |
*** RoKenn has quit IRC | 15:32 | |
*** b0bben has joined #sailfishos | 15:35 | |
*** b0bben_ has joined #sailfishos | 15:35 | |
Andy80 | I wonder when GitHub will start recognizing QML as language :) | 15:36 |
*** b0bben_ has quit IRC | 15:39 | |
*** cargocult has left #sailfishos | 15:40 | |
MSameer | is QtQuick layouts available somewhere? | 15:43 |
*** arcean has joined #sailfishos | 15:48 | |
*** dhbiker has joined #sailfishos | 15:50 | |
MSameer | seems not | 15:50 |
*** KangOl has quit IRC | 15:51 | |
*** b0bben has quit IRC | 15:51 | |
*** b0bben has joined #sailfishos | 15:52 | |
celeron55 | i can't seem to catch the closing of the application at all | 15:54 |
*** KangOl has joined #sailfishos | 15:55 | |
celeron55 | QApplication::lastWindowClosed and QApplication::aboutToQuit don't fire at all | 15:56 |
celeron55 | QCoreApplication* | 15:56 |
*** b0bben has quit IRC | 15:57 | |
cos- | celeron55: line 20 https://github.com/vranki/siilihai-mobile/blob/master/main.cpp | 15:57 |
celeron55 | i don't use any qtquick stuff now | 15:58 |
celeron55 | is there some way to see all events that are being posted by anything? | 16:00 |
walokra | is there something that when using height: childrenRect.height; it doesn't calculate the height correctly and some columns doesn't fit in screen? | 16:00 |
cos- | celeron55: closing() is not related to qt quick. it works on sailfish. | 16:01 |
*** arcean has quit IRC | 16:08 | |
*** jmlich has joined #sailfishos | 16:10 | |
*** arcean has joined #sailfishos | 16:11 | |
*** mk2soldier has quit IRC | 16:11 | |
*** stephg has joined #sailfishos | 16:24 | |
*** b0bben has joined #sailfishos | 16:31 | |
*** b0bben_ has joined #sailfishos | 16:36 | |
*** ericcc has quit IRC | 16:38 | |
*** b0bben_ has quit IRC | 16:40 | |
coderus | Mitakuuluu updated to v0.1-14 | 16:41 |
*** bugzy has quit IRC | 16:43 | |
Bysmyyr | coderus: incredible fast! thanks! | 16:43 |
matoking | So I'm going to add a bunch of icons to use with my application | 16:47 |
matoking | What's the best way to bundle them with the application? | 16:47 |
matoking | I've used Qt's resource system but I wonder if the best practice is different in QML | 16:47 |
*** softmetz_ has quit IRC | 16:48 | |
*** softmetz has joined #sailfishos | 16:48 | |
*** arcean has quit IRC | 16:51 | |
*** bugzy has joined #sailfishos | 16:52 | |
*** arcean has joined #sailfishos | 16:52 | |
*** softmetz has quit IRC | 16:53 | |
*** b0bben_ has joined #sailfishos | 16:53 | |
*** softmetz has joined #sailfishos | 16:53 | |
*** Superpelican_ has joined #sailfishos | 16:54 | |
*** PeterPark has joined #sailfishos | 16:56 | |
*** Superpelican_ has quit IRC | 16:57 | |
*** Superpelican_ has joined #sailfishos | 16:57 | |
*** Nem has joined #sailfishos | 16:57 | |
*** bugzy has quit IRC | 17:00 | |
*** Nem has quit IRC | 17:02 | |
*** Frye has joined #sailfishos | 17:02 | |
*** jjanvier has joined #sailfishos | 17:04 | |
*** faenil has joined #sailfishos | 17:05 | |
*** AlmAck has joined #sailfishos | 17:11 | |
*** bugzy has joined #sailfishos | 17:11 | |
celeron55 | has anyone compiled anything with cmake to sailfish? | 17:11 |
celeron55 | the sdk doesn't seem to come with any pre-configured capability for that | 17:12 |
*** Superpelican_ has quit IRC | 17:18 | |
*** Superpelican_ has joined #sailfishos | 17:18 | |
celeron55 | if you try to create a cmake project for sailfish, you get stuck in this obscure "Run CMake" dialog where you can't choose a generator | 17:18 |
celeron55 | does someone know where it tries to find generators and how to possibly add one? | 17:19 |
*** Dickson has joined #sailfishos | 17:19 | |
*** Superpelican_ has quit IRC | 17:20 | |
*** _miqu_ has joined #sailfishos | 17:24 | |
*** bugzy has quit IRC | 17:26 | |
*** freedomrun has quit IRC | 17:27 | |
*** pixraider has joined #sailfishos | 17:29 | |
*** Frye has quit IRC | 17:35 | |
*** Frye has joined #sailfishos | 17:35 | |
Andy80 | why if I set anchors.horizontalCenter: parent.horizontalCenter, then wrapMode: Text.WrapAtWordBoundaryOrAnywhere is not considered? | 17:36 |
jpnurmi | Andy80: because the label can grow freely if it doesn't have any width set | 17:38 |
Andy80 | jpnurmi: ok. But if for example I set anchors.left: parent.left, anchors.right: parent.right, then it's not centered anymore | 17:39 |
jpnurmi | it stays horizontally centered in relation to its parent, but there's no need to wrap because it grows infinitely to fit the text | 17:39 |
jpnurmi | Andy80: horizontalAlignment: Text.AlignHCenter | 17:39 |
*** freedomrun has joined #sailfishos | 17:40 | |
*** bugzy has joined #sailfishos | 17:40 | |
Andy80 | jpnurmi: thanks! let me try :) | 17:41 |
*** shiwu_kabigon has joined #sailfishos | 17:41 | |
jpnurmi | there's a slight difference, because center alignment makes each line center aligned, whereas centering the whole element still keeps wrapping lines left aligned :) | 17:41 |
*** cvp has quit IRC | 17:42 | |
Andy80 | jpnurmi: but... do I have to maintain the wrapMode: Text.WrapAtWordBoundaryOrAnywhere, yes? | 17:42 |
Andy80 | because without it the text is not wrapped | 17:42 |
jpnurmi | Andy80: if you want it to wrap, then yes :) | 17:42 |
jpnurmi | the default value is Text.NoWrap | 17:43 |
Andy80 | jpnurmi: yes I need to wrap it... in case the song title is longer than the width :) | 17:43 |
*** b0bben_ has quit IRC | 17:43 | |
Andy80 | perfect! it works :) | 17:44 |
Andy80 | thanks! | 17:44 |
jpnurmi | np :) | 17:44 |
Dickson | anyone familiar with SilicaWebView? I found some weird problem, it override the page forward navigation to true when there is no attached page | 17:46 |
jpnurmi | Dickson: it seems to have a property called overridePageStackNavigation. you can set it to true if you want control Page::back/forwardNavigation yourself | 17:51 |
*** norman15 has joined #sailfishos | 17:52 | |
Andy80 | jpnurmi: one question about the Cover.... once I've defined one like this https://github.com/andreagrandi/sailsoma/blob/master/cover/CoverPage.qml at the moment it's static... I'd like to update the image and the text when I change radio channel, but I don't know how to access that component from the other qml pages :/ | 17:53 |
*** mikkosssss has quit IRC | 17:54 | |
*** softmetz has quit IRC | 17:54 | |
*** softmetz has joined #sailfishos | 17:54 | |
tango_ | Andy80: what abount relying on signals? | 17:56 |
*** norman15 has left #sailfishos | 17:56 | |
Andy80 | tango_: how? I mean... can you point me to an example somewhere? | 17:56 |
*** Superpelican_ has joined #sailfishos | 17:56 | |
tango_ | honestly no, I'm just brainstorming at the moment | 17:57 |
tango_ | (I'd probably need something similar for my sgt puzzles port) | 17:57 |
Dickson | jpnurmi: thanks :) but I don't understand why it set the page's fowardNavigation to !_page._belowTop (i.e. when no attached page) when it suppose to disable the navigation | 17:57 |
jpnurmi | Andy80: where is that info stored? can't you do it the other way around ie. access the playback/backend from the cover instead of trying to access the cover from outside? | 17:57 |
tango_ | Andy80: I'm thinking that something that could be done is having an application property that is e.g. the name of radio station, then when a new radio statio is selected you change the application property and signal its change, and hook the cover onThisPropertyChanged | 17:58 |
*** bugzy has quit IRC | 17:58 | |
Andy80 | jpnurmi: these info are stored in the "model", the model is inside the ListView that is inside the main page :) | 17:58 |
Andy80 | jpnurmi: if you follow the link I pasted, there is the complete source code, you can find the model there.... just 3-4 qml files in total | 17:59 |
*** KangOl has quit IRC | 17:59 | |
*** b0bben has quit IRC | 17:59 | |
*** bugzy has joined #sailfishos | 17:59 | |
*** b0bben has joined #sailfishos | 18:00 | |
Dickson | Andy80: expose the model to root of page, then access via pageStack.currentPage or pageStack.find | 18:01 |
Andy80 | jpnurmi: I don't think that right now the Cover can access the model object | 18:01 |
*** matoking has quit IRC | 18:02 | |
Andy80 | Dickson: do I have to expose it in a property or just as model: .... | 18:03 |
Andy80 | ? | 18:03 |
*** b0bben has quit IRC | 18:04 | |
*** _miqu_ has quit IRC | 18:04 | |
Dickson | use alias property, ie property alias model: listView.model | 18:05 |
jpnurmi | Andy80: or you could even have the model stuff in your main.qml and just pass a handle to both main page & cover | 18:05 |
jpnurmi | so you can simply create the instance where you have access to both components that need access the instance | 18:06 |
Andy80 | jpnurmi: it could be a good idea... and the XmlListModel "automagically" ensures that model.channelSong (for example) contains the current selected one? | 18:07 |
*** RoKenn has joined #sailfishos | 18:08 | |
Andy80 | jpnurmi: in any case I don't know what is the correct syntax to create the ChannelsModel instance in the main.qml and (in particular) pass it to the other pages.... is there any constructor method I need to overwrite? Or do I need to set it as property? | 18:10 |
tango_ | probably the latter | 18:11 |
tango_ | or an alias | 18:11 |
jpnurmi | Andy80: i was thinking of something along the lines: https://gist.github.com/jpnurmi/8210106 | 18:13 |
*** phaeron has quit IRC | 18:13 | |
jpnurmi | in that construct you could probably even access myModel directly from the pages thanks to QML's scoping rules, but i like to be explicit... :) | 18:14 |
*** shiwu_kabigon has quit IRC | 18:14 | |
Andy80 | jpnurmi: cool thanks! Ok, give me some time to study it and try :) I let you know later if I don't understand something. | 18:15 |
*** faenil_ has joined #sailfishos | 18:16 | |
Tumeez | How I can install new MitäKuuluu? | 18:17 |
Tumeez | Delete older first? | 18:17 |
*** faenil has quit IRC | 18:17 | |
*** faenil_ has quit IRC | 18:17 | |
*** onurati has joined #sailfishos | 18:17 | |
Bysmyyr | Tumeez: not need | 18:17 |
Bysmyyr | atleast it worked without in my phone | 18:17 |
*** phaeron has joined #sailfishos | 18:18 | |
*** Raim has quit IRC | 18:22 | |
*** Raim has joined #sailfishos | 18:22 | |
*** Dickson has quit IRC | 18:24 | |
*** Andy80 has quit IRC | 18:26 | |
*** b0bben has joined #sailfishos | 18:28 | |
*** b0bben_ has joined #sailfishos | 18:28 | |
*** jstaniek has joined #sailfishos | 18:30 | |
*** vitronic_ has quit IRC | 18:32 | |
*** vitronic_ has joined #sailfishos | 18:32 | |
*** b0bben_ has quit IRC | 18:32 | |
ottulo | Tumeez: same here, just installed over the old | 18:35 |
Tumeez | Oh yea, it's work. | 18:35 |
*** cdp has joined #sailfishos | 18:39 | |
*** stephg has quit IRC | 18:42 | |
*** Andy80 has joined #sailfishos | 18:43 | |
*** b0bben has quit IRC | 18:49 | |
*** Robcissp has joined #sailfishos | 18:54 | |
Robcissp | caldav, carddav and imap idle support - the online specs aren't clear??? | 18:56 |
Andy80 | jpnurmi: it almost works | 18:59 |
*** sequantz has joined #sailfishos | 19:00 | |
*** Robcissp has quit IRC | 19:01 | |
Andy80 | jpnurmi: passing the model to SailSoma page works, passing to the CoverPage doesn't. Or better.... even if I pass it, even if I've defined this: property XmlListModel model; inside the CoverBackground, then I can't access to model.channelName | 19:01 |
Andy80 | jpnurmi: maybe because model it's already inside ChannelBackground parent and not inside ChannelBackground? | 19:02 |
tango_ | Andy80: I've solved this by accessing the title of the page on top of the stack | 19:02 |
tango_ | wanna see? | 19:02 |
Andy80 | tango_: yes please! But I'd like to try to fix this also :) I've already changed some stuff in the code... it would be a mess else :P | 19:02 |
tango_ | let me access it | 19:03 |
tango_ | (it's on the machine) | 19:03 |
tango_ | oh I should probably put it on github or something | 19:07 |
tango_ | urgh | 19:07 |
Andy80 | I can't either push the code right now... damn me and when I didn't create a branch | 19:09 |
Andy80 | why they don't publish a simple example about how to use Covers :/ | 19:11 |
tango_ | I think github is having issues | 19:11 |
*** Finleida has quit IRC | 19:11 | |
Andy80 | I've just pushed some stuff | 19:14 |
*** jarkko__ has joined #sailfishos | 19:18 | |
*** cvp has joined #sailfishos | 19:20 | |
jarkko__ | How does your "[nemo@SailfishEmul ~]$ /sbin/ifconfig" look like? For some reason deploying application to emulator doens't work because QtCreator cannot connect to the emulator "ssh: connect to host 10.220.220.1 port 22: No route to host". | 19:20 |
hoelzro | hello everyone | 19:23 |
hoelzro | I'm working on my first app for my Jolla, and I have a RPM built, but when I try to install it (via rpm on the command line), I get the following error: | 19:24 |
hoelzro | Fatal error: nothing provides libc.so.6(GLIBC_2.0) needed by harbour-test-0.1-1.armv7hl | 19:24 |
hoelzro | I did some searching through this channel's history and the mailing list; any idea what I could be doing wrong? | 19:24 |
Andy80 | hoelzro: it looks like you're trying to use code from a library that is not part of the SDK | 19:25 |
hoelzro | hmm | 19:26 |
hoelzro | Andy80: it's just a dummy hello world application | 19:26 |
hoelzro | I'm guessing I wrote my .pro or .spec file wrong | 19:26 |
*** b0bben has joined #sailfishos | 19:26 | |
hoelzro | but I don't have much to go on | 19:26 |
Venemo | lbt: what's the difference between "deploy as RPM package" and "deploy by building an RPM package"? | 19:28 |
Andy80 | Venemo: I really don't know yet | 19:28 |
*** tortoisedoc has joined #sailfishos | 19:29 | |
tortoisedoc | bibop | 19:29 |
tortoisedoc | happy new year to everyone! | 19:29 |
tortoisedoc | and now for the question of the day: | 19:29 |
tortoisedoc | has anyone info about advertisement possibilities on Jolla Phone? | 19:29 |
*** furikku has quit IRC | 19:30 | |
lbt | Venemo: I suspect it's because QtC has a limited bit of text it can put there :) | 19:30 |
tortoisedoc | i.e. advertising services which would support Qt (apart of Smaato which pretty much steals your money)? | 19:30 |
*** lbt is now known as an | 19:30 | |
*** an is now known as lbt | 19:30 | |
lbt | Venemo: the 'build an rpm' is not part of QtC's hardcoded qmake/make steps | 19:31 |
lbt | instead it's part of the hardcoded deploy/run | 19:31 |
lbt | and to make an arm rpm when you only have an emulator you need to partially deploy (ie build the rpm) but not copy, install and run it | 19:32 |
lbt | now if you'd learn to ask this on together.j.c I'd get some karma for telling you ;) | 19:32 |
*** alexxy has quit IRC | 19:33 | |
Venemo | lbt: sorry | 19:33 |
lbt | ROFL | 19:34 |
Venemo | lbt: wouldn't it make sense to rename "deploy by building an RPM package" to "Just build and RPM"? | 19:34 |
Venemo | since it doesn't actually deploy anything | 19:34 |
Venemo | tortoisedoc: not sure, but I hate ads | 19:34 |
tortoisedoc | Venemo : so do I, but my kids need to eat and my favourite store only allows free apps :P | 19:35 |
lbt | Venemo: I honestly don't know what QtC restricts that too | 19:35 |
lbt | I agree it's confusing as hell | 19:35 |
Venemo | since you forked it anyway, would it hurt to rename that one label? | 19:35 |
lbt | it's not supposed to be forked | 19:36 |
*** amonk has quit IRC | 19:36 | |
lbt | we just haven't pushed all the stuff upstream yet | 19:37 |
Venemo | and after a year you still haven't => it's gonna remain a fork forever | 19:38 |
Venemo | on a different note, where do I find the full list of available built-in iconsources? | 19:38 |
Elleo | Venemo: do you mean for doing things like "theme://icon-m-blah"? if so: /usr/share/themes/jolla-ambient/meegotouch/icons/ | 19:39 |
Venemo | Elleo: I mean: iconSource: "image://theme/icon-cover-pause" | 19:40 |
Elleo | Venemo: , that's what I mean | 19:40 |
Elleo | Venemo: just look in /usr/share/themes/jolla-ambient/meegotouch/icons/ | 19:40 |
Elleo | those filenames minus their extension | 19:41 |
Venemo | what the hell has it to do with meegotouch? | 19:41 |
Venemo | lol | 19:41 |
Morpog_PC | Venemo, well, theme provider still uses that path | 19:42 |
Morpog_PC | same for nemomobile glacier theme | 19:42 |
*** b0bben_ has joined #sailfishos | 19:42 | |
Venemo | okay | 19:44 |
Sviox | Is there some condition I can detect sailfish platform on .pro file? | 19:44 |
Venemo | on a different note, where's the reference documentation for Silica? | 19:44 |
Venemo | I found this: https://sailfishos.org/sailfish-silica/index.html | 19:44 |
Pnuu | https://sailfishos.org/sailfish-silica/sailfish-silica-all.html | 19:45 |
Venemo | thanks Pnuu | 19:46 |
Pnuu | that link is on the page you just linked :-) | 19:47 |
*** maninc_ has joined #sailfishos | 19:49 | |
*** Milo-_ has joined #sailfishos | 19:51 | |
tortoisedoc | Sviox : the first obvious way is DEFINES += JOLLA or something and then contains(DEFINES,JOLLA) | 19:51 |
*** diegoyam has joined #sailfishos | 19:51 | |
*** Vostok has joined #sailfishos | 19:51 | |
*** tomyri_ has joined #sailfishos | 19:52 | |
*** mattaustin has joined #sailfishos | 19:53 | |
*** auri___ has joined #sailfishos | 19:53 | |
tango_ | Andy80: https://github.com/Oblomov/sgt-puzzles/tree/jolla | 19:53 |
*** ryokale_ has joined #sailfishos | 19:54 | |
*** nwoki has joined #sailfishos | 19:54 | |
*** nwoki has quit IRC | 19:54 | |
*** nwoki has joined #sailfishos | 19:54 | |
*** Mikaela_ has joined #sailfishos | 19:54 | |
*** vatral_ has joined #sailfishos | 19:55 | |
Andy80 | tango_: thanks! | 19:56 |
*** JvD__ has joined #sailfishos | 19:56 | |
*** b0bben has quit IRC | 19:56 | |
*** b0bben has joined #sailfishos | 19:56 | |
*** Tegu_ has joined #sailfishos | 19:57 | |
*** qwazix_nc has joined #sailfishos | 19:57 | |
*** tobiski_ has joined #sailfishos | 19:58 | |
Sviox | tortoisedoc: that's not what I meant. Of course I could do a specific pro file for Sailfish, but I want one file for MeeGo, Sailfish and desktop. | 19:58 |
*** raa70 has quit IRC | 19:58 | |
*** Sarvi has quit IRC | 19:58 | |
*** Tumex_ has quit IRC | 19:58 | |
*** ryokale has quit IRC | 19:58 | |
*** Vostok_ has quit IRC | 19:58 | |
*** qwazix has quit IRC | 19:58 | |
*** mattaust1n has quit IRC | 19:58 | |
*** nwoki_ has quit IRC | 19:58 | |
*** maninc has quit IRC | 19:58 | |
*** Almehdin has quit IRC | 19:58 | |
*** pyksy has quit IRC | 19:58 | |
*** Acce has quit IRC | 19:58 | |
*** Hartzi has quit IRC | 19:58 | |
*** Mikaela has quit IRC | 19:58 | |
*** Tegu has quit IRC | 19:58 | |
*** diegoyam_ has quit IRC | 19:58 | |
*** JvD_ has quit IRC | 19:58 | |
*** tme has quit IRC | 19:58 | |
*** tomyri has quit IRC | 19:58 | |
*** Milo- has quit IRC | 19:58 | |
*** Riksha has quit IRC | 19:58 | |
*** tohtoris has quit IRC | 19:58 | |
*** hene- has quit IRC | 19:58 | |
*** auri__ has quit IRC | 19:58 | |
*** tobiski has quit IRC | 19:58 | |
*** tg has quit IRC | 19:58 | |
*** niko_s has quit IRC | 19:58 | |
*** vatral has quit IRC | 19:58 | |
*** aslani has quit IRC | 19:58 | |
*** tuukkah has quit IRC | 19:58 | |
*** Firnwath has quit IRC | 19:58 | |
*** skvark has quit IRC | 19:58 | |
*** atlaz has quit IRC | 19:58 | |
*** Latexi95 has quit IRC | 19:58 | |
*** datakurre has quit IRC | 19:58 | |
*** Jonni has quit IRC | 19:58 | |
*** Pantti has quit IRC | 19:58 | |
*** sharpneli has quit IRC | 19:58 | |
*** ztane has quit IRC | 19:58 | |
*** whisperi has quit IRC | 19:58 | |
*** Kharn has quit IRC | 19:58 | |
*** Milo-_ is now known as Milo- | 19:58 | |
*** qwazix_nc is now known as qwazix | 19:58 | |
*** Pantti has joined #sailfishos | 19:58 | |
*** sharpneli has joined #sailfishos | 19:58 | |
*** Hartzi has joined #sailfishos | 19:58 | |
*** skvark has joined #sailfishos | 19:58 | |
*** raa70 has joined #sailfishos | 19:58 | |
*** Acce has joined #sailfishos | 19:58 | |
*** Hartzi has quit IRC | 19:59 | |
*** hene- has joined #sailfishos | 19:59 | |
*** Mikaela_ is now known as Mikaela | 19:59 | |
*** raa70 has quit IRC | 19:59 | |
*** Acce has quit IRC | 19:59 | |
Sviox | For example, on MeeGo, I can use contains(MEEGO_EDITION,harmattan) {} as condition. I really hope I can do something similar with sailfish.. | 19:59 |
*** tuukkah has joined #sailfishos | 20:00 | |
*** pyksy has joined #sailfishos | 20:00 | |
*** tohtoris has joined #sailfishos | 20:00 | |
*** datakurre has joined #sailfishos | 20:00 | |
*** sharpneli has quit IRC | 20:00 | |
*** raa70 has joined #sailfishos | 20:00 | |
*** sharpneli has joined #sailfishos | 20:00 | |
*** b0bben has quit IRC | 20:01 | |
*** skvark has quit IRC | 20:01 | |
*** Acce has joined #sailfishos | 20:01 | |
*** skvark has joined #sailfishos | 20:01 | |
*** thedead1440__ has joined #sailfishos | 20:01 | |
*** Kharn has joined #sailfishos | 20:02 | |
*** whisperi has joined #sailfishos | 20:02 | |
*** Hartzi has joined #sailfishos | 20:02 | |
*** Almehdin has joined #sailfishos | 20:02 | |
*** tg has joined #sailfishos | 20:03 | |
*** atlaz has joined #sailfishos | 20:03 | |
*** master_of_master has joined #sailfishos | 20:03 | |
*** c0ck4m0u53 has joined #sailfishos | 20:03 | |
*** viq_ has joined #sailfishos | 20:03 | |
*** vegai_ has joined #sailfishos | 20:03 | |
*** tortoisedoc has quit IRC | 20:03 | |
*** aslani has joined #sailfishos | 20:04 | |
*** gigetoo_ has joined #sailfishos | 20:04 | |
*** fuz_ has quit IRC | 20:04 | |
*** suosaask1 has joined #sailfishos | 20:04 | |
*** tobiski has joined #sailfishos | 20:04 | |
*** Mirv_ has joined #sailfishos | 20:04 | |
*** tme has joined #sailfishos | 20:04 | |
*** Morpog_ has joined #sailfishos | 20:04 | |
*** Riksha has joined #sailfishos | 20:05 | |
*** tesalmin1_ has joined #sailfishos | 20:05 | |
*** Latexi95 has joined #sailfishos | 20:05 | |
*** ztane has joined #sailfishos | 20:05 | |
*** Firnwath has joined #sailfishos | 20:05 | |
*** dhbiker has quit IRC | 20:05 | |
*** Tumex_ has joined #sailfishos | 20:05 | |
*** vitronic_ has quit IRC | 20:05 | |
*** n0rman_ has joined #sailfishos | 20:06 | |
*** vitronic_ has joined #sailfishos | 20:06 | |
Venemo | lbt: btw, have you seen/used the windows phone SDK? | 20:06 |
lbt | no | 20:06 |
*** nsm- has joined #sailfishos | 20:07 | |
tango_ | why would anyone want to do that | 20:07 |
Venemo | it's a breeze to use because when you hit run or ctrl+F5 the app can immediately launch on the phone | 20:07 |
*** Andy80 has quit IRC | 20:08 | |
Venemo | this is why I'm bashing the SDK, it's too slow - I have to wait too much until I can see my app on the device | 20:08 |
*** dhbiker has joined #sailfishos | 20:09 | |
*** tobiski_ has quit IRC | 20:09 | |
*** PeterPark has quit IRC | 20:09 | |
*** Morpog_PC has quit IRC | 20:09 | |
*** thedead1440_ has quit IRC | 20:09 | |
*** master_o1_master has quit IRC | 20:09 | |
*** n0rman has quit IRC | 20:09 | |
*** suosaaski has quit IRC | 20:09 | |
*** fk_lx has quit IRC | 20:09 | |
*** gigetoo has quit IRC | 20:09 | |
*** vegai has quit IRC | 20:09 | |
*** arisel has quit IRC | 20:09 | |
*** tesalmin1 has quit IRC | 20:09 | |
*** viq has quit IRC | 20:09 | |
*** Mirv has quit IRC | 20:09 | |
*** nsm has quit IRC | 20:09 | |
*** nsm- is now known as nsm | 20:09 | |
*** nsuffys has quit IRC | 20:10 | |
lbt | Venemo: first it makes sense to get a correct solution; then to optimise it :) | 20:10 |
*** niko_s has joined #sailfishos | 20:10 | |
lbt | (and fwiw, I agree it's too slow) | 20:10 |
*** cvp has quit IRC | 20:11 | |
*** Almehdin has quit IRC | 20:14 | |
*** Sarvi has joined #sailfishos | 20:14 | |
*** arisel has joined #sailfishos | 20:15 | |
*** fk_lx has joined #sailfishos | 20:15 | |
*** Andy80 has joined #sailfishos | 20:18 | |
*** matoking has joined #sailfishos | 20:18 | |
matoking | Unlike what I thought, there actually is landscape support | 20:19 |
matoking | It's just that when the orientation is changed from portrait to landscape it won't change back | 20:19 |
tango_ | wut? | 20:22 |
matoking | I thought there wasn't landscape support, since in the main QML file I had allowedOrientations set to All and it didn't do anything | 20:22 |
lbt | set it in the page | 20:23 |
matoking | But when you put that value in individual Pages, it works | 20:23 |
lbt | different pages can have different settings | 20:23 |
matoking | I dunno | 20:23 |
tango_ | otoh, I think they should inherit the app one by default | 20:24 |
matoking | If I set allowedOrientations inside ApplicationWindow to All, I assume it would be considered All in other Pages unless otherwise specified | 20:24 |
tango_ | well that's the way it should work IMO | 20:24 |
matoking | Well, either something is wrong with my app or the support is still shaky but I can't shake the orientation back no matter how I orientate my phone | 20:26 |
matoking | Once it's changed to landscape it's landscape for good until I restart the app | 20:28 |
matoking | And if I start the app while my phone is in the landscape orientation, it starts up in portrait orientation instead | 20:28 |
matoking | File Browser works like a charm so it must be a problem with my app | 20:29 |
*** Andy80 has quit IRC | 20:29 | |
coderus | matoking: you need to have orientation property in each Page and Dialog you have | 20:30 |
matoking | @coderus Or otherwise it gets stuck, even though I'm inside a single Page the entire time? | 20:31 |
coderus | yes, you need to set allowedOrientations to your main qml and page qml | 20:31 |
matoking | Yeah, I needed a reason to use Ctrl+C and Ctrl+V :P | 20:32 |
matoking | Oh, and Screen.height and Screen.width appear to be constant, eg. they don't change based on the orientation | 20:33 |
matoking | ..and that's how it's supposed to be according to the docs | 20:34 |
matoking | nvm | 20:34 |
*** fuz_ has joined #sailfishos | 20:35 | |
*** c0ck4m0u53 has quit IRC | 20:38 | |
*** itbaron has quit IRC | 20:39 | |
*** Andy80 has joined #sailfishos | 20:43 | |
*** Jonni has joined #sailfishos | 20:47 | |
*** jarkko__ has quit IRC | 20:47 | |
*** inara has quit IRC | 20:49 | |
*** inara has joined #sailfishos | 20:53 | |
*** Sfiet_Konstantin has joined #sailfishos | 20:55 | |
*** Juhi24 has joined #sailfishos | 20:56 | |
*** Sfiet_Konstantin has quit IRC | 20:56 | |
*** DarkSim has joined #sailfishos | 20:59 | |
coderus | you using Screen.height/width in application? o_O | 21:01 |
coderus | why? | 21:01 |
matoking | Yeah most of the time I used parent.height or similar | 21:03 |
matoking | But sometimes I used Screen | 21:03 |
coderus | why? | 21:03 |
coderus | what puppose? | 21:03 |
coderus | purpose* | 21:03 |
matoking | I thought it was convenient since it would have the orientation-aware screen height and width | 21:04 |
Andy80 | tango_: I've read your example. To set just the title it can be ok, but I really need a better way to make the CoverPage to interact with the rest of the application, because I would like to be able to control also the Play/Pause etc... so I really need to be able to connect to the other properties or to use some signals... but I need to read a bit of docs first... | 21:05 |
matoking | @Andy80 Connecting a bunch of distant properties together always gives me a headache | 21:07 |
Andy80 | matoking: there must be an easy and clean way that I just don't know | 21:07 |
matoking | @Andy80 Yeah, that's what I've thought too | 21:08 |
matoking | My application is starting to come together very nicely | 21:10 |
matoking | I did find a sensible solution to the problem I was having earlier today | 21:11 |
Andy80 | matoking: I want to give a better look to this http://qmlbook.org/index.html maybe I will learn something more | 21:11 |
Andy80 | not much about what I need anyway... | 21:14 |
coderus | Andy80: just declare properties and function you need in main qml file and you can use it from both Cover and Pages | 21:15 |
matoking | @Andy80 http://qt-project.org/doc/qt-5.0/qtquick/qtquick-index.html | 21:15 |
matoking | @coderus Wait, really? | 21:15 |
matoking | My whole life has been a lie | 21:15 |
*** Andy80 has quit IRC | 21:16 | |
*** b0bben has joined #sailfishos | 21:18 | |
coderus | yes | 21:18 |
coderus | you can use appWindow.properties/functions/whatever from Cover too | 21:19 |
coderus | you can even use any Page properties if page declared in appwindow | 21:20 |
coderus | for example in cover page i have two labels: | 21:21 |
coderus | label1.text: parseConnectionStatus(appWindowPage.connectionStatus) | 21:21 |
coderus | and | 21:21 |
*** crevetor has quit IRC | 21:22 | |
*** matoking has quit IRC | 21:22 | |
coderus | label2.text: roster.unreadCount > 0 ? (strFmt("Unread mesasges: %1", [roster.unreadCount])) : "No unread messages" | 21:22 |
*** vitronic_ has quit IRC | 21:22 | |
coderus | and it working fine :) | 21:22 |
*** b0bben has quit IRC | 21:22 | |
coderus | no magic | 21:22 |
*** vitronic_ has joined #sailfishos | 21:23 | |
*** jjarven has quit IRC | 21:23 | |
*** jstaniek_ has joined #sailfishos | 21:23 | |
*** crevetor has joined #sailfishos | 21:24 | |
*** jstaniek has quit IRC | 21:26 | |
*** bennypr0fane has joined #sailfishos | 21:29 | |
bennypr0fane | #jollamobile | 21:29 |
coderus | bennypr0fane: ? | 21:29 |
*** KangOl has joined #sailfishos | 21:30 | |
bennypr0fane | coderus sorry, typo | 21:30 |
*** mk2soldier has joined #sailfishos | 21:37 | |
*** jjarven has joined #sailfishos | 21:40 | |
*** amizraa has quit IRC | 21:41 | |
*** amizraa has joined #sailfishos | 21:42 | |
suy | Sviox: (i'm reading the backlog, sorry if you already got it) I'm doing packagesExists(sailfishapp) {} | 21:45 |
*** b0bben_ has quit IRC | 21:47 | |
tango_ | coderus: how is roster defined? | 21:47 |
*** b0bben has joined #sailfishos | 21:52 | |
coderus | Roster { id: roster } | 21:53 |
tango_ | coderus: in the main qml file? and that id is accessible from the cover? | 21:56 |
coderus | yes and yes | 21:57 |
tango_ | intredasting | 21:57 |
coderus | QtCreator not showing pages properties in CoverPage because cover initialized dynamically | 21:58 |
Sviox | suy: No, didn't have it yet. I'll try yours tomorrow, thanks. | 22:01 |
*** Sviox has quit IRC | 22:01 | |
*** bennypr0fane has quit IRC | 22:01 | |
Venemo | heya | 22:04 |
Venemo | anyone knows anything about OpacityRampEffect? | 22:04 |
tango_ | Venemo: I managed to get it to work | 22:04 |
Venemo | for me it's totally invisible, the items it contains just don't show up at all | 22:05 |
tango_ | copying it over from pageheader or something | 22:05 |
tango_ | Venemo: ah yes, I solved that plaing the opacityrampeffect in its own item, superimposed to the other | 22:05 |
tango_ | which is the way it's done in pageheader | 22:06 |
Venemo | aaah, got it | 22:06 |
Venemo | I used it incorrectly | 22:06 |
Venemo | forgot to set its sourceItem | 22:07 |
Venemo | (I assumed it would work if the stuff I wanted the effect on were its children) | 22:07 |
tango_ | no idea | 22:08 |
Venemo | it didn't | 22:08 |
Venemo | but I solved it ;) | 22:08 |
tango_ | Venemo: how? | 22:09 |
*** Superpelican_ has quit IRC | 22:09 | |
*** Almehdin has joined #sailfishos | 22:10 | |
Venemo | tango_: here: http://pastebin.com/rDg9F7Wn | 22:11 |
*** faenil has joined #sailfishos | 22:11 | |
tango_ | interesting | 22:12 |
*** cdp has quit IRC | 22:12 | |
*** mk2soldier has quit IRC | 22:13 | |
*** Venemo has quit IRC | 22:15 | |
*** Venemo has joined #sailfishos | 22:17 | |
*** phaeron has quit IRC | 22:24 | |
*** sequantz has quit IRC | 22:30 | |
Venemo | is it possible to nest multiple SilicaListView components? | 22:30 |
*** viq_ is now known as viq | 22:32 | |
*** pixraider_ has joined #sailfishos | 22:35 | |
*** pixraider has quit IRC | 22:36 | |
special | Venemo: should be the same as nesting ListView | 22:36 |
special | so, it works, but manage your 'interactive' properties carefully or it might be a little odd. | 22:36 |
Venemo | special: ah, okay | 22:38 |
celeron55 | is the debugger supposed to work? | 22:45 |
celeron55 | qtcreator's doesn't seem to | 22:46 |
celeron55 | i can run gdb on the command line though, but it doesn't have debug symbols | 22:46 |
special | (-debuginfo packages contain debug symbols) | 22:47 |
celeron55 | where are they? | 22:48 |
celeron55 | or, well, i don't really want to use rpms as making them is fairly slow | 22:48 |
celeron55 | the copying binaries option works well for that part, but they don't have the symbols | 22:49 |
special | ah, for your own binaries | 22:49 |
special | not sure exactly what the situation is there when building with the SDK | 22:50 |
special | if you want library debug symbols, install the debuginfo packages; qt5-qtcore-debuginfo, etc. | 22:50 |
celeron55 | let's try CONFIG += debug | 22:50 |
sjn | \o | 22:51 |
celeron55 | no luck | 22:51 |
special | you need -g or -ggdb in the cflags, and to make sure nothing is stripping afterwards | 22:51 |
sjn | how can I start an app on a Jolla device under gdb? | 22:51 |
celeron55 | special: well yeah, that's the goal obviously | 22:52 |
celeron55 | it looks like -g is there | 22:53 |
celeron55 | so something strips them... | 22:53 |
celeron55 | so the question is, what | 22:53 |
special | qmake strips during install by default, I believe.. | 22:54 |
special | (for release, at least) | 22:56 |
*** faenil has quit IRC | 23:04 | |
*** zhasha has left #sailfishos | 23:07 | |
*** b0bben_ has joined #sailfishos | 23:07 | |
Venemo | in the componentgallery app there's a circle around the IconButtons | 23:09 |
Venemo | why don't I get the same circle for the iconbutton in my app? | 23:09 |
Venemo | ah | 23:11 |
Venemo | it's part of the icon source file | 23:11 |
*** b0bben_ has quit IRC | 23:11 | |
*** RoKenn has quit IRC | 23:13 | |
*** onurati has quit IRC | 23:20 | |
*** AlmAck has quit IRC | 23:20 | |
celeron55 | bah, this is impossible | 23:23 |
Venemo | celeron55: what? | 23:23 |
celeron55 | something strips binaries in debug build | 23:24 |
celeron55 | and i want to debug them with gdb by myself because qtcreator's debugger doesn't work in the first place | 23:24 |
Venemo | maybe you can somehow configure that in the yaml or spec file | 23:29 |
Venemo | remember it's an rpmbuild that's being run there | 23:29 |
Venemo | lbt: can you give any clue about this to celeron55 | 23:29 |
celeron55 | i'd really prefer to set up a cmake build environment without any of this qtcreator/qmake/whatever crap | 23:30 |
celeron55 | but there's not enough documentation | 23:30 |
Venemo | btw, how do I set the text of a TextField progmatically? | 23:30 |
celeron55 | if someone can help, please do | 23:30 |
Venemo | field.text = "aaa" doesn't work | 23:30 |
hoelzro | so my linker error fixed itself | 23:30 |
* hoelzro shrugs | 23:30 | |
hoelzro | and I actually managed to deploy an application to my phone! | 23:30 |
hoelzro | but now I'm encountering an odd error message when trying to use acceptDestination with a Dialog | 23:31 |
hoelzro | "Warning: cannot pop while transition is in progress" | 23:31 |
hoelzro | and it's preventing me from accepting (or even rejecting) the dialog | 23:31 |
*** gigetoo_ has quit IRC | 23:32 | |
hoelzro | any thoughts? | 23:32 |
*** ericcc has joined #sailfishos | 23:32 | |
*** ericcc_ has joined #sailfishos | 23:32 | |
*** triggerhappy has joined #sailfishos | 23:32 | |
*** ericcc has quit IRC | 23:32 | |
lbt | celeron55: not done any on-device debugging myself; I notice /usr/lib/debug/ has stuff when you use the sync deployment | 23:33 |
*** gigetoo has joined #sailfishos | 23:34 | |
Venemo | lbt: is it possible that rpmbuild strips the debug symbols? | 23:34 |
*** zhost has quit IRC | 23:35 | |
celeron55 | lbt: i'm on the emulator / whatever virtual machine | 23:35 |
*** coderus has quit IRC | 23:35 | |
*** vitronic_ has quit IRC | 23:36 | |
*** vitronic_ has joined #sailfishos | 23:36 | |
*** ajalkane has quit IRC | 23:37 | |
*** jjanvier has quit IRC | 23:37 | |
*** coderus has joined #sailfishos | 23:39 | |
celeron55 | hja | 23:39 |
celeron55 | ha* | 23:39 |
celeron55 | http://imvoid.wordpress.com/2013/06/05/stripping-and-stopping-stripping-of-binaries-in-rpm-build/ | 23:39 |
celeron55 | that did the trick | 23:39 |
celeron55 | i wonder if it's possible to put that in the .yaml | 23:39 |
lbt | or: gdb /opt/sdk/harbour-app/usr/bin/harbour-app and then do maint info sections. Get the .text load addr; then add-symbol-file /opt/sdk/harbour-app/usr/lib/debug/usr/bin/harbour-app.debug $.text-addr | 23:39 |
celeron55 | lbt: i don't have any of that usr/lib/debug stuff, so no | 23:40 |
lbt | so basically the rpm will create a set of symbol info | 23:40 |
lbt | well are you using a debug build? | 23:40 |
celeron55 | i am using the debug build with deploy by copying binaries | 23:41 |
celeron55 | on the emulator | 23:41 |
lbt | and /opt/sdk/harbour-app/usr/lib/debug/usr/bin is empty ? | 23:41 |
lbt | s/app/ as needed | 23:41 |
celeron55 | yes | 23:41 |
lbt | hmm .. it's not here :) | 23:42 |
celeron55 | or, well, usr/lib doesn't exist at all | 23:42 |
celeron55 | usr/bin and usr/share only | 23:42 |
celeron55 | which are what the app uses | 23:42 |
lbt | not sure why - I get a load of debug stuff installed | 23:43 |
*** ajalkane has joined #sailfishos | 23:43 | |
celeron55 | can you pastebin your .pro and .yaml? | 23:43 |
lbt | sure - it's bog standard 'create new project' template though | 23:44 |
celeron55 | oh don't then; that works for me too | 23:45 |
celeron55 | this is a rather more custom project | 23:45 |
celeron55 | with subprojects and much data files and whatever | 23:45 |
lbt | can you post your pro and yaml then | 23:46 |
celeron55 | well i could, but i have hard time believing anyone could make anything out of those | 23:49 |
*** arcean has quit IRC | 23:50 | |
*** guhl has joined #sailfishos | 23:50 | |
*** coderus has quit IRC | 23:51 | |
*** coderus has joined #sailfishos | 23:52 | |
*** amccarthy has joined #sailfishos | 23:52 | |
*** b0bben has quit IRC | 23:53 | |
lbt | celeron55: np ... good luck then | 23:53 |
*** jstaniek_ has quit IRC | 23:53 | |
celeron55 | lbt: do you have any idea about how to go about using cmake to target sailfish without using qtcreator? | 23:55 |
*** b0bben has joined #sailfishos | 23:56 | |
celeron55 | that seems to me like the most sane way of doing stuff, but there's zero documentation | 23:56 |
lbt | no, sorry | 23:56 |
lbt | qmake has its issues but it is documented and supported | 23:57 |
lbt | but if you think making your own way down the cmake road is sane then that's cool too :) | 23:57 |
*** Morpog_ has quit IRC | 23:57 | |
celeron55 | qmake is fairly understandable, but all this automation around it makes everything hard to understand | 23:57 |
*** ericcc_ has quit IRC | 23:58 | |
celeron55 | i tried to read directly on mer's wiki about the raw build system, but that goes too low and directly focuses on developing mer itself | 23:58 |
lbt | well, it's not that complex really | 23:58 |
celeron55 | i'm interested in developing for sailfish on a native level; not developing mer and not developing with QML or other fancy stuff | 23:58 |
lbt | not store apps then? | 23:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!