[Interest] Persistence of editor for openPersistentEditor

2018-06-04 Thread Patrick Stinson
Hello! I am writing a unit test for an item view and need to get . The code in qabstractitemview_p.h “releases” an editor created by a delegate by calling QObject::deleteLater() on it. However, in the following code the first editor is not deleted and so the second call to findChild still retur

Re: [Interest] Why no T& QVariant::value()?

2018-06-04 Thread Jason H
> Sent: Monday, June 04, 2018 at 4:46 PM > From: "Allan Sandfeld Jensen" > To: interest@qt-project.org > Subject: Re: [Interest] Why no T& QVariant::value()? > > On Montag, 4. Juni 2018 09:00:28 CEST Giuseppe D'Angelo wrote: > > Il 23/05/2018 16:16, Jason H ha scritto: > > > Really wishing this fu

Re: [Interest] Why no T& QVariant::value()?

2018-06-04 Thread Allan Sandfeld Jensen
On Montag, 4. Juni 2018 09:00:28 CEST Giuseppe D'Angelo wrote: > Il 23/05/2018 16:16, Jason H ha scritto: > > Really wishing this function existed. Can someone explain why it doesnt' > > exist? > Because QVariant (as well as most Qt APIs) has wide contracts; combined > with the policy of not using

Re: [Interest] ios / android - tutorial to wrap native component (such as webview)

2018-06-04 Thread Sylvain Pointeau
On Mon, 4 Jun 2018 at 17:42, Jason H wrote: > Webview/WebEngine is already wrapped. > > But I've never done it. One of the problems with wrapping things, is they > always intodruce platform-specific nuances. > Yes I know but sometimes I guess there is no better choice like for the webview. I als

Re: [Interest] ios / android - tutorial to wrap native component (such as webview)

2018-06-04 Thread Jason H
Webview/WebEngine is already wrapped.    But I've never done it. One of the problems with wrapping things, is they always intodruce platform-specific nuances.     Sent: Monday, June 04, 2018 at 10:04 AM From: "Sylvain Pointeau" To: "Qt Project" Subject: [Interest] ios / android - tutorial t

[Interest] ios / android - tutorial to wrap native component (such as webview)

2018-06-04 Thread Sylvain Pointeau
Hi, is there any tutorial or guide to wrap native component of ios / android and to use them in qtquick? Best regards, Sylvain ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QImage + pixel lambdas

2018-06-04 Thread Allan Sandfeld Jensen
On Freitag, 1. Juni 2018 15:38:03 CEST Jason H wrote: > So I'm doing some qimage analysis/manipulation. I think it would be really > good if QImage came with a per-pixel function. (Examples below) I'm tired > of writing the x/y for loops. The really neat thing (not in the examples) > is using QImag

Re: [Interest] Why no T& QVariant::value()?

2018-06-04 Thread Jason H
> Sent: Sunday, June 03, 2018 at 7:34 PM > From: "Hamish Moffatt" > To: interest@qt-project.org > Subject: Re: [Interest] Why no T& QVariant::value()? > > On 24/05/18 00:16, Jason H wrote: > > Really wishing this function existed. Can someone explain why it doesnt' > > exist? > > QVariant::va

Re: [Interest] QtLabs PDF on ios and android

2018-06-04 Thread Jason H
Never tried it. I don't know why it it wouldn't work. But in my system we had the server generate the pdf, which we had to use -platform offscreen or something like that.    The PDF stuff requires at least a QGuiApplication, which a mobile app is already.    Sent: Monday, June 04, 2018 at 7:15

Re: [Interest] QtQuick - list of heterogeneous objects

2018-06-04 Thread Sylvain Pointeau
Thank you Jérôme, I was trying React Native until now, and I will test Qt Quick very soon, I will then experiment what you suggested. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] qdoc.exe not build in Windows build from source QT 5.11

2018-06-04 Thread Paul Wicking
On Tue, 2018-05-29 at 09:33 +, Marcel Stegehuis wrote: > I try to build QT 5.11 x64 shared. > > When I call 'nmake qmake_all' and 'nmake docs' after a successful > build and install I run into an error stating that qdoc.exe does not > exists. See part of the log below. > > In the .\qttools\s

Re: [Interest] QtLabs PDF on ios and android

2018-06-04 Thread paulovictor.pinhe...@gmail.com
Never tried QtLabs PDF, but I wrote a Pdfium wrapper a while ago that might work for you as a plan B. https://github.com/paulovap/qtpdfium Cheers, On Mon, Jun 4, 2018 at 1:15 PM, Sylvain Pointeau wrote: > Hello, > > do you know if the QtLabs PDF is working on ios / android? and did you > alrea

[Interest] QtLabs PDF on ios and android

2018-06-04 Thread Sylvain Pointeau
Hello, do you know if the QtLabs PDF is working on ios / android? and did you already use it? Best regards, Sylvain ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Why no T& QVariant::value()?

2018-06-04 Thread Giuseppe D'Angelo
Il 23/05/2018 16:16, Jason H ha scritto: Really wishing this function existed. Can someone explain why it doesnt' exist? Because QVariant (as well as most Qt APIs) has wide contracts; combined with the policy of not using exceptions, that makes such a function impossible to implement. Cheer