Hello World

Qt Logo

Image via Wikipedia

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.

1/. Graphics

2/. Networking

(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.

Advertisements

3 comments

  1. Pingback: I <3 Icecream « Fragments
  2. Pingback: Hi | Fragments
  3. Pingback: Sorry Cyanogenmod | Fragments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s