unit test fix

we need to build using qmake until we convert unit test to cmake