917 uicompiler = self.getUiCompiler() |
917 uicompiler = self.getUiCompiler() |
918 if not uicompiler: |
918 if not uicompiler: |
919 return None |
919 return None |
920 |
920 |
921 ofn, _ext = os.path.splitext(fn) |
921 ofn, _ext = os.path.splitext(fn) |
922 fn = os.path.join(self.project.ppath, fn) |
|
923 |
922 |
924 if self.project.getProjectLanguage() == "Python3": |
923 if self.project.getProjectLanguage() == "Python3": |
925 dirname, filename = os.path.split(ofn) |
924 dirname, filename = os.path.split(ofn) |
926 self.compiledFile = os.path.join(dirname, "Ui_" + filename + ".py") |
925 self.compiledFile = os.path.join(dirname, "Ui_" + filename + ".py") |
927 |
926 |