It’s dawned on me that I can also use this place to express some of my feelings about the current state of technology. So, here’s a small ditty about why I’m very much a fan of the Qt framework.
Qt (pronounced ‘cute’) first came to my attention when I started to use KDE, one of the main desktop environments in Linux. Qt is the toolkit that makes the buttons, graphics, text and layouts. KDE is responsible for using Qt to make full applications and, in general, the complete experience of using a computer to do day-to-day tasks.
The other main desktop environment is called gnome, based on Gtk+. There are others, such as the long-awaited enlightenment project which is build upon its own libraries. When learning to program, I started as most others did by writing little programs that don’t do very much. Most of them we’re just things to make the computer do what I could do by hand, but faster. Quadratic equations, matrix solvers, time keepers, calculators and all those fun things that don’t require architecture specific dependencies.
However, there are at least two drawbacks of using the C language.
(3/. Unicode, but that’s less important to me.)
The primary reason that these are drawbacks, is because the C language pre-dates such technologies and therefore does not handle them in the language itself. In order to make use of them, wrapper libraries have been written to bring graphics and networking (and a lot of nice things) to C.
Qt and Gtk+ are examples of these libraries. Actually, Qt is a set of libraries for C++ but also comes with the meta-object system which extends C++ even further by adding some extra keywords (e.g. foreach) and signals/slots connections.
As I got used to writing small programs that would be forever destined never to leave the command line, I reached out to third-party libraries to see what they could offer.
Next: Why I chose Qt.