Re: [Interest] bug with # in URL when using setUrl?

2016-03-15 Thread Larry Martell
On Tue, Mar 15, 2016 at 9:14 PM, Thiago Macieira <thiago.macie...@intel.com> wrote: > On terça-feira, 15 de março de 2016 19:15:03 PDT Larry Martell wrote: >> So that led me to these questions: >> >> -What runs the JS code on the client? > > JavaScriptCore, WebKit

Re: [Interest] bug with # in URL when using setUrl?

2016-03-18 Thread Larry Martell
On Wed, Mar 16, 2016 at 6:29 AM, Konstantin Tokarev <annu...@yandex.ru> wrote: > > > 16.03.2016, 02:15, "Larry Martell" <larry.mart...@gmail.com>: >> -How can I debug the Angular code? > > QtWebKit has developer tools. You need to create QWebIns

Re: [Interest] bug with # in URL when using setUrl?

2016-03-15 Thread Larry Martell
On Tue, Mar 15, 2016 at 12:45 PM, Thiago Macieira <thiago.macie...@intel.com> wrote: > On terça-feira, 15 de março de 2016 12:04:34 PDT Larry Martell wrote: >> > To make matters short, these two URLs are different: >> > >> > http://foo.bar.com:8000/#/workitem/1

Re: [Interest] bug with # in URL when using setUrl?

2016-03-18 Thread Larry Martell
On Thu, Mar 17, 2016 at 8:11 AM, Larry Martell <larry.mart...@gmail.com> wrote: > On Thu, Mar 17, 2016 at 6:41 AM, Konstantin Tokarev <annu...@yandex.ru> wrote: >> >> >> 17.03.2016, 07:13, "Larry Martell" <larry.mart...@gmail.com>: >>>

Re: [Interest] bug with # in URL when using setUrl?

2016-03-19 Thread Larry Martell
On Wed, Mar 16, 2016 at 12:04 PM, Konstantin Tokarev <annu...@yandex.ru> wrote: > > > 16.03.2016, 18:39, "Larry Martell" <larry.mart...@gmail.com>: >> On Wed, Mar 16, 2016 at 6:29 AM, Konstantin Tokarev <annu...@yandex.ru> >> wrote: >

Re: [Interest] bug with # in URL when using setUrl?

2016-03-15 Thread Larry Martell
On Tue, Mar 15, 2016 at 1:32 AM, Thiago Macieira <thiago.macie...@intel.com> wrote: > On segunda-feira, 14 de março de 2016 18:30:13 PDT Larry Martell wrote: >> We have an app that emits a URL with a hashtag in it (#) and that is >> processed by some Angular JS c

[Interest] getting symbols in deployed mac app

2016-03-15 Thread Larry Martell
I am building my Qt app with symbols so I can use lldb. I use this cmake option "-DCMAKE_BUILD_TYPE=Debug". That indeed does make an executable that I debug locally on the machine I built it on. But if I then use macdeployqt to generate a dmg file, the executable in there does not seem to have

Re: [Interest] getting symbols in deployed mac app

2016-03-15 Thread Larry Martell
On Tue, Mar 15, 2016 at 10:33 AM, Larry Martell <larry.mart...@gmail.com> wrote: > I am building my Qt app with symbols so I can use lldb. I use this > cmake option "-DCMAKE_BUILD_TYPE=Debug". That indeed does make an > executable that I debug locally on the machine I

[Interest] bug with # in URL when using setUrl?

2016-03-14 Thread Larry Martell
We have an app that emits a URL with a hashtag in it (#) and that is processed by some Angular JS code we have (https://docs.angularjs.org/guide/$location). That URL is emitted with setUrl. It works fine on a Mac, but on Windows it acts as if the # were not there. Googling I found this:

Re: [Interest] bug with # in URL when using setUrl?

2016-03-15 Thread Larry Martell
On Tue, Mar 15, 2016 at 11:37 AM, Thiago Macieira <thiago.macie...@intel.com> wrote: > On terça-feira, 15 de março de 2016 07:04:49 PDT Larry Martell wrote: >> Sorry for not giving more details. It's not a fragment - it's an > > You say "it's not a fragment" an

Re: [Interest] bug with # in URL when using setUrl?

2016-03-15 Thread Larry Martell
On Tue, Mar 15, 2016 at 11:54 AM, Thiago Macieira <thiago.macie...@intel.com> wrote: > On terça-feira, 15 de março de 2016 11:45:12 PDT Larry Martell wrote: >> >> QString urlStr = "http://foo.bar.com:8000/#/workitem/12345;; >> >> QUrl reportUrl(url

[Interest] SVG gradient not working on some machines

2016-03-30 Thread Larry Martell
I have some HTML that looks like this: \ On some machines this works fine, but on other machines the entire rectangle is black. There are no errors in QWebInspector, but in the app's error log I see this

Re: [Interest] bug with # in URL when using setUrl?

2016-03-19 Thread Larry Martell
On Thu, Mar 17, 2016 at 11:39 AM, Thiago Macieira <thiago.macie...@intel.com> wrote: > On quinta-feira, 17 de março de 2016 09:39:44 PDT Larry Martell wrote: >> GET https://code.jquery.com/jquery-2.1.4.min.js SSL handshake failed >> >> A couple of days back Thiago s

Re: [Interest] including config file with macdeployqt

2016-05-17 Thread Larry Martell
icationDirPath() + "/" + CONFIG_PATH); I certainly don't love it, but it works. > > On Fri, May 13, 2016 at 1:54 PM, Larry Martell <larry.mart...@gmail.com> > wrote: >> Thanks. That answers the second part of my question. >> >> Is there a way to get th

[Interest] iterate through JSON data

2016-05-16 Thread Larry Martell
I am reading in a JSON file that looks like this: { "capData": { "host": "foo.bar.com", "initial_port": "8000" "secondary_port": "8001" }, "django": { "host": "baz.bar.com", "port": "8004" } } I want to iterate through it and put the data in some

Re: [Interest] iterate through JSON data

2016-05-16 Thread Larry Martell
On Mon, May 16, 2016 at 7:53 PM, Hamish Moffatt <ham...@risingsoftware.com> wrote: > On 17/05/16 08:24, Larry Martell wrote: >> >> I've see a lot of code that does something like this: >> >> QJsonDocument document = QJsonDocument::fromJson(json

Re: [Interest] including config file with macdeployqt

2016-05-13 Thread Larry Martell
s at signing. > > Additionally, if you need some configs specific for each Mac-user, > ~/Library/Application Support is the right place to arrange > and entry for your company and inside entries for your software. > > Kind regards, > Robert > > > On Fri, May 13, 2016 at 1:42

Re: [Interest] including config file with macdeployqt

2016-05-13 Thread Larry Martell
applicationDirPath()). > > >> On 13 May 2016, at 12:42, Larry Martell <larry.mart...@gmail.com> wrote: >> >> I am creating a bundle with macdeployqt to distribute my app. I want >> to have a config file that my app will read at startup. How can I >> include

