C++

Moving code around

Published Saturday December 4th, 2010 | 9 Comments on Moving code around
Posted in C++

In the past I have blogged about some highly technical subjects, like Binary compatibility, Calling convention, Memory ordering semantics and the effect of one single volatile in optimisation. By the way, memory ordering semantics have been in the Qt Developer Days yearly “fact or crap” quiz twice in a row now. Yesterday, a colleague in […]

Read More

Compiling Qt with Clang

Published Friday October 29th, 2010 | 14 Comments on Compiling Qt with Clang
Posted in C++, Performance, Qt, Test

I’m happy to report that as of Qt revision 15f52e00 and Clang revision 116737 you’re now able to a complete build of Qt with Clang on both Linux and Mac, including support for precompiled headers. You’ll find the makespecs in Qt’s master branch: unsupported/macx-clang unsupported/linux-clang The mkspec are currently unsupported, but we’ve started running a few […]

Read More

Qt 4.7 for Symbian^3 – developer version available

Published Monday October 18th, 2010 | 22 Comments on Qt 4.7 for Symbian^3 – developer version available
Posted in C++, Qt, S60, Symbian | Tags:

Finally, we have a development version of Qt 4.7 that can be installed to Symbian^3 devices like N8 and C7. It’s meant explicitly for development purposes only and cannot be used deploy Qt 4.7 based applications to Symbian^3 devices. This is the real Qt version and it will actually replace Qt libraries on your device […]

Read More
Eskil Abrahamsen Blomfeldt

A second spring of text rasterization

Published Thursday September 9th, 2010 | 24 Comments on A second spring of text rasterization
Posted in C++, Graphics, Painting, Performance, Qt

Albert Camus said that “autumn is a second spring when every leaf is a flower”. Similarly, text rasterization on Mac OS X is a constant summer where every character is in permanent bloom. The background for this blog post is a text rendering task which has been sitting in my Jira for a while, and […]

Read More

Improving the rendering performance with more SIMD

Published Tuesday August 24th, 2010 | 24 Comments on Improving the rendering performance with more SIMD
Posted in Assembly, C++, Painting, Performance, WebKit

With the last two versions of Qt, we consistently improved performance. Qt 4.5 introduced pluggable graphics systems and numerous rendering optimizations. Qt 4.6 brought optimizations all over the place, and the performance on embedded improved continuously with each patch release. A problem with increasing the speed all the time is that we fall short on […]

Read More

Symbian development using Linux

Published Wednesday April 21st, 2010 | 35 Comments on Symbian development using Linux
Posted in Build system, C++, S60, Symbian

Programming your application or library based on Qt has always had the promise that you can deploy your application on many different platforms. Development of those applications can, likewise, happen on many different platforms. QtCreator runs on Windows, Mac & Linux among others. Since Qt4.6 Symbian is also one of those platforms to deploy on, […]

Read More
Eskil Abrahamsen Blomfeldt

Insanity is shaping the same text again and expecting a different result

Published Monday March 1st, 2010 | 21 Comments on Insanity is shaping the same text again and expecting a different result
Posted in C++, OpenGL, Painting, Performance, Qt

Albert Einstein has been quoted as saying that “insanity is doing the same thing over and over again and expecting a different result.” Apparently this is a misquote, and the original quote actually belongs to Rita Mae Brown, but that’s not important right now. What’s important is that most Qt applications are crazy. Background I’ll […]

Read More

Qt + Box2D is easy!

Published Friday February 26th, 2010 | 20 Comments on Qt + Box2D is easy!
Posted in C++, Graphics View, KDE, Qt

Box2D is an Open Source rigid body 2D physics engine for C++. It’s currently (2.0.1) released under the MIT license, which is quite permissive. Box2D is used by, among other things, Gluon (http://gluon.tuxfamily.org/), which is a game library from KDE in-the-making. Integrating Box2D into your Qt application is quite easy, and this blog shows you […]

Read More

BC break in 4.6 against previous 4.6

Published Thursday November 12th, 2009 | 10 Comments on BC break in 4.6 against previous 4.6
Posted in C++, Git, KDE, Qt

To everyone using Qt 4.6 from the Git repository: be aware that I introduced a binary-incompatible change. This change is there to stay. No, we’re not breaking binary compatibility with Qt 4.5. This only affects previous Qt 4.6 versions. Actually, this kind of change happens all the time. So why am I blogging about this […]

Read More
Get started today with Qt Download now