Squish: Qt version tooltip now uses native dir separators

Change-Id: I157640df29abd4d0a1d02e4579f1b37f1346b784
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
This commit is contained in:
Robert Loehning
2011-12-12 16:55:57 +01:00
committed by Robert Löhning
parent a2d4538cfc
commit f5a737e0cb

View File

@@ -254,7 +254,7 @@ def __getQMakeLibPath__(qtToolTip):
# helper that tries to get the path of qmake of the QtVersion ToolTip
def __getQMakeBinPath__(qtToolTip):
qmake = ___searchInsideQtVersionToolTip___(qtToolTip, "qmake:")
endIndex = qmake.find("/qmake")
endIndex = qmake.find(os.sep + "qmake")
return qmake[:endIndex]
# helper that does the work for __getMkspec__() and __getQMakeVersion__()