eric7/Toolbox/Startup.py

branch
eric7
changeset 8459
0ae07748dbe8
parent 8358
144a6b854f70
child 8709
41a9ecc5b17b
equal deleted inserted replaced
8458:d3bedd175c99 8459:0ae07748dbe8
161 def setLibraryPaths(): 161 def setLibraryPaths():
162 """ 162 """
163 Module function to set the Qt library paths correctly for windows systems. 163 Module function to set the Qt library paths correctly for windows systems.
164 """ 164 """
165 if Globals.isWindowsPlatform(): 165 if Globals.isWindowsPlatform():
166 libPath = os.path.join(Globals.getPyQt5ModulesDirectory(), "plugins") 166 libPath = os.path.join(Globals.getPyQt6ModulesDirectory(), "plugins")
167 if os.path.exists(libPath): 167 if os.path.exists(libPath):
168 libPath = QDir.fromNativeSeparators(libPath) 168 libPath = QDir.fromNativeSeparators(libPath)
169 libraryPaths = QApplication.libraryPaths() 169 libraryPaths = QApplication.libraryPaths()
170 if libPath not in libraryPaths: 170 if libPath not in libraryPaths:
171 libraryPaths.insert(0, libPath) 171 libraryPaths.insert(0, libPath)

eric ide

mercurial