Re: [Development] QML instantiation performance

2014-12-01 Thread Chris Adams
I don't recall, but a quick grep of the git log turned up the following three changes: https://codereview.qt-project.org/#/c/60447/ https://codereview.qt-project.org/#/c/60446/ https://codereview.qt-project.org/#/c/60445/ I guess this was the most important bit: https://codereview.qt-project.org

[Development] Using SSL with MiniHttpServer (in tst_qnetworkreply)

2014-12-01 Thread Mandeep Sandhu
Hi All, I'm unable to get the MiniHttpServer in tst_qnetworkreply to work with SSL enabled. Here's the code that I'm using: // I've left the HTTP response out for brevity, but its supposed to return 200 OK MiniHttpServer server("", true); QUrl localhost = QUrl("https://localhost/";); localhos

Re: [Development] Why does QLabel::pixmap() return `const QPixmap*`?

2014-12-01 Thread Sze Howe Koh
On 1 December 2014 at 16:00, Thiago Macieira wrote: > On Monday 01 December 2014 07:40:50 Knoll Lars wrote: >> Exactly that. It’s been like that since Qt 1 times, where QPixmap was a >> non shared class you had to instantiate on the heap. We never changed this >> accessor for source compatibility

Re: [Development] QML instantiation performance

2014-12-01 Thread Juha Vuolle
> Juha, does that resolve the issues for you? Gunnar Roth, does that fix the Yes it does, tests pass on 5.3.1. Big thanks Chris and Matt! Going back to the original issue I'd need reference from 5.1.1 where tests won't run, I get same issue as Gunnar: > file:///data/item.1.qml:3:1: Item is not

Re: [Development] changing Q_GADGET

2014-12-01 Thread Olivier Goffart
On Monday 01 December 2014 12:38:02 Jędrzej Nowacki wrote: > Hi, > > Personally, I think Q_OBJECT should not change access level and so > Q_GADGET. I agree. But it's not possible since we have to declare public and private stuff, so we must change the access. So unless you find a way to decl

Re: [Development] changing Q_GADGET

2014-12-01 Thread Jędrzej Nowacki
On Friday 28 of November 2014 13:55:44 Simon Hausmann wrote: > On Friday 28. November 2014 12.41.47 Olivier Goffart wrote: > > On Friday 28 November 2014 12:19:45 Simon Hausmann wrote: > > > Hi, > > > > > > Monsieur Goffart did awesome work in the dev branch on allowing > > > structures > > > with

Re: [Development] Why does QLabel::pixmap() return `const QPixmap*`?

2014-12-01 Thread Thiago Macieira
On Monday 01 December 2014 07:40:50 Knoll Lars wrote: > Exactly that. It’s been like that since Qt 1 times, where QPixmap was a > non shared class you had to instantiate on the heap. We never changed this > accessor for source compatibility reasons (I remember discussing this with > Matthias when w