Category Archive: Qt

Sep 30

The future of moc

Two days ago, on his blog on some Qt Creator news, Christian wrote: We’re currently prototyping what would happen if we replaced our own C++ code model with clang’s. The first comment in the blog was praising that research, but that got me thinking: what do we gain from it? Qt Creator already has a …

Continue reading »

Sep 20

C++11 support in Qt 5

Marc Mutz posted today a blog calling for immediate support of C++11 in C++-based projects. He also linked to Herb Sutter’s blog saying the standard was unanimously approved in the ISO voting. In his blog, Marc calls for Qt 5 and KDE 5 to require C++11 in the compilers. I agree with the principle and …

Continue reading »

Sep 19

QUrl in Qt 5: encoding

One of the classes I used to maintain in Qt was QUrl and I had worked quite extensively with KUrl previously, so I knew what was wrong with the current API. And during the Contributor Summit in Berlin, I volunteered to rewrite QUrl, to add some features KUrl needed. I described the original goals of …

Continue reading »

Sep 12

New domain for Qt announced: qt-project.org

Lars has just announced on his blog that the Qt Open Source Project, under the Open Governance, will be moved to a new domain: qt-project.org (don’t bother copy/pasting, there’s nothing there yet). At the official Nokia Qt Blog, Daniel Kihlberg gives us the date for the launch: October 17th. The moving to a new domain …

Continue reading »

Jul 21

Qt 4.8 beta 1 released

I’ve just realised that neither Eckhart’s post nor the QtWebKit post were aggregated on either Planet KDE nor Planet MeeGo. Quoting: It has been some weeks since we released the Qt 4.8 Technology Preview to the community. The release raised a lot of interest and we have received many comments in response to the Qt …

Continue reading »

Jul 21

Initialising an array with C++0x using constexpr and variadic templates

When I wrote the blog on improving QString further, I said: If you can, use the following C++0x expression, which is read-only and sharable: That above actually does work and does produce a read-only and sharable QStringData containing the UTF-16 “Hello, World\n” string. However, what I didn’t say (because I hadn’t realised at the time) …

Continue reading »

Jul 20

Table-driven methods with no relocations

The other day, someone in the qt-interest mailing list posted the link to an article entitled: How to make fewer errors at the stage of code writing, the third part in a series of articles about writing better code. In this particular article, the author ran a static code-checker tool on the Qt source code …

Continue reading »

Jul 17

QString improved

On my birthday, I blogged about how I’d like QString to support proper UTF-8 strings and be much easier to use. The code that I said would be my preferred would be: QString s = u"Résumé"q; Recently, in Qt 5.0 we have begun to make steps to reach that. Most of the work was done …

Continue reading »

» Newer posts

Page optimized by WP Minify WordPress Plugin