Skip to content

Compiling on Ubuntu

Lukasz Podolski edited this page Mar 16, 2020 · 20 revisions

To compile ScreenCloud on Ubuntu, follow these instructions:

Using Qt5

  1. Grab the required dependencies:
    sudo apt-get install git build-essential cmake qtbase5-dev qtbase5-private-dev libqt5svg5-dev libqt5x11extras5-dev qtmultimedia5-dev qttools5-dev libquazip5-dev libpythonqt-dev python3-dev

    On Ubuntu 18 LTS instead use:
    sudo apt-get install git build-essential cmake qtbase5-dev qtbase5-private-dev libqt5svg5-dev libqt5x11extras5-dev qtmultimedia5-dev qttools5-dev libquazip5-dev libpythonqt-qt5-python3-dev python3-dev libssl-dev

  2. Pull the ScreenCloud source code from github:
    git clone https://github.com/olav-st/screencloud.git
    cd screencloud

  3. Make a build directory:
    mkdir build
    cd build

  4. Generate a Makefile using CMake.
    cmake ..

  5. You should now be able to build ScreenCloud by simply doing:
    make

Using Qt4 (old way)

  1. Grab the required dependencies:
    sudo apt-get install git build-essential cmake libqxt-dev libquazip-dev qtmobility-dev python2.7-dev

  2. Pull the ScreenCloud source code from github:
    git clone https://github.com/olav-st/screencloud.git
    cd screencloud

  3. Make a build directory:
    mkdir build
    cd build

  4. Generate a Makefile using CMake. You'll have to set the correct QMake executable to use Qt4.
    cmake .. -DQT_USE_QT5=OFF -DPYTHON_USE_PYTHON3=OFF -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4

  5. You should now be able to build ScreenCloud by simply doing:
    make

Clone this wiki locally