check-webkit-style can't handle qt-arm, qt-win, qt-mac, qt-5.0, qt-5.0-wk1 and qt...
[WebKit-https.git] / Tools / Scripts / webkitpy / layout_tests / port / qt.py
index 2e73c75a8671c518c81464b1b5a38973665a0662..46ee95d38eb4322bf4f0a69b5bea5e448c9f6eb5 100644 (file)
@@ -135,7 +135,7 @@ class QtPort(Port):
             search_paths.append('qt-4.8')
         elif version:
             search_paths.append('qt-5.0')
             search_paths.append('qt-4.8')
         elif version:
             search_paths.append('qt-5.0')
-        search_paths.append(self.port_name + '-' + self.host.platform.os_name)
+        search_paths.append(self.port_name + '-' + self.operating_system())
         search_paths.append(self.port_name)
         return search_paths
 
         search_paths.append(self.port_name)
         return search_paths