[Interest] including config file with macdeployqt

2016-05-13 Thread Larry Martell
I am creating a bundle with macdeployqt to distribute my app. I want to have a config file that my app will read at startup. How can I include that config file in my bundle, and where is the proper place for it to live on the file system on the machine the app gets installed on?

[Interest] Getting response from external web page

2016-05-02 Thread Larry Martell
I have a situation where I want to bring up a web page that the user will interact with, and when they click on a submit button a response is sent, and I want to get that response in my Qt program and then destroy the view with the page. I am able to bring up the page like this:

Re: [Interest] Getting response from external web page

2016-05-02 Thread Larry Martell
ed to > answer and page is finish loaded. > > Not sure if you have control over the webserver side or web page here. > > Jerome > > > On Mon, May 2, 2016 at 4:19 PM, Larry Martell <larry.mart...@gmail.com> > wrote: >> >> I have a situation where I want

[Interest] QTemporaryFile::open()

2017-02-17 Thread Larry Martell
When I call QTemporaryFile::open() with any OpenMode flags I get an error. Code: QTemporaryFile wi_file; if (wi_file.open(QIODevice::WriteOnly)) { Error: /Users/lmartell/ia/cap/workItem.cpp:877:15: error: 'open' is a protected member of 'QTemporaryFile' if

Re: [Interest] script invoked with QProcess cannot open files with spaces in path

2016-09-01 Thread Larry Martell
ab.net> wrote: > > On August 30, 2016 4:28:25 PM EDT, Larry Martell > <larry.mart...@gmail.com> wrote: > > I am invoking a python script with QProcess. I have found that if the > script tries to open a file that has spaces in the path, no error is > thrown, but the file

[Interest] script invoked with QProcess cannot open files with spaces in path

2016-08-30 Thread Larry Martell
I am invoking a python script with QProcess. I have found that if the script tries to open a file that has spaces in the path, no error is thrown, but the file always appears to have 0 length. The same script with the same file with spaces in the path invoked from the command line works fine. Note

Re: [Interest] script invoked with QProcess cannot open files, with spaces in path

2016-08-30 Thread Larry Martell
On Tue, Aug 30, 2016 at 7:38 PM, Roland Hughes wrote: >>> > > I am invoking a python script with QProcess. I have found that if the > script tries to open a file that has spaces in the path, no error is > thrown, but the file always appears to have 0 length. The same

Re: [Interest] script invoked with QProcess cannot open files with spaces in path

2016-08-30 Thread Larry Martell
On Tue, Aug 30, 2016 at 7:08 PM, Thiago Macieira <thiago.macie...@intel.com> wrote: > Em terça-feira, 30 de agosto de 2016, às 16:28:25 PDT, Larry Martell escreveu: >> I am invoking a python script with QProcess. I have found that if the >> script tries to open a file that h

[Interest] HTTPS with Qt

2016-10-06 Thread Larry Martell
I have a Qt app that sends requests to a server like this: QString urlStr = "http://foo.bar.com/baz;; QUrl transferUrl(urlStr); QNetworkRequest request(transferUrl); networkReply = networkManager.get(request); We need to change this to use HTTPS. We have the needed certs on the server.

Re: [Interest] HTTPS with Qt

2016-10-06 Thread Larry Martell
Yup, that worked find. Easy peasy! Thanks. On Thu, Oct 6, 2016 at 9:55 AM, Gian Maxera <gmax...@gmail.com> wrote: > In the Qt app you just need to change http to https > No more. > >> On 6 Oct 2016, at 14:51, Larry Martell <larry.mart...@gmail.com> wrote: >> >&