From b6654916b426574a4f576d3511f21a85377746f9 Mon Sep 17 00:00:00 2001 From: John Fultz Date: Fri, 19 Jul 2019 12:05:36 -0500 Subject: Fix deprecation errors for Qt 5.13. Most are Qt4-isms, except where noted. * Replaced QFontMetrics::width with QFontMetrics::horizontalAdvance, conditionally as the latter wasn't even introduced until Qt 5.11. * QColor::light and dark instead of QColor::light and dark. * QString() instead of QString::null. * std::sort instead of qSort * QTreeWidgetItem::setSelected instead of QTreeWidget::setItemSelected. * QFileDialog::setOption(QFileDialog::DontConfirmOverwrite) instead of QFileDialog::setConfirmOverwrite(false). * QDrag::exec instead of QDrag::start. --- README.MacOS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.MacOS') diff --git a/README.MacOS b/README.MacOS index 7ef67c8..30c5f9a 100644 --- a/README.MacOS +++ b/README.MacOS @@ -1,9 +1,9 @@ Requirements: ------------- -1. Xcode (for the compiler and build tools) +1. Xcode 9 or above (for the compiler and build tools) 2. A version of Qt 5. I use HomeBrew to grab the latest version, - presently Qt 5.9.1. Installing in HomeBrew is as easy as + presently Qt 5.13.0. Installing in HomeBrew is as easy as brew install qt Building Quackle: -- cgit v1.2.3