User Tools

Site Tools


win_compilation_howto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

win_compilation_howto [2019/07/16 20:31]
win_compilation_howto [2017/08/05 11:58] (current)
maefloresta
Line 1: Line 1:
 +;#;
 +[[developer_resources|Back to Developers Page]]
 +;#;
  
 +=====How to compile TupiTube Desk from source code (Windows 7 - 32 bit)=====
 +
 +**Warning:​** The official installer for Windows is only available from our [[http://​www.maefloresta.com/​portal/​downloads.php#​Downloads|repository]]. Avoid to download it from other sites.
 +
 +1. Download the dependencies required to compile TupiTube Desk\\
 +    * Qt 5.x (version > 5.4)
 +      * https://​www.qt.io/​download-open-source/ ​
 +    * Libav
 +      * http://​www.libav.org/​
 +    * Git for Windows
 +      * http://​git-scm.com/​download/​win
 +    * Quazip source code
 +      * http://​sourceforge.net/​projects/​quazip/​
 +
 +2. Install the dependencies into the following paths:
 +    * Qt must be installed into C:\Qt-5.x
 +    * Libav must be installed into C:\libav
 +    * Git must be installed into the default path but ensuring its commands are available from the Windows console
 +    * Quazip source code must be uncompressed at C:​\tupitube\sources\quazip-0.7
 +
 +3. Ensure the following Qt paths are included in your PATH system variable:
 +    * C:​\Qt-5.3.2\5.3\mingw482_32\bin
 +    * C:​\Qt-5.3.2\Tools\mingw482_32\bin
 +
 +This step is required to have access to the Qt commands from console. To verify this step, open a Windows terminal and type:
 +<​code>​
 +qmake -version
 +</​code>​
 +You should get an output similar to this:
 +<​code>​
 +C:​\Users\me>​ qmake -version
 +
 +  QMake version 3.0
 +  Using Qt version 5.3.2 in C:/​Qt-5.3.2/​5.3/​mingw482_32/​lib
 +</​code>​
 +4. Compile and install the Quazip library
 +
 +From the Windows console run these commands:
 +<​code>​
 +cd C:​\tupitube\sources\quazip-0.7
 +qmake -config release "​LIBS+=C:​\libav\bin\zlib1.dll"​ "​PREFIX=C:​\Quazip"​
 +make
 +make install
 +</​code>​
 +5. Download TupiTube Desk source code
 +
 +From the Windows console run these commands:
 +<​code>​
 +cd C:​\tupitube\sources  ​
 +git clone https://​github.com/​xtingray/​tupitube.desk.git
 +</​code>​
 +6. Compile the source code
 +
 +From the Windows console run these commands:
 +<​code>​
 +cd C:​\tupitube\sources\tupitube.desk
 +qmake -config release
 +make
 +</​code>​
 +7. Prepare the libraries required by TupiTube Desk
 +
 +    * Create the path C:​\tupitube\sources\qt5
 +    * Execute the script located at: C:​\tupitube\sources\tupitube.desk\tools\win32\qt5.bat
 +    * Create the path C:​\tupitube\sources\libav
 +    * Execute the script located at: C:​\tupitube\sources\tupitube.desk\tools\win32\libav.bat
 +
 +8. Install the binaries in your system
 +
 +    * Execute the script located at: C:​\tupitube\sources\tupitube.desk\tools\win32\copy.vbs
 +    * The installation path will be: C:​\maefloresta
 +
 +9. To run TupiTube Desk, execute the file: C:​\maefloresta\bin\TupiTube.vbs
 +
 +;#;
 +[[developer_resources|Back to Developers Page]]
 +;#;