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

QextSerial port library

Get QextSerial 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 mingw32-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 mingw32-make -f Makefile.Release

Build documentation (optional)

Packages:

  1. python2.7
  2. txt2tags

See Аdditionals build targets

Аdditionals build targets

Build documentation:

mingw32-make -f Makefile.Release doc

Copy requared library and script files to build path:

mingw32-make -f Makefile.Release deploy

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

mingw32-make -f Makefile.Release cleandeploy

Clone this wiki locally