def __init__(self):
        if os.name == "nt":
            currentDir = os.getcwd()
            os.environ["PATH"] = os.environ["PATH"] + ";" + os.path.join(currentDir, "plug-ins", "vistrails", "lib", "PyQt4")

        QtGui.QApplication.__init__(self, sys.argv)
        if QtCore.QT_VERSION < 0x40200: # 0x40200 = 4.2.0
            raise core.requirements.MissingRequirement("Qt version >= 4.2")
        self._initialized = False
        qt.allowQObjects()
 def __init__(self):
     QtGui.QApplication.__init__(self, sys.argv)
     VistrailsApplicationInterface.__init__(self)
     if QtCore.QT_VERSION < 0x40200:  # 0x40200 = 4.2.0
         raise core.requirements.MissingRequirement("Qt version >= 4.2")
     qt.allowQObjects()
 def __init__(self):
     QtGui.QApplication.__init__(self, sys.argv)
     VistrailsApplicationInterface.__init__(self)
     if QtCore.QT_VERSION < 0x40200: # 0x40200 = 4.2.0
         raise core.requirements.MissingRequirement("Qt version >= 4.2")
     qt.allowQObjects()