View Single Post
Posts: 34 | Thanked: 30 times | Joined on Nov 2011
#30
Originally Posted by bobsikus View Post
Hello guys, about coding, I have latest SDK 2.2.4. When I try to debug with gdb everything seems to work, except I does not have loaded correct symbols. Unfortunately there is a LOT of information about gdb, but I do not undestand them completely..

I can easily reproduce the problem and the memory address is always the same, journactl points to libQt5Quick.so.5.6.3
Code:
segfault at 4 ip 6fae6efa sp 77ae7c30 error 4 in libQt5Quick.so.5.6.3[6fa05000+264000]
Sep 09 16:27:59 SailfishEmul kernel: Code: e0 01 e9 a8 fe ff ff 90 8d b4 26 00 00 00 00 90 55 89 e5 57 56 53 e8 a5 57 f2 ff 81 c3 15 c1 25 00 83 ec 5c 8b 7d 08 8b 45 0c <8b> 77 04 39 46 74 0f 84 7f 02 00 00 85 c0 74 1e 8b 45 0c 8d 76 00
unfortunately then SDK doesn't show anything more specific, which should lead me somewhere, or at least I'm too dumb to understand it :
Code:
 0x6fb90efa    8b 77 04     mov   0x4 (%edi),%esi
I would like to know step by step for idiots how to properly set up loading symbols in SDK, on emulator, wherever it is needed.

Thank you a lot
Hello guys, I have actually found the error even without debugger. But I have another question, might be stupid, but did not find any feasable answer in docs. WebPirate has its navigationbar on the bottom, to the top of this bar is anchored two things, one was already there before, one I have added. Problem is height, when I anchor bottom of (originally there were tabviewdialogs which shows various things) SilicaListView to the top of the navigationbar, height basically cannot be changed. If I specify height, f.e. by dividing original navigationbar height (or even if by real number) height is actually the same, but its bottom moves under the bar, so it more or less shows the height content how it was supposed to be calculated.. How to proceed to calculate height from the bottom ? does z-index matter (navigationbar has z-index different then other elements)? Thank you

EDIT: Well I have overlooked it, at https://doc.qt.io/qt-5/qml-qtquick-listview.html
By default, a vertical ListView sets flickableDirection to Flickable.Vertical, and a horizontal ListView sets it to Flickable.Horizontal. Furthermore, a vertical ListView only calculates (estimates) the contentHeight, and a horizontal ListView only calculates the contentWidth. The other dimension is set to -1.
so it seems like it is not possible to do so, if anyone know how can be height managed, let me know please

EDIT2: since these buttons are not anyhow dynamic I have recreated SilicaListView and ListItems to Row and Rectangles and it fits.
Attached Images
 

Last edited by bobsikus; 2019-10-21 at 13:24.
 

The Following User Says Thank You to bobsikus For This Useful Post: