diff -r 9402d145020d -r 2b328d503567 Utilities/Startup.py --- a/Utilities/Startup.py Sun May 16 19:57:46 2010 +0200 +++ b/Utilities/Startup.py Thu May 20 20:11:27 2010 +0200 @@ -201,6 +201,16 @@ handleArgs(argv, appinfo) app = E5Application(argv) app.setQuitOnLastWindowClosed(quitOnLastWindowClosed) + + if Utilities.isWindowsPlatform(): + libPath = os.path.join(Utilities.getPythonModulesDirectory(), + "PyQt", "plugins") + if os.path.exists(libPath): + libPath = Utilities.fromNativeSeparators(libPath) + libraryPaths = QApplication.libraryPaths() + if libPath not in libraryPaths: + libraryPaths.insert(0, libPath) + QApplication.setLibraryPaths(libraryPaths) initializeResourceSearchPath() QApplication.setWindowIcon(UI.PixmapCache.getIcon("eric.png"))