Hello,

I have an array of QVector <QPoint> and I'm trying to find the maximum and minimum of each x and y. (trying to get X max, X min, Y max, Y min). Is there a clean way of going about this? I was looking at QSort but I'm not sure how to seperate the QPoint container into its x and y.

Thank you in advance for any advice you can offer.