diff --git a/hifi_vcpkg.py b/hifi_vcpkg.py index 39e4a3a788..fb7e13a0c2 100644 --- a/hifi_vcpkg.py +++ b/hifi_vcpkg.py @@ -244,22 +244,22 @@ endif() print ('Downloading Qt from AWS') dest = os.path.join(self.path, 'installed') + url = 'NOT DEFINED' if platform.system() == 'Windows': url = 'https://hifi-qa.s3.amazonaws.com/qt5/Windows/qt5-install.tar.gz' elif platform.system() == 'Darwin': url = 'https://hifi-qa.s3.amazonaws.com/qt5/Mac/qt5-install.tar.gz' elif platform.system() == 'Linux': if platform.linux_distribution()[1] == '16.04': - self.vcpkgUrl = 'https://hifi-qa.s3.amazonaws.com/qt5/Ubuntu/16.04/qt5-install.tar.gz' + url = 'https://hifi-qa.s3.amazonaws.com/qt5/Ubuntu/16.04/qt5-install.tar.gz' elif platform.linux_distribution()[1] == '18.04': - self.vcpkgUrl = "https://hifi-qa.s3.amazonaws.com/qt5/Ubuntu/18.04/qt5-install.tar.gz" + url = "https://hifi-qa.s3.amazonaws.com/qt5/Ubuntu/18.04/qt5-install.tar.gz" else: print('UNKNOWN LINUX VERSION!!!') else: print('UNKNOWN OPERATING SYSTEM!!!') print('Extracting ' + url + ' to ' + dest) - hifi_utils.downloadAndExtract(url, dest) else: print ('Qt has already been downloaded')