|
|||||||
Home
Books
SimTel
C/C++
|
Home / News TrollTech Qt Is it a plane? Is it a bird? No, it's Qt! Floris van den Berg Wednesday, October 28, 1998 If you look at toolkits like MFC or OWL, you will most likely notice they aren't the easiest ones to manage. Okay, the API wrappers make life considerably easier if you're used to plain c, but you still have to have lots of knowledge of Windows to get things going. A norwegian company had enough of this and decided to make their own API wrapper. They named it Qt. Qt is revolutionairy in a way, because it offers a much more simple interface than any other wrapper does. Even though the wrapper makes use of advanced object-techniques, it looks like you are coding for dos. And what's easier than writing for dos? An example ofcourse says more than a thousand words, so here's the example. The following program writes the classic "Hello World" on a pushbutton:
The best thing about Qt is the way it embeds cross platform functionality. Without any modification, you can compile your code on X11, Motif or Windows platforms. The only thing you have to change during compilation is the library you use to build your project. Every operating system (not compiler) needs it's own set of libraries. Qt comes with a variety of expansion kits, like OpenGL, Netscape/Explorer, Open Sound System, QFS and even an mp3-player. The API wrapper isn't free. To build commercial programs with Qt, you have to buy the program. Pricing information is available on the TrollTech homepage. There is a free version of Qt, but the programs you make with that version have to be published under the GNU public licence. |
NetLinks TrollTech Homepage |