add qmake to build elgtrace