Archive of May 2013

Sunday 19 May, 2013 om 9.11 door Ad  

Double clicking non-trivial console application in Mac’s Finder

double-clickNowadays any non-experienced computer user wants to be able to start a computer application (app) by double clicking an icon, or a file name, appearing in a file manager, or sitting on the desktop. In all three operating systems - Windows, Mac, and Linux - double clicking a file that is registered as a document of a certain application, will result in opening the application with the double-clicked file as the opened document. But this is a chicken-and-egg problem: we want to be able to start the original application by double clicking it. Here we will discuss the Apple solution. >> >>

Thursday 16 May, 2013 om 7.09 door Ad  

Troubleshooting building with Qt


qt-logoQt is a great platform for building cross-platform applications. Qt is regularly updated and has a lively user community. A number of problem solutions can be found on the Internet. Nevertheless we have come across a number of problems during build cycles that we think could best be put together as a single troubleshooting guide. >> >>

Wednesday 15 May, 2013 om 20.45 door Ad  

Troubleshooting mingw32-make

GCC compilerWe recently were confronted with an intermittent bug in mingw32-make. On internet fora we found that more people had similar problems, but we found no solution there. After a couple of frustrating days we found the solution, although we are not sure whether or not we understand the solution. >> >>

Wednesday 15 May, 2013 om 19.45 door Ad  

Debugging qmake

qtcreatorFor developers the Qt framework is of great value. The tool chains allows for building applications using the same source C++ base for Windows, Mac, Linux and for some mobile platforms. Qt extends standard C++ with much needed functionality. We appreciate tremendously the consistent, transparent Unicode support and the support for all kinds of smart pointers. >> >>

Tuesday 14 May, 2013 om 21.14 door Ad  

Missing GL lib in Linux Qt 5.0

We find the Qt platform a great development tool. We recently have upgraded to the 5.0 version. We tested the out-of-the box packages on all three platforms with a simple console application. To our surprise the Linux version did not compile. The linker was complaining about a missing GL library. It turns that that library is part of the OpenGL API. Linux users can fix this by installing the freeglut3 (apt-get it) library. >> >>