Skip to content
Snippets Groups Projects
Commit c3cf4d59 authored by Amin Bandali's avatar Amin Bandali
Browse files

build: drop vestigial 'supported Qt distro' check

This check was added in 5ec47bc3 about
two years ago when client-qt was just beginning to be ported to
GNU/Linux and could not be readily/easily built on GNU/Linux systems.

This removal should also fix/avoid the recently-introduced logic bug
that broke --distribution=android.

Change-Id: Ia9ab9e37b9d9cfd2f7a2a57931bbd5bf6f4d56bb
parent bd745f43
No related branches found
No related tags found
No related merge requests found
...@@ -661,21 +661,6 @@ def validate_args(parsed_args): ...@@ -661,21 +661,6 @@ def validate_args(parsed_args):
file=sys.stderr) file=sys.stderr)
sys.exit(1) sys.exit(1)
# The Qt client support will be added incrementally.
if not parsed_args.gnome:
supported_qt_distros = [
'guix',
OSX_DISTRIBUTION_NAME,
WIN32_DISTRIBUTION_NAME
] + APT_BASED_DISTROS + DNF_BASED_DISTROS + PACMAN_BASED_DISTROS
if parsed_args.distribution not in supported_qt_distros:
print('Distribution \'{0}\' not supported when building the Qt client.'
'\nChoose one of: {1}'.format(
parsed_args.distribution, ', '.join(supported_qt_distros)
), file=sys.stderr)
sys.exit(1)
# On Windows, version 10 or later is needed to build Jami. # On Windows, version 10 or later is needed to build Jami.
if parsed_args.distribution == WIN32_DISTRIBUTION_NAME: if parsed_args.distribution == WIN32_DISTRIBUTION_NAME:
if hasattr(sys, 'getwindowsversion') and sys.getwindowsversion()[0] < 10: if hasattr(sys, 'getwindowsversion') and sys.getwindowsversion()[0] < 10:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment