QT and command line build working

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>