Re: [Interest] disable web security in QtWebEngine

2017-07-06 Thread Jason Dolan
The answer is mentioned in that forum you linked to: add --disable-web-security as an argument when running your program. I’m sure you could also programmatically add it to the arguments sent to QApplication if you wanted to. > On Jul 5, 2017, at 6:46 PM, Kevin Mcintyre wrote: > > Has this bee

[Interest] Qt 5.9 OSX application deployment

2017-06-30 Thread Jason Dolan
Does anyone know what versions of OSX you can deploy to for an application built under QT 5.9? https://doc.qt.io/qt-5/supported-platforms.html hints at 10.9 and newer, but I’m not sure if that is platforms you can build under or deploy to. Thank

[Interest] QWebEngineDownloadItem: What page issued request

2017-05-18 Thread Jason Dolan
Hey everyone, Say I have multiple QWebEnginePage’s using the same QWebEngineProfile: Can anyone think of a way of determining which QWebEnginePage is the source of a download request? ___ Interest mailing list Interest@qt-project.org http://lists.qt-pro

[Interest] QWebEngine: "Leaking 1 ports in unreceived messages"

2017-04-03 Thread Jason Dolan
Does anyone know what these warnings mean? Surprisingly, Google is not really pulling up any useful results. [2357:78595:0403/102655:WARNING:message_queue.cc(38)] Leaking 1 ports in unreceived messages [2357:78595:0403/102655:WARNING:message_queue.cc(38)] Leaking 2 ports in unreceived messages

Re: [Interest] QWebEngine: Http POST request with payload data

2017-03-10 Thread Jason Dolan
> On Tuesday 07 March 2017, Jason Dolan wrote: >>> On Mar 6, 2017, at 12:10 PM, Allan Sandfeld Jensen >>> wrote: >>> >>> On Monday 06 March 2017, Jason Dolan wrote: >>>> Ahh, of coarse there is a solution in the *next* release. I feel like

Re: [Interest] QWebEngine: Http POST request with payload data

2017-03-07 Thread Jason Dolan
> On Mar 6, 2017, at 12:10 PM, Allan Sandfeld Jensen wrote: > > On Monday 06 March 2017, Jason Dolan wrote: >> Ahh, of coarse there is a solution in the *next* release. I feel like >> that’s always the case with QWebEngine since Qt 5.0. Well, I guess it >> takes

Re: [Interest] QWebEngine: Http POST request with payload data

2017-03-06 Thread Jason Dolan
avaScript… > > Indeed, generating a XMLHttpRequest from JS should work, too. > > Regards > > Kai > From: Interest <mailto:interest-bounces+kai.koehne=qt...@qt-project.org>> on behalf of Jason > Dolan mailto:ja...@pcc.com>> > Sent: Sunday, March 5, 2017

[Interest] QWebEngine: Http POST request with payload data

2017-03-05 Thread Jason Dolan
Does anyone know of the best way to make a HTTP Post request with payload data using QWebEngine? In Qt4, you would do something like: QNetworkRequest request(url); request.setHeader(QNetworkRequest::ContentTypeHeader, "application/x-www-form-urlencoded"); webView->load(request, QNetworkAccessMan

[Interest] Best text rendering choice for a console type application

2015-12-04 Thread Jason Dolan
state again, I’m planning to bring this project out into the community again for others to use. -- Jason Dolan Software Developer PCC Control Your Future. 800-722-7708 ja...@pcc.com <mailto:ja...@pcc.com> www.pcc.com <http://www.pcc.com/>

Re: [Interest] QWebEngine and MP4

2015-11-04 Thread Jason Dolan
I ran into this a few days ago. I believe the documentation I found said something along the lines of: Proprietary codecs are not included by default for legal reasons. When building Qt, you can set this preference to enable proprietary codecs: WEBENGINE_CONFIG+=proprietary_codecs -- Jason

[Interest] QtWebEngine: printing a webpage invoked by the javascript window.print() function

2015-10-19 Thread Jason Dolan
to my c++ print function? Or perhaps I’m completely barking up the wrong tree. Does anyone have any thoughts? -- Jason Dolan Software Developer PCC Control Your Future. 800-722-7708 ja...@pcc.com <mailto:ja...@pcc.com> www.pcc.com <http://www.pcc.com/> twitter.com/pccvt ___

Re: [Interest] Qt WebEngine: how to handle unsupported content?

2015-10-16 Thread Jason Dolan
Maybe you’re right. I assumed it had more to do with the method of handing off the data, not the mime-type. I’ll add my comments to that bug. -- Jason Dolan Software Developer PCC Control Your Future. 800-722-7708 ja...@pcc.com <mailto:ja...@pcc.com> www.pcc.com <http://ww

[Interest] Qt WebEngine: how to handle unsupported content?

2015-10-15 Thread Jason Dolan
gt; --Triggers downloadRequested(). Yay! Is there a way I can handle these cases? If not in 5.5.1, does anyone know if 5.6 will have support? -- Jason Dolan Software Developer PCC Control Your Future. 800-722-7708 ja...@pcc.com <mailto:ja...@pcc.com> www.pcc.com <http://www.pcc.co

Re: [Interest] QtWebkit replacement status...

2015-03-23 Thread Jason Dolan
create our own internal PDF viewer plugin (using poppler). If we can’t do that in Qt5, that is going to be a problem. -- Jason Dolan Software Developer PCC Control Your Future. 800-722-7708 ja...@pcc.com <mailto:ja...@pcc.com> www.pcc.com <http://www.pcc.com/> twitter.com/pccvt

Re: [Interest] Postgresql RETURNING clause.... possible to get it?

2015-02-16 Thread Jason Dolan
It should be as simple as: QSqlQuery query; query.prepare("INSERT INTO rooms (coordinate) VALUES (ST_SetSRID(ST_MakePoint(:lon, :lat), 4326)) returning id”); query.bindValue(“:lon”, x); query.bindValue(“:lat”, y); uint roomsId = 0; if(query.exec() && query.first()) roomsId = query.value(0

Re: [Interest] Best way to get a QWidget from a device context (HDC)

2015-01-08 Thread Jason Dolan
don’t need to worry about it now. Thanks again. > On Jan 7, 2015, at 6:31 PM, Thiago Macieira wrote: > > On Wednesday 07 January 2015 15:16:56 Jason Dolan wrote: >> I’m stuck with some 3rd party code where the input is a device context >> (HDC), and I need to get the widget

[Interest] Best way to get a QWidget from a device context (HDC)

2015-01-07 Thread Jason Dolan
solution for obtaining a Widget given a device context? Jason Dolan Software Developer Physician's Computer Company 20 Winooski Way, Suite #7, Winooski, VT 05404 ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/lis

[Interest] QDataWidgetMapper submits to model before QValidator fixup() is called

2014-04-02 Thread Jason Dolan
Hey, I’m using a QDataWidgetMapper for some input fields (QLineEdit’s). These input fields also have a custom QValidator assigned that will trim excess spaces from the front and back of the input via the QValidator’s fixup() function. The problem I’m having is it appears that the QItemDelegat

[Interest] Qt 4.8.6

2014-02-04 Thread Jason Dolan
Does anyone know when Qt 4.8.6 will be released? I thought I heard a few months ago that it should be out by the end of January. -Jason ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Breakpoints stopped working with latest version on Linux

2012-12-13 Thread Jason Dolan
Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest -- Jason Dolan Software Developer - Physician's Computer Company 20 Winooski Falls Way - Suite 7 Winooski, Vt 05404 ja...@pcc.com ___