1 from __future__ import absolute_import
2 from __future__ import print_function
4 from builtins import object
11 def __new__(cls, *args, **kwargs):
13 cls._instance = super(envQT, cls).__new__(
19 if hasattr(self,'inQt5') : return
20 if 'PYQT_ROOT_DIR' in os.environ: qt=os.environ['PYQT_ROOT_DIR']
22 if 'Pyqt-5' in qt : self.inQt5=True
23 else : self.inQt5=False
26 monEnvQT5=envQT().inQt5
27 if __name__=='__main__':