# Build instructions

## Prerequisites

To compile Minitube you need Qt >= 4.5 installed.

On a Debian or Ubuntu system just type:
    sudo apt-get install build-essential qt4-dev-tools libphonon-dev

Windows and Mac users can get the Qt libraries from:
http://qt.nokia.com/downloads

## Compiling

Compiling on Linux is fairly easy. Just run:
    qmake
and then
    make

Beware of the Qt3 version of qmake! If things go wrong try running qmake-qt4 instead.

## Running

Just type:
    ./build/target/minitube

## The visual way

There is also a visual way to build and run Qt apps.
Download the Qt SDK from: http://qt.nokia.com/downloads
Open `minitube.pro` with Qt Creator and use the Run (big green "play" icon) command.

## Legal Stuff

Copyright (C) 2009  Flavio Tordini

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
