User Tools

Site Tools


ubuntu_compilation_howto

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu_compilation_howto [2020/07/21 04:13] maeflorestaubuntu_compilation_howto [2020/07/21 05:03] (current) maefloresta
Line 17: Line 17:
 </code> </code>
 2. Install the Qt5 framework (version 5.13 or higher):\\ 2. Install the Qt5 framework (version 5.13 or higher):\\
-    * Download the installer for the architecture of your operating system (32 or 64 bit) from https://www.qt.io/download-open-source/+    * Download the installer for the architecture of your operating system (32 or 64 bit) from https://download.qt.io/archive/qt/
     * Run these commands from console:     * Run these commands from console:
 <code> <code>
Line 25: Line 25:
     * Modify your PATH variable including your Qt5 installation path:     * Modify your PATH variable including your Qt5 installation path:
 <code> <code>
-export PATH=/*your*/*Qt*/*path*/5.14.2/gcc_64/bin:$PATH+export PATH=/*your*/*Qt*/*path*/5.*.*/gcc_64/bin:$PATH
 </code> </code>
     * Verify your Qt5 version:     * Verify your Qt5 version:
Line 37: Line 37:
 ./qt-opensource-linux-x64-5.14.2.run ./qt-opensource-linux-x64-5.14.2.run
 </code> </code>
-- The Qt5 installation path was: /home/user/Qt5.7.0+- The Qt5 installation path was: /home/user/Qt5.14.2
 <code> <code>
 export PATH=/home/user/Qt5.14.2/5.14.2/gcc_64/bin:$PATH export PATH=/home/user/Qt5.14.2/5.14.2/gcc_64/bin:$PATH
 qmake -version qmake -version
  
-  QMake version 3.0+  QMake version 3.1
   Using Qt version 5.14.2 in /home/user/Qt5.14.2/5.14.2/gcc_64/lib   Using Qt version 5.14.2 in /home/user/Qt5.14.2/5.14.2/gcc_64/lib
 </code> </code>
-3. Install the Quazip dependency:\\ +3. Install the Quazip dependency: 
- +Run these commands from console:
-**Warning:** If you want to use the Quazip package from Ubuntu's repository, ensure it was created using Qt5, otherwise TupiTube Desk compilation will fail.\\ +
- +
-Download the source code from https://sourceforge.net/projects/quazip/files/quazip/0.7.3/quazip-0.7.3.tar.gz/download+
 <code> <code>
-tar xvfz quazip-0.7.3.tar.gz +git clone https://github.com/xtingray/quazip 
-cd quazip-0.7.3+cd quazip
 qmake "PREFIX=/usr/local" "LIBS+=-lz" qmake "PREFIX=/usr/local" "LIBS+=-lz"
 make make
 sudo make install sudo make install
 </code> </code>
-4. Get TupiTube Desk source code:+4. Get and compile FFmpeg source code: 
 +- Run these commands from console: 
 +<code> 
 +wget https://ffmpeg.org/releases/ffmpeg-4.3.tar.gz 
 +tar xvfz ffmpeg-4.3.tar.gz 
 +cd ffmpeg-4.3 
 +./configure --prefix=/usr/local/ffmpeg --enable-shared --disable-doc --enable-libx264  
 +--enable-gpl --disable-swresample --disable-avresample 
 +</code> 
 +5. Get TupiTube Desk source code:
 <code> <code>
 git clone https://github.com/xtingray/tupitube.desk.git -b devel git clone https://github.com/xtingray/tupitube.desk.git -b devel
Line 64: Line 70:
 <code> <code>
 cd tupitube.desk cd tupitube.desk
-./configure --prefix=/usr/local/tupitube.desk --with-quazip=/usr/local+./configure --prefix=/usr/local/tupitube.desk --with-quazip=/usr/local/quazip  
 +--with-ffmpeg=/usr/local/ffmpeg
 make make
 sudo make install sudo make install
ubuntu_compilation_howto.1595304791.txt.gz · Last modified: 2020/07/21 04:13 by maefloresta