Do not download Qt if Qt_CMAKE_PREFIX_PATH as an environment variable

This commit is contained in:
danteruiz 2019-09-19 22:35:59 -07:00
parent 97ef2c030e
commit da655c837e

View file

@ -257,6 +257,7 @@ endif()
def installQt(self):
qt5InstallPath = self.getQt5InstallPath()
if os.getenv('QT_CMAKE_PREFIX_PATH') == None:
if not os.path.isdir(qt5InstallPath):
print ('Downloading Qt from AWS')
dest, tail = os.path.split(qt5InstallPath)