Dev Loop

Buffered QTextStream + pos() == ?

Published Saturday June 17th, 2006
Comments Off on Buffered QTextStream + pos() == ?
Posted in Uncategorized

[Disclaimer: Qt 4.2 is not released yet, and anything can still change.] QTextStream in Qt 3 was unbuffered. Feeding bytes by bytes into a codec which appended QChar by QChar into a QString, it did have room for some speed improvements. So in Qt 4.0, we introduced QTextStream’s replacement: … QTextStream! That is – we […]

Read More

D-BUS and accessibility

Published Friday June 9th, 2006
Comments Off on D-BUS and accessibility
Posted in Uncategorized

After porting kdelibs to D-BUS and Thiago’s blog entry about controlling a KDE application via D-BUS, I decided to give it a try. After a bit of playing, I came up with a solution that automatically exports a com.trolltech.AccessibleObject interface for every widget (see screenshot). The command dbus :1.63 /Window1/CurrentValue com.trolltech.AccessibleObject.description (where :1.63 is the […]

Read More

Mouse event propagation

Published Saturday May 27th, 2006
2 Comments on Mouse event propagation
Posted in Qt, Qtopia

Have you ever implemented mouse handling in a Qt widget? Either in a custom widget, (that inherits QWidget directly,) or by extending some existing widget, let’s say QLabel, with interaction abilities? For the most simple cases, mouse handling is quite intuitive in Qt: just reimplement a mouse handler function (virtual function, inherited from QWidget), and […]

Read More
Lorn Potter

it’s spelled ‘Qtopia’

Published Wednesday May 24th, 2006
Comments Off on it’s spelled ‘Qtopia’
Posted in Qt, Qtopia

ok, have to rant here. I have worked with Qtopia and friends for several years now, and occasionally see ‘Qtopia’ spelled as “QTopia’. and for some reason, it bothers me seeing this (perhaps pedanticness?). Please, if you write about ‘Qtopia’, spell it as Q-t-o-p-i-a, there is no capital ‘T’. and if you have written it […]

Read More

Qt 4.1.3 released

Published Friday May 19th, 2006
2 Comments on Qt 4.1.3 released
Posted in Qt

Qt 4.1.3 was released to the public today. A lot of work went into this release, and I’m happy that it’s out in the wild now. I was monitoring the incoming bugreports during the day and nearly fainted when reading about a binary compatibility breakage. We have some extensive test-suites to make sure we don’t […]

Read More
Simon Hausmann

cmake in KDE

Published Sunday May 14th, 2006
4 Comments on cmake in KDE
Posted in KDE

Lorn, it’s pretty simple: KDE needs a build system that supports flexible configure checks since it uses a lot of 3rdparty libraries. An easy and portable way of finding if a library is installed in the propery version on a system, if a header provides the correct prototype of a function, if a compiler supports […]

Read More
Lorn Potter

whats the buzz on cmake

Published Sunday May 14th, 2006
2 Comments on whats the buzz on cmake
Posted in KDE, Qt, Qtopia

There’s a new build tool around these days – cmake. Kde4 supposedly uses it, replacing the autotools configuration stuff. Now I can understand why someone would want to not use autotools – too complicated for many engineers to understand properly, and IMHO a pain in the a**. Trolltech has a great tool already – qmake. […]

Read More
Get started today with Qt Download now