Skip to content
Oliver Lau edited this page Sep 24, 2015 · 28 revisions

Build for Linux

Prerequisites

  • Qt ≥ 5.3 including the modules "concurrent", "network" and "test"
  • C++ compiler that supports C++11, e.g. GCC C++ ≥ 4.6

Ensuring pristine builds

In some cases qmake or qmake-qt5 don't rebuild the Makefiles correctly after updating the repo with git pull. This may lead to compiler, linker and runtime errors. The prevent these please execute

make clean
find . -type f -name Makefile -exec rm {} \;

before proceeding with qmake or qmake-qt5 (see below).

Ubuntu

(Tested on Xubuntu 14.10, but all other recent Ubuntus should also work.)

On your console execute the following commands:

  1. To install missing packages:
sudo apt-get install qt5-default qttools5-dev-tools g++

Optionally: sudo apt-get install qtcreator

  1. To clone the repository (beforehand cd to a directory of your choice to store the cloned repository):
git clone git://github.com/ola-ct/Qt-SESAM.git
  1. To enter project directory:
cd Qt-SESAM
  1. To update the language files (currently only for German)
lrelease Qt-SESAM/Qt-SESAM.pro
  1. To build
qmake
make
make check

openSUSE Tumbleweed / Fedora

Install needed Qt5 libraries and tools:

sudo zypper install libqt5-qtbase-common-devel \
  libqt5-qttools-devel \
  libQt5Concurrent-devel \
  libQt5Network-devel \
  libQt5Test-devel 

Clone repository:

git clone git://github.com/ola-ct/Qt-SESAM.git

Build Qt-SESAM:

cd Qt-SESAM
lrelease Qt-SESAM/Qt-SESAM.pro
qmake-qt5
make
Clone this wiki locally