Re: [Interest] resturn string to javascript inside QWebEngineView

2018-12-15 Thread Roland Hughes
Turns out the problem wasn't mine. Previously we had been using websockets but now websockets are bad so went with Web channel. Honestly believed the bug was mine since the captive Web site worked fine with websocket previously. Turns out it wasn't. Latest "front end" code has html, angular,

Re: [Interest] Understanding QImage::transformed()

2018-12-15 Thread Samuel Rødal
Accidentally replied off-list, replying again here. On Fri, Dec 14, 2018 at 11:56 PM Jason H wrote: > > I have an image. I have identified 4 control points in in image (1920x1080). > I want to map the points to a square image, of 1080 on a side. > > QPolygonF fromPoly(QVector { ... }); >

Re: [Interest] Qt Creator vs inline headers

2018-12-15 Thread Bernhard Lindner
> > I can fix that in the MIME settings but it seems to make no sense. > > > > Why is Qt Creator configured that way? > > Because the MIME type says it's source, not header. Yes. But that doesn't make sense. An .inl file is a header. It contains inline code and especially template