Skip to content

Build under GNU Linux

f0ma edited this page Jan 27, 2013 · 3 revisions

Requires

Packages:

  1. git

  2. qt4-dev

  3. libslang-dev

QextSerialPort port library

Get QextSerialPort from Git:

git clone https://code.google.com/p/qextserialport/

Create separate build directory:

mkdir qextserialport-build
cd qextserialport-build

Build:

qmake ..\qextserialport\qextserialport.pro
make -f Makefile.Release

HardwareExpert build

Get HardwareExpert from Git:

git clone https://github.com/f0ma/hardwareexpert.git

Setting up library paths:

In HardwareExpert directory copy hardwareexpert-build-lib-paths.pri.example to hardwareexpert-build-lib-paths.pri.user

Edit hardwareexpert-build-lib-paths.pri.user - setup you directory (only for QextSerial)

Crate build directory and make:

mkdir hwe-build
cd hwe-build
qmake ..\hardwareexpert\hardwareexpert.pro
make -f Makefile.Release

Build documentation (optional)

Packages:

  1. python2.7;

  2. txt2tags;

See Аdditionals build targets.

Аdditionals build targets

Build documentation:

make -f Makefile.Release doc

Copy requared library and script files to build path:

make -f Makefile.Release deploy

Cleanup build path (remove all except scripts and binary files):

make -f Makefile.Release cleandeploy

Clone this wiki locally