It works now. Any idea how to run the commands using static methods of QtServiceController::install(...) in the program ?