diff --git a/src/plugins/qt4projectmanager/qtversionmanager.cpp b/src/plugins/qt4projectmanager/qtversionmanager.cpp
index 72d63d6afbca0f2cbeaab9bcfbfcc31f605da8fb..b894715cef6d60a17a32c1ce112b427d43753948 100644
--- a/src/plugins/qt4projectmanager/qtversionmanager.cpp
+++ b/src/plugins/qt4projectmanager/qtversionmanager.cpp
@@ -1165,7 +1165,7 @@ void QtVersion::updateToolChainAndMkspec() const
                     // We sometimes get a mix of different slash styles here...
                     possibleFullPath = possibleFullPath.replace('\\', '/');
                     if (QFileInfo(possibleFullPath).exists()) // Only if the path exists
-                        mkspecFullPath = possibleFullPath
+                        mkspecFullPath = possibleFullPath;
                 }
                 break;
             }