Building Web apps with Wt for Raspberry Pi


What is Wt ?

In their introduction on the Wt main page they write:

“…Wt (pronounced as witty) is a C++ library for developing web applications…”


The idea of writing web apps in C++ sounds a bit weird at first, but I found Wt the ideal solution for me and the following project:

I wanted to use a Raspberry Pi as a mini server which periodically logs into a Fritzbox, reads out the phone caller list and displays this on a small LCD

Wt being the main service behind and an easy way to configure this and be able to query more detailed information.

Continue reading

Cross compiling under Raspbian with Linaro toolchain

Cross compiling

Compiling directly on the Raspberry Pi (working under Raspbian) is possible, and in fact, some things are easier this way. But using a complete IDE on the Raspi will be really slow.

If we want to write a small tool with a few C files, the native gcc on the Raspi will be sufficient. And we do not have to care about different versions of glibc or else. Compiling the kernel or some larger project can take hours or even more than one day.
So using a cross compiler will be the solution.

In the following sections we assume that we either need a cross compiler for :

  • compiling the kernel / kernel module (add LCD module to Raspi)
  • use Wt (Web Toolkit) together with Qt creator

Both were my personal requirements for a cross toolchain. Using Wt on the Raspi is a bit special and of course not a requirement which many will have. More to Wt and it’s usage later (on a separate post).

Continue reading

About this website

Why another website / blog / personal home page ?

Well, a good question. I am not a “digital native” and no Twitter guy. Born in 1964, my first computer was a Commodore VC-20 (aka VIC-20 outside Germany). Since then, I was a developer in several languages (Basic, Assembler, Pascal, C, C++, Perl, PHP, C#). Over the years, many tools and some bigger applications have been developed.

I thought it was time to give back some of my experiences and document free source codes, modules, libraries and more.

Other interests

I am also interested in electronics (both analog and digital), ham radio (I am a licensed short wave radio amateur), photography, and many other things. But currently, I will focus on software development…



POV-Ray script for RSPROG main image

POV-Ray – what is it?

You may have wondered how the main image of RSPROG was built. It has been created with POV-Ray. POV-Ray creates (renders) images based on text files written in the POV-Ray scene description language.

Specify the camera position, the position of the light sources and some objects such as spheres, and POV-Ray generates the image.

Continue reading