diff --git a/make-ring.py b/make-ring.py
index 673cd9adc6209cee6d544c946c7c30a534c2b11f..3d4c4e125867f3dd9432018b4fee87f6a2c0e965 100755
--- a/make-ring.py
+++ b/make-ring.py
@@ -78,7 +78,7 @@ DEBIAN_DEPENDENCIES = [
 ]
 
 OSX_DEPENDENCIES = [
-    'autoconf', 'cmake', 'gettext', 'pkg-config', 'qt5',
+    'autoconf', 'cmake', 'gettext', 'pkg-config', 'homebrew/versions/qt55',
     'libtool', 'yasm', 'automake'
 ]
 
@@ -139,7 +139,7 @@ def run_install(args):
     if args.global_install:
         install_args += ' -g'
     if args.distribution == "OSX":
-        proc= subprocess.Popen("brew --prefix qt5", shell=True, stdout=subprocess.PIPE)
+        proc= subprocess.Popen("brew --prefix homebrew/versions/qt55", shell=True, stdout=subprocess.PIPE)
         qt5dir = proc.stdout.read()
         os.environ['CMAKE_PREFIX_PATH'] = str(qt5dir.decode('ascii'))
         install_args += " -c client-macosx"