add some qmake functions from Qt5 c++

use qmake syntax and system commands
Add compile test