Toolbox/Startup.py

changeset 2614
9c49b4419ea7
parent 2608
01118174a2f5
child 2677
3d4277929fb3
child 2683
ef93fc7332a2
equal deleted inserted replaced
2613:0799eea6feba 2614:9c49b4419ea7
129 def setLibraryPaths(): 129 def setLibraryPaths():
130 """ 130 """
131 Module function to set the Qt library paths correctly for windows systems. 131 Module function to set the Qt library paths correctly for windows systems.
132 """ 132 """
133 if Globals.isWindowsPlatform(): 133 if Globals.isWindowsPlatform():
134 libPath = os.path.join(Globals.getPythonModulesDirectory(), "PyQt4", "plugins") 134 libPath = os.path.join(Globals.getPyQt4ModulesDirectory(), "plugins")
135 if os.path.exists(libPath): 135 if os.path.exists(libPath):
136 libPath = QDir.fromNativeSeparators(libPath) 136 libPath = QDir.fromNativeSeparators(libPath)
137 libraryPaths = QApplication.libraryPaths() 137 libraryPaths = QApplication.libraryPaths()
138 if libPath not in libraryPaths: 138 if libPath not in libraryPaths:
139 libraryPaths.insert(0, libPath) 139 libraryPaths.insert(0, libPath)

eric ide

mercurial