Linux and Technology blog

August 3, 2006

Coding GUIs in Linux

Filed under: KDE, Linux, Software, Tutorials — rakeshvk @ 9:14 am

GUI programming for Linux has traditionally been a difficult task. Trolltech has changed all that by introducing Qt, a platform-independent Object-oriented library, that allows programmers to create GUIs easily. The Qt library allows components of the GUI to interact with each other elegantly by using slots and signals. Qt is in its third avatar, meaning v3.0, and is now a mature library. It has even branched off as Qtopia, for development of GUI in embedded systems. The Qt development kit is available commercially for nearly every platform, including the Mac. For Linux it’s under L’GPL.

We’ll talk about how to use Qt by building a basic graphical frontend for mpg123, a popular command line MP3 player for Linux, using C++. Extensions are also available for using the Qt library in Perl or Python programs. To get started, install Qt development libraries from your Linux installation CD. It’s not installed by default. >>>>

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

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

Blog at WordPress.com.

%d bloggers like this: