*** zbenjamin is now known as Guest27737 | 01:07 | |
*** zbenjamin_ is now known as zbenjamin | 01:07 | |
*** nyov is now known as Guest82349 | 03:37 | |
bionade24 | Hello, I how can I do this correctly? http://ix.io/2lmT I always get component mya not contain other properties than id since the update | 10:57 |
---|---|---|
mal | bionade24: maybe you need to first fo import "pages" and then use this: initialPage: Component { loggedIn ? MainPage {} : SetupPage {} } or something like that | 11:41 |
mal | or if that doesn't work then initialPage: loggedIn ? Component { MainPage { } } : Component { SetupPage { } } | 11:43 |
mal | latter might be more correct maybe | 11:43 |
bionade24 | mal: But this worked before 3.3. And wouldn't this be a lot overhead and it's better to use a loader instead? | 11:47 |
mal | why didn't you say that it used to work | 11:48 |
bionade24 | mal: Sorry forgot | 11:48 |
mal | from which line does the error come from? | 11:49 |
bionade24 | mal: Line 9 | 11:49 |
bionade24 | mal: The one where the url of the Component gets specified | 11:49 |
bionade24 | mal: But when I use loader it never loads | 11:59 |
mal | any error? | 12:01 |
*** frinring_ is now known as frinring | 12:06 | |
bionade24 | mal: No, I currently look in other apps how they handled the login procedure | 12:07 |
bionade24 | mal: Because I don't think only making things invisible is a good idea. | 12:09 |
bionade24 | mal: Do you know any App with a login wizard? | 12:10 |
mal | no | 12:31 |
mal | bionade24: so are you saying none of the ways I mentioned worked? | 12:31 |
mal | that is odd | 12:31 |
mal | are you sure there isn't something else wrong in your app which cause the pages not load? | 12:31 |
mal | are the sources somewhere? | 12:32 |
bionade24 | mal: Yes, the first one you suggested was the one I thought of before someone else showed me the URL method. But you're right - probably the issue is somewhere else in my crazy startup method I should refactor. Sources https://github.com/seasync/harbour-seafish/ but most things aren't pushed bc I wanted to get them working first | 12:34 |
bionade24 | mal: the problematic part included | 12:35 |
mal | bionade24: does that need some changes, it won't even build | 12:48 |
mal | bionade24: complains about missing src/seafile/open-local-helper.h | 12:48 |
bionade24 | mal: As I said, the biggest part isn't pushed, so yes, the version at github won't build | 12:49 |
mal | ok, then I can't really help much if I can even make a test build | 12:50 |
mal | unless you send me an rpm | 12:50 |
bionade24 | mal: Yes, I know, sorry about that. I can do that if you want. gdb doesn't work for me in QtCreator, I always get GDB was terminated unexpected Code 127 | 12:52 |
bionade24 | mal: then I have to kill manually | 12:53 |
bionade24 | mal: Here are the RPMS https://oscloud.info/d/39c94997722b461fbd0a/ | 12:57 |
bionade24 | mal: But it would be nice if you know what I did wrong so that debugging didn't work | 12:58 |
mal | bionade24: I obviously need the dependency rpms also | 12:59 |
mal | seafile for example | 12:59 |
mal | and searpc | 12:59 |
mal | and jansson might be also needed | 12:59 |
bionade24 | http://repo.merproject.org/obs/home:/nielnielsen/latest_i486/home:nielnielsen.repo | 13:01 |
bionade24 | https://github.com/seasync/harbour-seafish/blob/master/src/harbour-seafish.cpp | 13:01 |
bionade24 | Wrong link: http://repo.merproject.org/obs/home:/oroesler/sailfish_latest_i486/home:oroesler.repo | 13:02 |
bionade24 | mal: Seems like when libtinfo.so.5 is missing on the host the debugger won't work | 13:02 |
bionade24 | mal: Thx for helping me that much | 13:02 |
mal | wrong arch for your app | 13:06 |
mal | I'm testing on arm device | 13:06 |
mal | bionade24: ^ | 13:18 |
mal | or do I have to test on i486 emulator or devcie | 13:19 |
bionade24 | mal: Ok, then the repo links were wrong, too. | 13:20 |
mal | that is not a problem | 13:24 |
mal | I already have the dependencies for arm but not the main rpm | 13:24 |
mal | I didn't even use the repo url (not sure how to even use those) | 13:24 |
bionade24 | mal: Sorry but then I have to add everything to the arm sdk and I don't think that's worth the effort, I have to solve the libtinfo.so.5 issue, so that my own debugger works because that can't be a permanent solution | 13:26 |
mal | I can grab my tablet an try on it then | 13:28 |
bionade24 | mal: Would be utra nice, I now probably have a way to get the old ncurses for the debugger, too | 13:33 |
mal | bionade24: nothing happens if I try to launch the app | 13:41 |
mal | no errors and it's just stuck | 13:42 |
bionade24 | mal: Yeah, I know. Seems like I got these errors only because I used Qmllivebench. If the debugger works I'll start debugging now. Thanks for your help and I'll publish the rest of the source code asap (when it works) | 13:43 |
bionade24 | mal: Thx for taking the time to do this, this is really unusual | 13:44 |
bionade24 | Does anyone know where I can see why the debugger fails? | 13:55 |
bionade24 | mal: 'initialPage: loggedIn ? Qt.resolvedUrl("pages/Page1.qml") : Qt.resolvedUrl("pages/Page2.qml")' worked for me, sadly the error in the crazy signal slot calls remains and it's hard to debug it with command line gdb | 18:17 |
*** svartoyg is now known as svartoyg_afk | 18:26 | |
*** svartoyg_afk is now known as svartoyg | 18:41 | |
*** svartoyg is now known as svartoyg_afk | 18:53 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!