Wednesday, January 9, 2013

Where did my QPrinters go?

Are you already migrating your applications from Qt 4.x to latest Qt 5.0 framework just released? And do your applications involve the use QPrinter class? If you answered YES to both questions, make you a favor to avoid further building problems...


Monday, November 5, 2012

Raspberry Pi board + Qt + KDE

As Nokia offered to sponsor some Raspberry Pis for the KDE project, they asked about proposals for using such devices. It turned out that my idea was selected, so here I'm waiting for the board to arrive. Thanks Nokia for sponsoring those RPis!

Thursday, September 20, 2012

Long life to Qt

Digia already completed the acquisition of Qt. Previously announced in August 2012, it means the beginning of a really new era for these cross-platform libraries and development IDE, one more in its long and sucessful path so far.

Friday, May 18, 2012

How to evaluate variables in project (.pro) files


If you need to evaluate a variable inside a project file (.pro) the variable must be enclosed in curly braces.

Wednesday, April 25, 2012

Testing for Endian-ness (byte order)

Although very unlikely that you need to test endian-ness (or byte order) in Qt applications, you may take advantage of some macros available to help knowing how the system the application is running under will store data in memory.


Tuesday, June 14, 2011

Building Poppler Qt4 Wrapper

Poppler is a PDF rendering library used by several programs (i.e. evince, Oular, LocoPDF, etc.) that comes with multiple frontends (APIs), including a Qt 4 wrapper. As I wanted to develop a PDF viewer for DFF (Digital Forensics Framework) I decided to build latest Poppler version from scratch under Linux. Here are some notes I collected from such a task.

Monday, March 21, 2011

Qt-ish external libraries: getting serial port and pcap functionality into Qt applications

The Qt API is well known for providing a long list of classes and functions that span from GUI to network support, along with to support for XML, SQL and OpenGL. But even with such an array of modules, from time to time a Qt developer may face some issues dealing with specific domains not cover by the Qt framework. Fortunately, some work have been done outside the framework itself that allow us to get support for serial port accces and the Pcap library.