fix unused argument warning
replace popen with QProcess, hand-lexing with split