Tag Archive: qt5

Jul 10

Continue using QPointer

Early in the Qt 5 development cycle, we had made the decision to deprecate QPointer and replace it with the more modern QWeakPointer. That decision is now reversed, so please continue using QPointer where you were using them. Moreover, don’t use QWeakPointer except in conjunction with QSharedPointer. To understand the reason behind this back and …

Continue reading »

Jun 13

AVX-optimised raster painting for Windows too

Yesterday, one of my contributions to Qt was merged which finally adds better support for optimised raster painting on Windows, with SSE2 and AVX instructions. This feature has long been present on the Unix systems, but it was somewhat lacking on Windows. If you’ve read my past blogs, you know I often talk about and …

Continue reading »

May 11

Source code must be UTF-8 and QString wants it

I’ve talked about source code encoding in the past, arguing that the C++ language lacks a fundamental setting. However, since this Monday, Qt 5 now starts to enforce that source code must be UTF-8. In a way. The commit that landed on the qtbase repository finally changed the codec used by QString’s 8-bit methods to …

Continue reading »

Apr 03

Qt 5 alpha released

Lars writes to let us know that the first (and hopefully only) Qt 5 alpha has been released! It’s the first in the major release series in 7 years, the first major release of the Qt Project (though not the first release in of the project, since we released 4.8.1 just a few weeks ago). …

Continue reading »

Feb 22

The value of passing by value

I’ve written in the past about how passing certain types by value in C++ would be more efficient than passing by constant reference. But it turns out that the ABI rules are somewhat more complex than what I said back in 2008. Time to investigate. This is also prompted by the discussion on qreal on …

Continue reading »

Jan 13

Qt temperatures drop from January to June

I’ve previously talked about how the Qt 5 Winter is coming. Since we started talking about that, people have begun asking what are the date limits for each thing, when the API would freeze, when Qt 5.0 would be stable, when we’d release, etc. This blog tries to answer that a little. Last month, we …

Continue reading »

Dec 22

Winter is coming

Winter is also coming for Qt 5.0: we are approaching feature freeze. The exact date, I can’t tell you, because we don’t know yet. That’s actually the subject of this blog: we need to find a date and I need your help to get there.

Continue reading »

Oct 18

QUrl in Qt 5: woes of hostname validity

A couple of days ago I posted on Google+ a comment when I was frustrated trying to update the QUrl hostname-parsing code. Turns out that rewriting the parser wasn’t that difficult for QUrl, but dealing with hostnames is very much so. The old code in QUrl simply deals with it directly, even what’s supposed to …

Continue reading »

Oct 12

QUrl in Qt 5: validity

QUrl in Qt 4 tried to follow the ABNF grammar for URIs quite strictly, but it had a tolerant mode parser and, in the end, almost everything was accepted anyway. Looking into WebKit’s test, turns out that there are a lot more cases which QUrl failed to understand. In Qt 5, I’ll rewrite the parser to hopefully be even faster and accept some of those new cases, without sacrificing the conformance in compliant URIs.

Continue reading »

Oct 10

Making a Qt Developer Days presentation

First of all, my apologies for not continuing the blog onQUrl yet. For a couple of reasons, I have not been able to continue the work there yet. I will get to it soon. One of those reasons is the subject of this blog: my Qt Developer Days presentation. This year, the organisers decided to …

Continue reading »

Older posts «

Page optimized by WP Minify WordPress Plugin