Qt port based on QPA