diff --git a/build.py b/build.py
index 06dbe5930cf630913a01af98bf648c23ee60b7a3..ca2d51e0da027ec85463552fb2d822f4f1ff60a4 100755
--- a/build.py
+++ b/build.py
@@ -458,10 +458,9 @@ def run_install(args):
 
         environ['CMAKE_PREFIX_PATH'] = proc.stdout.rstrip("\n")
         environ['CONFIGURE_FLAGS'] = '--without-dbus'
-        if args.macos is None:
+        if args.qt is not None:
             install_args += ("-c", "client-qt")
-            if args.qt is not None:
-                install_args += ("-Q", args.qt)
+            install_args += ("-Q", args.qt)
         else:
             install_args += ("-c", "client-macosx")
     else: