Re: [Interest] WebVuew::runJavaScript problems

2018-08-22 Thread Jason H
I think I'm also seeing a caching problem where the server is updated but I'm getting old html code. Can I invalidate the cache? > Sent: Wednesday, August 22, 2018 at 10:56 PM > From: "Jason H" > To: "interestqt-project.org" > Subject: [Interest] WebVuew::runJavaScript problems > > I'm trying t

[Interest] WebVuew::runJavaScript problems

2018-08-22 Thread Jason H
I'm trying to load and get a variable that is changed by the page. webview.runJavaScript("testResult", function(result){ console.log('webview result', result); }); The html is var testResult=""; But the output is: qml: webview result und

Re: [Interest] QSettings keys

2018-08-22 Thread Thiago Macieira
On Wednesday, 22 August 2018 11:06:16 PDT Bertwim wrote: > This is what I observe: > > For instance, if I enter the following, manually, in the ini file: [ignored] What you type manually is not relevant. > and then look at the ini-file after it has been rewritten to disk, this > has become: > >

Re: [Interest] QSettings keys

2018-08-22 Thread René Hansen
Check out the whitespace section of https://en.wikipedia.org/wiki/INI_file. Inconsistent whitespace handling is the reason you really want to encode it. /René On Wed, 22 Aug 2018 at 20:06 Bertwim wrote: > This is what I observe: > > For instance, if I enter the following, manually, in the ini f

Re: [Interest] QSettings keys

2018-08-22 Thread Bertwim
This is what I observe: For instance, if I enter the following, manually, in the ini file: [  foo:bar  ] line 1 = some text    line:tail = indented + key has character ':' and then look at the ini-file after it has been rewritten to disk, this has become: [foo%3Abar] line%201=some text line%

Re: [Interest] QSettings keys

2018-08-22 Thread Thiago Macieira
On Wednesday, 22 August 2018 01:42:20 PDT Bertwim wrote: > Hi, > > I have a problem with understanding QSettings. I see that when the > settings are written back to file (ini-file, Linux) certain characters > such as , ':' (colon), etc, written in their hexadecimal encoding > (%20 for space, %3A

Re: [Interest] QSettings keys

2018-08-22 Thread Kai Koehne
> -Original Message- > From: Interest On Behalf > Of Bertwim > Sent: Wednesday, August 22, 2018 10:42 AM > To: interest@qt-project.org > Subject: [Interest] QSettings keys > > Hi, > > I have a problem with understanding QSettings.  I see that when the settings > are written back to file

Re: [Interest] Problems with QCamera/QML Camera when trying to porting a desktop application to android tablet

2018-08-22 Thread Tony Rietwyk
Hi Roman, Why did you need to use createWindowContainer? Wouldn't the QQuickView do as a window anyway?  Have you added a layout to manage sizing the QQuickView within the created window? Are you using resizeMode SizeRootObjectToView?  I think the paragraph in QQuickView documentation starti

[Interest] QSettings keys

2018-08-22 Thread Bertwim
Hi, I have a problem with understanding QSettings.  I see that when the settings are written back to file (ini-file, Linux) certain characters such as , ':' (colon), etc, written in their hexadecimal encoding (%20 for space, %3A for ':'). When keys are read (from an ini file) these characters a