Replaces sys typedefs with qt ones