forked from qt-creator/qt-creator
Squish: Remove dead code
Change-Id: Ic24c9db0b923409026d92b87b246694dde8968db Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
committed by
Robert Loehning
parent
d751427326
commit
d21c508b0a
@@ -193,18 +193,6 @@ class Qt5Path:
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def __createPlatformQtPath__(qt5Minor):
|
def __createPlatformQtPath__(qt5Minor):
|
||||||
# special handling for Qt5.2
|
|
||||||
if qt5Minor == 2:
|
|
||||||
if platform.system() in ('Microsoft', 'Windows'):
|
|
||||||
return "C:/Qt/Qt5.2.1/5.2.1/msvc2010"
|
|
||||||
elif platform.system() == 'Linux':
|
|
||||||
if __is64BitOS__():
|
|
||||||
return os.path.expanduser("~/Qt5.2.1/5.2.1/gcc_64")
|
|
||||||
else:
|
|
||||||
return os.path.expanduser("~/Qt5.2.1/5.2.1/gcc")
|
|
||||||
else:
|
|
||||||
return os.path.expanduser("~/Qt5.2.1/5.2.1/clang_64")
|
|
||||||
# Qt5.3+
|
|
||||||
if platform.system() in ('Microsoft', 'Windows'):
|
if platform.system() in ('Microsoft', 'Windows'):
|
||||||
return "C:/Qt/Qt5.%d.1" % qt5Minor
|
return "C:/Qt/Qt5.%d.1" % qt5Minor
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user