]> git.sur5r.net Git - minitube/blobdiff - README.md
Updated instructions for Qt 5
[minitube] / README.md
index 0f38e6fbb3c301f0e6ee9a6b3fbf2dd8c49d606d..477a46e97b8904d564ce16221003ef5df8fb1c0b 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,19 +1,11 @@
 # Minitube
 Minitube is a YouTube desktop application. It is written in C++ using the Qt framework. Contributing is welcome, especially in the Linux desktop integration area.
 
-## Traslating Minitube to your language
-Minitube translations are done at https://www.transifex.com/projects/p/minitube/
+## Translating Minitube to your language
+Translations are done at https://www.transifex.com/projects/p/minitube/
 Just register and apply for a language team. Please don't request translation merges on GitHub.
 
-## Building
-To compile Minitube you need at least Qt 4.8. The following Qt modules are needed:
-core, gui, network, sql (using the Sqlite plugin), script, dbus, phonon
-
-On a Debian or Ubuntu system, type:
-
-    $ sudo apt-get install build-essential qt4-dev-tools libphonon-dev
-
-### Google API Key
+## Google API Key
 
 Google is now requiring an API key in order to access YouTube Data web services.
 Create a "Browser Key" at https://console.developers.google.com
@@ -21,22 +13,26 @@ Create a "Browser Key" at https://console.developers.google.com
 The key must be specified at compile time as shown below.
 Alternatively Minitube can read an API key from the GOOGLE_API_KEY environment variable.
 
-### Compiling
-Run:
+## Build instructions
+To compile Minitube you need at least Qt 5.0. The following Qt modules are needed:
+core, gui, network, sql (using the Sqlite plugin), script, dbus, phonon
+
+To be able to build on a Debian (or derivative) system:
 
-    $ qmake -DAPP_GOOGLE_API_KEY="YouAPIKeyHere"
+    $ sudo apt-get install build-essential qttool5-dev-tools qt5-qmake qtscript5-dev libphonon4qt5-dev libqt5sql5-sqlite qt5-default
 
-and then:
+Compiling:
 
+    $ qmake "DEFINES += APP_GOOGLE_API_KEY=YouAPIKeyHere"
     $ make
 
-Beware of the Qt3 or Qt5 version of qmake! If things go wrong try running qmake-qt4 instead.
+Beware of the Qt 4 version of qmake!
 
-### Running
+Running:
 
-       $ ./build/target/minitube
+       $ build/target/minitube
        
-## Installing on Linux
+Installing on Linux:
 
     $ sudo make install