Lars Knoll, Qt Project’s Chief Maintainer, blogs to let us know that Qt 5.0 beta 1 is out. Hurray! Go forth and download. You can dowload the source code and binaries from the official Qt Project CDN. The tarballs for building on Unix systems like Linux are in the split_sources subdir — Linux distribution packagers …
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 …
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 …
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 …
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). …
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 …
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 …
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.
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 …
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.