diff --git a/BuildBotLib/cmake.py b/BuildBotLib/cmake.py
index a1ce410..c04c1ed 100644
--- a/BuildBotLib/cmake.py
+++ b/BuildBotLib/cmake.py
@@ -151,7 +151,7 @@ class CMake(Make):
 
     def androidXmakeCmd(self, props):
 
-        if self.platform == BaseModule.P_AndroidQt6:
+        if self.platform == self.P_AndroidQt6:
             return self.androidXmakeSinglAbiCmdQt6(props)
 
         return self.androidXmakeSinglAbiCmdQt5(props)