Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


Code Project: create a media player

Aug 19, 2009, 23:02 (0 Talkback[s])

"Before we can get started with any programming, we have to satisfy several requirements for our player. The first is Qt 4.5, and this needs to be installed along with its associated development library. The development library contains the header files we import into our own projects so we can use Qt functionality outside of our own application.

"If your distribution recent enough, such as Ubuntu Jaunty, then you'll find Qt 4.5 is already included. If not, you're going to have to try it to track it down for yourself. Nokia provides packages which are easy enough to install, and these can sit alongside your current version of Qt, or you could try updating your distribution.

"Beginners will also need a working development environment. You can test whether one is installed or not by typing 'make' on the command line. If the only output you get is a complaint that the command can't be found, you'll need to install the GNU series of build tools through your distribution's package manager. If you're using Ubuntu, for instance, just install the build-essentials package. This includes fundamental programming tools such as the GCC compiler suite, the 'make' build system and the GDB debugger. Most other distributions should include the build environment with a default installation, but you should be able to find a similarly named meta-package if not."

Complete Story

Related Stories: