From fe536fa15bae292fac0ff04e40ffe0eb15dc35da Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 6 Sep 2014 16:35:17 +0400 Subject: [PATCH] build instructions improved for qt creator --- MSVC.md | 3 +-- QTCREATOR.md | 40 +++++++++++++++++++++++++++++++++++++--- XCODE.md | 3 +-- 3 files changed, 39 insertions(+), 7 deletions(-) diff --git a/MSVC.md b/MSVC.md index de662a208..eabeb2fa5 100644 --- a/MSVC.md +++ b/MSVC.md @@ -137,8 +137,7 @@ There go to Qt directory and after that run configure - configure -debug-and-release -opensource -static -opengl desktop -mp -nomake examples -platform win32-msvc2013 - y + configure -debug-and-release -opensource -confirm-license -static -opengl desktop -mp -nomake examples -platform win32-msvc2013 to configure Qt build. After configuration is complete run diff --git a/QTCREATOR.md b/QTCREATOR.md index 9c3dadb8d..ba9545374 100644 --- a/QTCREATOR.md +++ b/QTCREATOR.md @@ -30,9 +30,43 @@ or download in ZIP and extract to **/home/user/TBuild** rename **tdesktop-master Install dev libraries - sudo apt-get install libexif-dev liblzma-dev libz-dev libssl-dev libogg-dev libopus-dev libopusfile-dev + sudo apt-get install libexif-dev liblzma-dev libz-dev libssl-dev -Install OpenAL Soft +Install audio libraries + +####libogg-1.3.2 + +[Download libogg-1.3.2 sources](http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz) from http://xiph.org/downloads, extract to **/home/user/TBuild/Libraries**, go to **/home/user/TBuild/Libraries/libogg-1.3.2** and run + + ./configure + make + sudo make install + +####Opus codec 1.1 + +[Download opus-1.1 sources](http://downloads.xiph.org/releases/opus/opus-1.1.tar.gz) from http://www.opus-codec.org/downloads, extract to **/home/user/TBuild/Libraries**, go to **/home/user/TBuild/Libraries/opus-1.1** and run + + ./configure + make + sudo make install + +####opusfile-0.6 + +[Download opusfile-0.6 sources](http://downloads.xiph.org/releases/opus/opusfile-0.6.tar.gz) from http://www.opus-codec.org/downloads, extract to **/home/user/TBuild/Libraries**, go to **/home/user/TBuild/Libraries/opusfile-0.6** and run + + ./configure + make + sudo make install + +####PortAudio 19 + +[Download portaudio sources](http://www.portaudio.com/archives/pa_stable_v19_20140130.tgz) from **http://www.portaudio.com/download.html**, extract to **/home/user/TBuild/Libraries**, go to **/home/user/TBuild/Libraries/portaudio** and run + + ./configure + make + sudo make install + +####OpenAL Soft In Terminal go to **/home/user/TBuild/Libraries** and run @@ -40,6 +74,7 @@ In Terminal go to **/home/user/TBuild/Libraries** and run then go to **/home/user/TBuild/Libraries/openal-soft/build** and run + sudo apt-get install cmake cmake -D LIBTYPE:STRING=STATIC .. make sudo make install @@ -61,7 +96,6 @@ Install some packages for Qt (see **/home/user/TBuild/Libraries/QtStatic/qtbase/ In Terminal go to **/home/user/TBuild/Libraries/QtStatic** and there run ./configure -release -opensource -confirm-license -qt-xcb -no-opengl -static -nomake examples -skip qtquick1 -skip qtdeclarative - y make sudo make install diff --git a/XCODE.md b/XCODE.md index fbbe5ec92..794862f08 100644 --- a/XCODE.md +++ b/XCODE.md @@ -131,8 +131,7 @@ Apply patch – copy (with overwrite!) everything from **/Users/user/TBuild/tdes In Terminal go to **/Users/user/TBuild/Libraries/QtStatic** and there run - ./configure -debug-and-release -opensource -static -opengl desktop -nomake examples -platform macx-clang - y + ./configure -debug-and-release -opensource -confirm-license -static -opengl desktop -nomake examples -platform macx-clang make sudo make install