*** datagutt has quit IRC | 00:04 | |
*** triggerhappy has joined #sailfishos | 00:21 | |
*** Morpog_PC has quit IRC | 00:22 | |
*** Tomiol80 has quit IRC | 00:24 | |
*** sardini has quit IRC | 00:47 | |
*** Sfiet_Konstantin has quit IRC | 00:50 | |
*** nodevel has quit IRC | 00:59 | |
*** DrIDK has quit IRC | 01:05 | |
*** reaffi has quit IRC | 01:40 | |
*** furikku has joined #sailfishos | 02:31 | |
*** _Razor__ has quit IRC | 02:37 | |
*** piee has joined #sailfishos | 02:54 | |
*** piee has quit IRC | 02:59 | |
*** miksuh has quit IRC | 03:06 | |
*** Sarvi has quit IRC | 03:26 | |
*** toartist has joined #sailfishos | 03:49 | |
*** dhbiker has joined #sailfishos | 06:04 | |
*** b0bben has joined #sailfishos | 06:17 | |
*** Pali has joined #sailfishos | 06:34 | |
*** Custodian has joined #sailfishos | 06:47 | |
*** Khertan_ has quit IRC | 07:00 | |
*** jpetersen__ has quit IRC | 07:03 | |
*** Eismann has joined #sailfishos | 07:16 | |
*** dhbiker has quit IRC | 07:33 | |
*** nodevel has joined #sailfishos | 07:37 | |
*** b0bben has quit IRC | 07:45 | |
*** c-aries has joined #sailfishos | 08:01 | |
*** M13 has joined #sailfishos | 08:04 | |
*** dhbiker has joined #sailfishos | 08:05 | |
*** edgar2_ has joined #sailfishos | 08:12 | |
*** Sfiet_Konstantin has joined #sailfishos | 08:13 | |
*** b0bben has joined #sailfishos | 08:15 | |
*** jjanvier has joined #sailfishos | 08:15 | |
*** Custodian has quit IRC | 08:25 | |
*** disharmonic has joined #sailfishos | 08:26 | |
*** Pat_o has joined #sailfishos | 08:30 | |
*** itbaron has joined #sailfishos | 08:31 | |
*** M13 has quit IRC | 08:58 | |
*** martyone has joined #sailfishos | 09:23 | |
*** M4rtinK has joined #sailfishos | 09:29 | |
*** Pat_o has quit IRC | 09:34 | |
*** spider-mario has joined #sailfishos | 09:35 | |
*** spider-mario has joined #sailfishos | 09:36 | |
*** Guest25742 has joined #sailfishos | 09:38 | |
*** spider-mario has quit IRC | 09:38 | |
*** spider-mario has joined #sailfishos | 09:38 | |
*** piee has joined #sailfishos | 09:43 | |
*** zenvoid has joined #sailfishos | 09:48 | |
*** Superpelican has joined #sailfishos | 09:56 | |
*** Morpog_PC has joined #sailfishos | 10:00 | |
*** Venemo_ has joined #sailfishos | 10:03 | |
*** Venemo has quit IRC | 10:03 | |
*** Tomiol80 has joined #sailfishos | 10:04 | |
Superpelican | Sfiet_Konstantin:I'm trying to debug my app | 10:04 |
---|---|---|
Superpelican | Sfiet_Konstantin:I've installed the qt5-qtdeclarative-plugin-qmlinspector | 10:05 |
Superpelican | like the FAQ suggested | 10:05 |
Superpelican | and restarted both the Mer SDK and emulator | 10:05 |
Superpelican | but I still get "Could not connect to the in-process QML debugger." and "The application is not set up for QML/JS debugging" | 10:06 |
Superpelican | the problem is | 10:06 |
Superpelican | that the whole debugging stops | 10:06 |
Superpelican | I don't even want to debug QML/JS | 10:07 |
Sfiet_Konstantin | Superpelican: recompile your app | 10:07 |
Superpelican | only C++ | 10:07 |
Superpelican | eh | 10:07 |
Sfiet_Konstantin | then, go to the project, execute | 10:07 |
Superpelican | it looks like start debugging | 10:07 |
Sfiet_Konstantin | and uncheck debug qml | 10:07 |
Superpelican | already recompiles | 10:07 |
Superpelican | ok will try | 10:08 |
*** piee has quit IRC | 10:08 | |
Superpelican | Sfiet_Konstantin:I now clicked on the Debug/Run button under the Run/Build button | 10:09 |
Superpelican | and now I've got further output | 10:09 |
Superpelican | will paste | 10:09 |
Superpelican | Sfiet_Konstantin:http://paste.kde.org/p1eae8662/ | 10:09 |
*** piee has joined #sailfishos | 10:10 | |
Sfiet_Konstantin | Superpelican: :/ | 10:10 |
Superpelican | note:I haven't unchecked the debug qml yet | 10:11 |
Sfiet_Konstantin | Superpelican: uncheck it | 10:12 |
Superpelican | Sfiet_Konstantin:Where can I find it? | 10:12 |
Superpelican | I have checked the Projects tab | 10:13 |
Superpelican | but can't find it there | 10:13 |
Superpelican | tools -> options also doesn't seem to contain it | 10:13 |
Sfiet_Konstantin | Superpelican: run section (IIRC) | 10:14 |
Sfiet_Konstantin | and scroll down | 10:14 |
*** piee has quit IRC | 10:15 | |
Superpelican | Sfiet_Konstantin:I was playing around | 10:15 |
Superpelican | and it's looks like I've got debugging working! | 10:15 |
Superpelican | Sfiet_Konstantin:I did "Debug -> Start debugging -> Attach to QML port" | 10:16 |
Superpelican | and I entered 10001 | 10:16 |
Superpelican | the port number it complained about it couldn't connect to | 10:16 |
Sfiet_Konstantin | :/ | 10:19 |
Superpelican | hmm | 10:19 |
Sfiet_Konstantin | dunno what you did because usually you don't do that | 10:19 |
Superpelican | but it doesn't give me any information | 10:19 |
Sfiet_Konstantin | especially if you want to debug C++ code | 10:19 |
Superpelican | nvm | 10:20 |
Superpelican | I'll just try to uncheck it | 10:20 |
Superpelican | because this "debugging" isn't very helpful | 10:20 |
Sfiet_Konstantin | because you ared debugging QML | 10:20 |
Superpelican | ah I've disabled QML debugging now :) | 10:21 |
Superpelican | thanks | 10:21 |
Superpelican | hopefully I can debug c++ now | 10:21 |
Superpelican | well great | 10:22 |
Superpelican | that "debugging" of Qt Creator is useless | 10:23 |
*** nsuffys has joined #sailfishos | 10:23 | |
Superpelican | Now I got this: http://paste.kde.org/pda5e681d/ | 10:23 |
*** nsuffys has joined #sailfishos | 10:23 | |
Superpelican | instead of a Floating point exception | 10:23 |
Sfiet_Konstantin | a sigpfe is an floating point exception | 10:25 |
*** Superpelican has quit IRC | 10:25 | |
*** Superpelican has joined #sailfishos | 10:25 | |
Superpelican | Sfiet_Konstantin:That's the point | 10:25 |
Superpelican | the debugging didn't give me anymore information | 10:25 |
Sfiet_Konstantin | and ? | 10:25 |
Superpelican | than I got from | 10:25 |
Superpelican | just running the program | 10:25 |
Sfiet_Konstantin | well, I don't know | 10:25 |
Superpelican | I was hoping | 10:25 |
Sfiet_Konstantin | no break point ? | 10:26 |
Sfiet_Konstantin | nothing ? | 10:26 |
Superpelican | to be able to read the contents of variables | 10:26 |
Superpelican | just like normal plain C++ gdb | 10:26 |
Sfiet_Konstantin | does the debugger broke | 10:26 |
Superpelican | the only thing I have now | 10:26 |
Superpelican | is that it the program stopped when executing line 29 | 10:26 |
Superpelican | which calls the function generateQuestion() | 10:26 |
Sfiet_Konstantin | Superpelican: enough | 10:26 |
Sfiet_Konstantin | that's clearnly enough | 10:26 |
Superpelican | well | 10:26 |
Sfiet_Konstantin | hum | 10:26 |
Superpelican | It would've been nice | 10:27 |
Sfiet_Konstantin | I got problems as well ... | 10:27 |
Superpelican | if I could check the values of the variables | 10:27 |
Sfiet_Konstantin | dunno if it is a sdk problem | 10:27 |
Sfiet_Konstantin | somehow, one day, it started to work | 10:27 |
Superpelican | in the non-Qt version of my app | 10:27 |
Superpelican | I also had a floating point exception | 10:27 |
Sfiet_Konstantin | mostly likely black magic | 10:27 |
Superpelican | which was caused my rand() % tables.size() | 10:27 |
*** nsuffys has quit IRC | 10:28 | |
Superpelican | where the size of tables was 0 | 10:28 |
Sfiet_Konstantin | you should install some debug packages, but not on the build target | 10:28 |
Superpelican | so it complained | 10:28 |
Superpelican | about dividing by 0 | 10:28 |
Sfiet_Konstantin | trty ssh to the emulator | 10:28 |
Sfiet_Konstantin | and gdb here ? | 10:28 |
Superpelican | ok | 10:28 |
Superpelican | hmm yeah | 10:28 |
Superpelican | but the problem is | 10:28 |
Superpelican | I'll have to get the SDK to compile with the -g flag | 10:28 |
*** nsuffys has joined #sailfishos | 10:28 | |
Superpelican | to get debugging information of my app | 10:28 |
Superpelican | and | 10:28 |
Sfiet_Konstantin | Superpelican: are you compiling in debug mode | 10:28 |
Sfiet_Konstantin | in the SDK ? | 10:29 |
Superpelican | what binary should I run? | 10:29 |
Sfiet_Konstantin | or release mode | 10:29 |
Superpelican | I have no idea | 10:29 |
Sfiet_Konstantin | Superpelican: gdb <nameofyourapp> | 10:29 |
Superpelican | yeah | 10:29 |
Sfiet_Konstantin | go to project tab and see if debug is selected | 10:29 |
Superpelican | but where *is* the app? | 10:29 |
Sfiet_Konstantin | Superpelican: the name of your app | 10:29 |
Superpelican | Sfiet_Konstantin:So you're saying that gdb will magically find where my app is? | 10:32 |
Sfiet_Konstantin | Superpelican: no | 10:32 |
Sfiet_Konstantin | /opt/sdk/bin/<usetab to autocomplete> | 10:33 |
Superpelican | Sfiet_Konstantin:qmake $HOME/Coding/ClamshellSailfish/Quick2Clamshell/Quick2Clamshell.pro -r -spec linux-g++-32 -after OBJECTS_DIR=obj MOC_DIR=moc UI_DIR=ui RCC_DIR=rcc | 10:33 |
Superpelican | Does that mean that my app is compiled with the -g flag? | 10:33 |
Sfiet_Konstantin | Superpelican: iirc it is enough | 10:34 |
Sfiet_Konstantin | the release mode have a special flag | 10:34 |
Superpelican | ok will try then | 10:34 |
Superpelican | oh | 10:34 |
*** Pat_o has joined #sailfishos | 10:34 | |
Superpelican | there's only one problem | 10:34 |
Superpelican | Sfiet_Konstantin:I don't think gdb has support | 10:34 |
Superpelican | for Qt types | 10:34 |
Superpelican | So I won't be able to read the contents of QStrings and QVectors :( | 10:35 |
*** lpotter has quit IRC | 10:35 | |
Superpelican | which are the most important | 10:35 |
Superpelican | for me | 10:35 |
*** lpotter has joined #sailfishos | 10:35 | |
*** reaffi has joined #sailfishos | 10:36 | |
Sfiet_Konstantin | Superpelican: that's not the first problem | 10:37 |
Sfiet_Konstantin | first, you need to try if you can get a correct bt | 10:37 |
Superpelican | Sfiet_Konstantin:http://www.frankmeffert.de/2010/11/print-qstrings-in-gdb/ | 10:38 |
Superpelican | I already have a custom .gdbinit | 10:38 |
Superpelican | for std::vector and std::string support | 10:38 |
Sfiet_Konstantin | don't care about that | 10:38 |
Sfiet_Konstantin | first | 10:38 |
Sfiet_Konstantin | care about getting a bt | 10:38 |
Superpelican | ? | 10:38 |
Sfiet_Konstantin | backtrace | 10:38 |
Sfiet_Konstantin | gdb something | 10:38 |
Sfiet_Konstantin | and then press r | 10:38 |
Sfiet_Konstantin | then wait for the crash | 10:38 |
Sfiet_Konstantin | and enter bt | 10:38 |
Superpelican | end then? | 10:38 |
Superpelican | s/end/and | 10:39 |
Sfiet_Konstantin | run your app usign gdb <pathtoyourapp> | 10:39 |
Sfiet_Konstantin | in the gdb prompt run it with r | 10:39 |
Superpelican | :nod: | 10:39 |
Sfiet_Konstantin | (enter "r") | 10:39 |
Sfiet_Konstantin | then wait for the crash | 10:39 |
Superpelican | yes | 10:39 |
Sfiet_Konstantin | and enter "bt" | 10:39 |
Superpelican | I have done basic gdb debugging | 10:39 |
Sfiet_Konstantin | :) | 10:39 |
Superpelican | breakpoints, run, continue | 10:40 |
Sfiet_Konstantin | my gdb level is close to non-existant too | 10:40 |
Superpelican | print value of variables | 10:40 |
Superpelican | and it has already helped my quite a few times | 10:40 |
Superpelican | when debugging the non-Qt version of my app | 10:40 |
Superpelican | I had really stupid errors | 10:40 |
Superpelican | in my app | 10:40 |
Superpelican | but they caused very weird behaviour | 10:40 |
Superpelican | that was hard to debug | 10:40 |
Superpelican | but the ability to read the contents of vectors etc | 10:41 |
Sfiet_Konstantin | you never saw threads and concurrent access problems | 10:41 |
Sfiet_Konstantin | did you | 10:41 |
Superpelican | eh no | 10:41 |
Superpelican | I haven't used threads yet | 10:41 |
Superpelican | it seems cool to me | 10:42 |
Superpelican | to use multiple cores | 10:42 |
Superpelican | but I suspect | 10:42 |
Sfiet_Konstantin | Superpelican: so you don't know about real weired behaviour | 10:42 |
Superpelican | it will introduce lots of complex stuff to :( | 10:42 |
Superpelican | Sfiet_Konstantin:But does the binary remain in /opt/sdk/bin after the app exited? | 10:43 |
Superpelican | until you run the app again | 10:43 |
*** M4rtinK has quit IRC | 10:43 | |
Superpelican | (a.k.a build it again) | 10:43 |
Superpelican | Sfiet_Konstantin:I did gdb /opt/sdk/bin/Quick2Clamshell | 10:44 |
Superpelican | but when I tried to run it then | 10:44 |
Superpelican | (in GDB with 'r') | 10:44 |
Superpelican | it said that there was no executable file | 10:44 |
Sfiet_Konstantin | Superpelican: do you have a way to take contorl of your computer in remote access ? | 10:45 |
Superpelican | well | 10:45 |
Superpelican | ssh | 10:45 |
Superpelican | but I think that would | 10:45 |
Superpelican | become very difficult | 10:45 |
Superpelican | as you would have to ssh in to the host | 10:46 |
Superpelican | and then into the emulator... | 10:46 |
Sfiet_Konstantin | no | 10:46 |
Sfiet_Konstantin | no SSH | 10:46 |
Sfiet_Konstantin | that won't work | 10:46 |
Sfiet_Konstantin | or gimme SSH | 10:46 |
Sfiet_Konstantin | gimme SSH to the host | 10:46 |
*** piee has joined #sailfishos | 10:46 | |
Sfiet_Konstantin | and well, to the emulator it might not be easy from another account | 10:46 |
Yaniel | tmux | 10:47 |
Superpelican | Sfiet_konstantin:how does that tab completion work? | 10:47 |
Yaniel | with a shared socket | 10:47 |
Sfiet_Konstantin | Yaniel: I would love to have access to the emulo as well | 10:47 |
Sfiet_Konstantin | so I was thinking about teamviewer | 10:47 |
Sfiet_Konstantin | Superpelican: press tab | 10:47 |
Sfiet_Konstantin | and it works | 10:47 |
Sfiet_Konstantin | :/ | 10:47 |
Yaniel | well ssh to emulator in tmux and share the socket | 10:47 |
Yaniel | unless you want the GUI | 10:47 |
Superpelican | Sfiet_Konstantin:I /opt/sdk/bin doesn't exist | 10:49 |
Superpelican | I did a ls on int | 10:49 |
Superpelican | s/int/it | 10:49 |
Sfiet_Konstantin | what's in /opt/sdk | 10:50 |
Superpelican | ah | 10:50 |
Superpelican | Quick2Clamshell | 10:50 |
Superpelican | and untitled | 10:50 |
Superpelican | wait a second | 10:50 |
Superpelican | that are my 2 projects | 10:50 |
Superpelican | that are the 2 projects | 10:50 |
Superpelican | I recently have run | 10:50 |
Sfiet_Konstantin | cd in Quick2Clamshell | 10:50 |
Sfiet_Konstantin | and cd into bin and you will find it | 10:50 |
Superpelican | Sfiet_Konstantin:They must've changed the dir structure | 10:50 |
Sfiet_Konstantin | Superpelican: or I forgot their dir structure | 10:51 |
Superpelican | well | 10:51 |
Superpelican | Quick2Clamshell is a dir | 10:51 |
Superpelican | hmm | 10:51 |
Superpelican | when I ls now | 10:51 |
Superpelican | I get only "usr" | 10:51 |
Superpelican | cd ./usr && ls gives me "share lib bin src" | 10:52 |
*** Pat_o has quit IRC | 10:52 | |
*** Tomiol80 has quit IRC | 10:52 | |
Superpelican | Sfiet_Konstantin:ah | 10:52 |
Superpelican | the bin is in /opt/sdk/Quick2Clamshell/usr/bin | 10:52 |
Superpelican | Sfiet_Konstantin:it works! | 10:53 |
Superpelican | ./Quick2Clamshell | 10:53 |
Superpelican | executes my app | 10:53 |
Superpelican | I now have a GUI again | 10:53 |
*** Pat_o has joined #sailfishos | 10:53 | |
Superpelican | Sfiet_Konstantin:I have more information now! :D | 10:54 |
Superpelican | ./Quick2Clamshell gave lots of output | 10:54 |
Superpelican | the last line is some error about QVector | 10:54 |
Superpelican | index out of range | 10:54 |
Superpelican | so the program must be accessing an index that doesn't exist! | 10:55 |
*** DrIDK has joined #sailfishos | 10:55 | |
*** sacha_ has joined #sailfishos | 10:56 | |
Sfiet_Konstantin | :) | 10:57 |
Sfiet_Konstantin | see the code line | 10:57 |
Sfiet_Konstantin | etc | 10:57 |
*** datagutt has joined #sailfishos | 10:58 | |
piee | hi which app? | 10:58 |
*** M4rtinK has joined #sailfishos | 10:59 | |
*** piee has quit IRC | 11:03 | |
*** piee has joined #sailfishos | 11:10 | |
Sfiet_Konstantin | piee: still the same app that Superpelican is working on | 11:12 |
Sfiet_Konstantin | :) | 11:12 |
Superpelican | Sfiet_Konstantin:Yeah | 11:12 |
Superpelican | I'm taking a lot of time for such a simple app ;) | 11:12 |
Superpelican | Sfiet_Konstantin:But hey, it's my first GUI application and first smartphone app! | 11:14 |
Superpelican | :D | 11:14 |
piee | i want to stidy it | 11:14 |
Superpelican | piee:You can :) | 11:14 |
Superpelican | piee:But I think you could better study Sfiet_Konstantin's app | 11:14 |
Superpelican | I'm still a beginner | 11:15 |
Superpelican | I don't want you to inherit my mistakes | 11:15 |
piee | the weath app? | 11:15 |
Superpelican | yes | 11:15 |
Superpelican | Weatherfish | 11:15 |
Superpelican | The beautiful weather app | 11:15 |
Superpelican | piee:But if you insist: https://bitbucket.org/Superpelican/quick_clamshell/src | 11:16 |
Superpelican | there's the source of my app | 11:16 |
Superpelican | but it's not finished yet | 11:16 |
Superpelican | so it doesn't work | 11:16 |
Superpelican | the QML/GUI part should be ok though | 11:16 |
piee | do u best to finish it | 11:18 |
Superpelican | ok thanks :) | 11:18 |
Superpelican | It won't take long anymore! :) | 11:18 |
Superpelican | (hopefully) | 11:18 |
*** reaffi has quit IRC | 11:24 | |
*** jjanvier has quit IRC | 11:25 | |
*** nahka has joined #sailfishos | 11:28 | |
*** Custodian has joined #sailfishos | 11:28 | |
*** jjanvier has joined #sailfishos | 11:32 | |
*** b0bben has quit IRC | 11:32 | |
*** nsuffys has quit IRC | 11:44 | |
Superpelican | Sfiet_Konstantin:I've now find the line where my program fails, with the help of some qDebug() statements :) | 11:45 |
Sfiet_Konstantin | :) | 11:47 |
* Superpelican <3 qDebug() | 11:48 | |
Superpelican | Sfiet_Konstantin:I'm having a really weird issue | 11:52 |
Superpelican | Sfiet_Konstantin:http://paste.kde.org/p2e7b8936/ | 11:52 |
Sfiet_Konstantin | whre is it ? | 11:52 |
Superpelican | Sfiet_Konstantin:The strange thing is | 11:53 |
Superpelican | that "qDebug() << "I'm now before the filling the tables vector code!\n";" is executed | 11:53 |
*** b0bben has joined #sailfishos | 11:53 | |
Superpelican | oh nvm | 11:53 |
*** nsuffys has joined #sailfishos | 11:54 | |
Superpelican | Sfiet_Konstantin:ah | 11:54 |
Superpelican | Sfiet_Konstantin:What I suspected | 11:54 |
Superpelican | seems to be true | 11:54 |
Superpelican | there seems to be a scope issue | 11:54 |
Superpelican | with 2 vectors with the same name | 11:55 |
Superpelican | being created | 11:55 |
Superpelican | Sfiet_Konstantin:Would you like to check https://bitbucket.org/Superpelican/quick_clamshell/src/e0bd559b40a7f58305471d3941e66c2a5d13b76f/Logic?at=default | 11:56 |
Superpelican | I'm suspecting the problem lies there | 11:56 |
Superpelican | Sfiet_Konstantin:I have "QVector<int> tables;" in my class body | 11:56 |
Superpelican | Sfiet_Konstantin:And this is in my constructor: "QVector<int> tables(10);" | 11:57 |
Superpelican | Is there something wrong with that? | 11:57 |
Sfiet_Konstantin | yes | 11:58 |
Sfiet_Konstantin | prefix your private members with m_ | 11:58 |
Sfiet_Konstantin | don't expose attribute as public | 11:58 |
Sfiet_Konstantin | (encapsulation) | 11:58 |
Sfiet_Konstantin | (CTRL+SHIFT+R on a variable name is your friend) | 11:59 |
*** Dimon has joined #sailfishos | 12:11 | |
*** VitaBushido has joined #sailfishos | 12:14 | |
*** jjanvier has quit IRC | 12:17 | |
Superpelican | Sfiet_Konstantin:is the "m_" prefix necessary? | 12:22 |
Superpelican | or is it just a good habit/rule? | 12:23 |
Sfiet_Konstantin | Superpelican: very good habit | 12:23 |
Sfiet_Konstantin | strongly recommanded | 12:23 |
Sfiet_Konstantin | (m_ means member) | 12:23 |
Superpelican | :nod: | 12:23 |
Sfiet_Konstantin | or add just an underscore | 12:23 |
Sfiet_Konstantin | before, or after | 12:23 |
Sfiet_Konstantin | I (personally) use m_ | 12:23 |
Sfiet_Konstantin | but other use _foo | 12:23 |
Sfiet_Konstantin | or foo_ | 12:23 |
Sfiet_Konstantin | m_foo for me | 12:23 |
Superpelican | Sfiet_Konstantin:I've replaced the QVector<int> tables(10) | 12:24 |
*** b0bben has quit IRC | 12:24 | |
Superpelican | with tables.reserve(10) | 12:24 |
Superpelican | but still getting the index out of range error | 12:24 |
Sfiet_Konstantin | no | 12:24 |
Sfiet_Konstantin | that don't work | 12:24 |
Superpelican | and my qDebug statement | 12:24 |
Superpelican | still reports a size of 0 | 12:24 |
Sfiet_Konstantin | because if you reserve 10, you don't actually _insert_ elements | 12:24 |
Sfiet_Konstantin | you have space for 10 elements | 12:24 |
Sfiet_Konstantin | you don't have 10 elements | 12:24 |
Superpelican | Sfiet_Konstantin:I don't understand | 12:24 |
Sfiet_Konstantin | reserve is an optimization process in memory | 12:25 |
Superpelican | Sfiet_Konstantin:What was wrong with the QVector<int> tables(10) | 12:25 |
Superpelican | Sfiet_Konstantin:I understand .reserve after your explanation ;) | 12:25 |
Sfiet_Konstantin | I quote the doc: | 12:25 |
Sfiet_Konstantin | Constructs a vector with an initial size of size elements. | 12:25 |
Sfiet_Konstantin | reserve: The sole purpose of this function is to provide a means of fine tuning QVector's memory usage. In general, you will rarely ever need to call this function. If you want to change the size of the vector, call resize(). | 12:25 |
Sfiet_Konstantin | in your case, either use append to add elements | 12:26 |
Sfiet_Konstantin | or constructs a list with already 10 elements | 12:26 |
*** nsuffys has quit IRC | 12:30 | |
*** Pat_o has quit IRC | 12:32 | |
*** piee has quit IRC | 12:35 | |
*** Pat_o has joined #sailfishos | 12:40 | |
*** trustq has quit IRC | 12:47 | |
*** b0bben has joined #sailfishos | 12:47 | |
*** sardini has joined #sailfishos | 12:51 | |
*** Morpog_PC has quit IRC | 12:57 | |
*** martyone has quit IRC | 13:03 | |
*** Morpog_PC has joined #sailfishos | 13:04 | |
*** Morpog_PC has quit IRC | 13:06 | |
*** trustq has joined #sailfishos | 13:07 | |
*** Morpog_PC has joined #sailfishos | 13:07 | |
*** b0bben has quit IRC | 13:08 | |
*** Morpog_PC has quit IRC | 13:10 | |
*** piee has joined #sailfishos | 13:13 | |
*** piee has quit IRC | 13:20 | |
*** Pat_o has quit IRC | 13:20 | |
*** piee has joined #sailfishos | 13:25 | |
*** triggerhappy_ has joined #sailfishos | 13:28 | |
*** triggerhappy has quit IRC | 13:30 | |
*** Morpog_PC has joined #sailfishos | 13:30 | |
*** piee has quit IRC | 13:36 | |
*** jjanvier has joined #sailfishos | 13:38 | |
*** piee has joined #sailfishos | 13:41 | |
*** jjanvier has quit IRC | 13:46 | |
*** piee has quit IRC | 13:48 | |
*** jjanvier has joined #sailfishos | 13:50 | |
*** piee has joined #sailfishos | 13:53 | |
*** Shaan7 has quit IRC | 14:00 | |
*** Shaan7 has joined #sailfishos | 14:04 | |
*** Pali has quit IRC | 14:04 | |
*** piee has quit IRC | 14:07 | |
*** Custodian has quit IRC | 14:11 | |
*** simbrown has quit IRC | 14:26 | |
*** krabador has joined #sailfishos | 14:32 | |
*** jjanvier has quit IRC | 14:38 | |
*** piee has joined #sailfishos | 14:40 | |
*** khertan has quit IRC | 14:44 | |
*** khertan has joined #sailfishos | 14:46 | |
Superpelican | Sfiet_Konstantin:What do you think I should use in my UI to notify the user that his answer is correct/wrong? | 14:48 |
Superpelican | I really don't know | 14:48 |
Superpelican | Sfiet_Konstantin:I tried your placeholderText idea | 14:51 |
Superpelican | it doesn't work | 14:51 |
Superpelican | it only works if the user hasn't entered text in the textField yet | 14:52 |
Superpelican | otherwise the answer that the user entered will remain in the textField{} | 14:52 |
*** nsuffys has joined #sailfishos | 14:57 | |
Superpelican | Sfiet_Konstantin:I've come up with a good solution :D | 15:02 |
Superpelican | Sfiet_Konstantin:ping | 15:09 |
*** Superpelican has quit IRC | 15:25 | |
*** Superpelican has joined #sailfishos | 15:26 | |
*** toartist has quit IRC | 15:35 | |
Superpelican | Sfiet_Konstantin:Yay, I think I've fixed the last error ;D | 15:39 |
Superpelican | Now the only things left are a screen for when the user has answered all questions (with score etc.) | 15:40 |
Superpelican | and the About page | 15:40 |
Superpelican | Sfiet_Konstantin:Is there a way to make a QML object invisible? | 15:40 |
Superpelican | I've already searched on the web | 15:40 |
Superpelican | but couldn't find anything | 15:40 |
Superpelican | except for elements/components | 15:40 |
Superpelican | that are always invisible | 15:41 |
Superpelican | like Item{} by default | 15:41 |
*** TW1920_ has quit IRC | 15:44 | |
*** TW1920 has joined #sailfishos | 15:45 | |
*** jpetersen has joined #sailfishos | 16:02 | |
*** rashm2k1 has joined #sailfishos | 16:02 | |
*** jpetersen has quit IRC | 16:09 | |
*** krabador has quit IRC | 16:10 | |
*** jpetersen has joined #sailfishos | 16:14 | |
*** rashm2k1 has quit IRC | 16:20 | |
*** rashm2k1 has joined #sailfishos | 16:21 | |
*** Custodian has joined #sailfishos | 16:25 | |
*** itbaron has quit IRC | 16:25 | |
*** _Razor_ has joined #sailfishos | 16:28 | |
*** VitaBushido has quit IRC | 16:38 | |
*** VitaBushido has joined #sailfishos | 16:40 | |
*** arcean has joined #sailfishos | 16:42 | |
*** piee has quit IRC | 16:43 | |
*** VitaBushido has left #sailfishos | 16:46 | |
*** Dimon has left #sailfishos | 16:46 | |
*** piee has joined #sailfishos | 16:48 | |
*** arcean has quit IRC | 16:49 | |
*** Pat_o has joined #sailfishos | 16:52 | |
*** Pat_o has quit IRC | 16:52 | |
*** nodevel has quit IRC | 17:00 | |
*** sardini has quit IRC | 17:02 | |
*** Jck_true has quit IRC | 17:02 | |
*** Jck_true has joined #sailfishos | 17:04 | |
*** Vlad_on_the_road has joined #sailfishos | 17:15 | |
*** Superpelican has quit IRC | 17:23 | |
*** Tomiol80 has joined #sailfishos | 17:24 | |
*** louisdk has joined #sailfishos | 17:42 | |
*** b0bben has joined #sailfishos | 18:09 | |
*** rashm2k has joined #sailfishos | 18:17 | |
*** rashm2k1 has quit IRC | 18:17 | |
*** Pali has joined #sailfishos | 18:20 | |
*** nsuffys_ has joined #sailfishos | 18:25 | |
*** nsuffys has quit IRC | 18:28 | |
*** rashm2k has quit IRC | 18:31 | |
*** Superpelican has joined #sailfishos | 18:34 | |
*** piee has quit IRC | 18:45 | |
*** arcean has joined #sailfishos | 18:46 | |
*** Superpelican has quit IRC | 18:50 | |
*** khertan has quit IRC | 18:51 | |
*** piee has joined #sailfishos | 18:53 | |
*** f3an0r has joined #sailfishos | 19:06 | |
*** furikku has quit IRC | 19:08 | |
*** nahka has quit IRC | 19:37 | |
*** rashm2k has joined #sailfishos | 19:39 | |
*** f3an0r has quit IRC | 19:46 | |
*** arcean has quit IRC | 19:46 | |
*** f3an0r has joined #sailfishos | 19:47 | |
*** arcean has joined #sailfishos | 19:51 | |
*** jpetersen_ has joined #sailfishos | 19:55 | |
*** khertan has joined #sailfishos | 19:57 | |
khertan | Hello | 19:57 |
khertan | is there a component that look like InfoBanner on Harmattan ? something for notifying user ? | 19:58 |
*** Pali has quit IRC | 19:58 | |
*** jpetersen has quit IRC | 19:59 | |
*** Venemo_ has quit IRC | 20:12 | |
*** arcean has quit IRC | 20:12 | |
*** Sarvi has joined #sailfishos | 20:12 | |
*** nsuffys_ has quit IRC | 20:14 | |
*** Pat_o has joined #sailfishos | 20:17 | |
*** ajalkane has joined #sailfishos | 20:20 | |
*** ljp has joined #sailfishos | 20:30 | |
*** edgar2_ has quit IRC | 20:36 | |
*** khertan has quit IRC | 20:45 | |
*** piee has quit IRC | 20:46 | |
*** khertan has joined #sailfishos | 20:47 | |
*** piee has joined #sailfishos | 20:49 | |
*** Guest25742 has quit IRC | 20:52 | |
*** Eismann has quit IRC | 20:56 | |
*** r3d has joined #sailfishos | 20:56 | |
*** khertan has quit IRC | 21:01 | |
*** khertan has joined #sailfishos | 21:02 | |
*** Tomiol80 has quit IRC | 21:03 | |
*** ajalkane has quit IRC | 21:03 | |
*** Morpog_ has joined #sailfishos | 21:10 | |
*** Pat_o has quit IRC | 21:11 | |
*** Morpog_PC has quit IRC | 21:11 | |
*** zenvoid has quit IRC | 21:17 | |
*** nodevel has joined #sailfishos | 21:21 | |
*** ajalkane has joined #sailfishos | 21:24 | |
*** piee has quit IRC | 21:29 | |
*** piee has joined #sailfishos | 21:37 | |
*** nodevel has quit IRC | 21:41 | |
*** nodevel has joined #sailfishos | 21:42 | |
*** piee has quit IRC | 21:45 | |
*** Vlad_on_the_road has quit IRC | 21:49 | |
*** disharmonic has quit IRC | 21:49 | |
*** louisdk has quit IRC | 21:52 | |
*** fk_lx has joined #sailfishos | 21:54 | |
*** datagutt has quit IRC | 22:04 | |
*** dhbiker has quit IRC | 22:04 | |
*** mjones_ has quit IRC | 22:06 | |
*** Custodian has quit IRC | 22:09 | |
*** spider-mario has quit IRC | 22:11 | |
*** b0bben has quit IRC | 22:24 | |
*** r3d has quit IRC | 22:34 | |
*** r3d has joined #sailfishos | 22:35 | |
*** lpotter has quit IRC | 22:37 | |
*** ljp has quit IRC | 22:39 | |
*** lpotter has joined #sailfishos | 22:40 | |
*** r3d has quit IRC | 22:40 | |
*** ljp has joined #sailfishos | 22:41 | |
*** ajalkane has quit IRC | 22:48 | |
*** mjones_ has joined #sailfishos | 22:49 | |
*** fk_lx has left #sailfishos | 22:55 | |
*** jjanvier has joined #sailfishos | 23:06 | |
*** Morpog_ has quit IRC | 23:30 | |
*** DrIDK has quit IRC | 23:37 | |
*** jjanvier has quit IRC | 23:45 | |
*** gabriel9 has joined #sailfishos | 23:48 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!