APM Planner 2.0 on Ubuntu 14.04 LTS

When installing the APM Planner from repository (prebuilt package did not work for me due to missing dependency),

Unpacking apmplanner2 (2.0.14) ...
dpkg: dependency problems prevent configuration of apmplanner2:
 apmplanner2 depends on libopenscenegraph80; however:
  Package libopenscenegraph80 is not installed.

i pulled sources from repo and tried to build it on my own, so i came across the other - Qt problem. Sources seem to be written for earlier version of Qt then i had ( Qt version 5.2.1 ) an issue with compilation of sources i got from git repo: 

git clone https://github.com/diydrones/apm_planner

qmake, make

i got series of errors:

build-release/ui/ui_mapripform.h:13:25: fatal error: QtGui/QAction: No such file or directory  #include <QtGui/QAction>

I googled a bit and found a reason, and simply modified sources with two find&replace commands:

grep -rl 'QtGui' build-release/ui/*.h | xargs sed -i 's/QtGui\///g'
grep -rl ', QApplication::UnicodeUTF8' build-release/ui/*.h | xargs sed -i 's/, QApplication::UnicodeUTF8//g'

this changes include files location in header files and removes no  more used argument from the function.

After this, cleaninng and building again APM Planner seams to work.