Preferences/__init__.py

changeset 2615
bdc9b4659826
parent 2614
9c49b4419ea7
child 2619
55f6484ad1c3
--- a/Preferences/__init__.py	Tue Apr 23 19:57:07 2013 +0200
+++ b/Preferences/__init__.py	Wed Apr 24 18:16:34 2013 +0200
@@ -33,7 +33,8 @@
 from E5Network.E5Ftp import E5FtpProxyType
 
 from Globals import settingsNameOrganization, settingsNameGlobal, settingsNameRecent, \
-    isWindowsPlatform, findPython2Interpreters, getPyQt4ModulesDirectory
+    isWindowsPlatform, findPython2Interpreters, getPyQt4ModulesDirectory, \
+    getQtBinariesPath
 
 from Project.ProjectBrowserFlags import SourcesBrowserFlag, FormsBrowserFlag, \
     ResourcesBrowserFlag, TranslationsBrowserFlag, InterfacesBrowserFlag, \
@@ -2351,7 +2352,7 @@
     elif key == "Qt4Dir":
         p = prefClass.settings.value("Qt/" + key, prefClass.qtDefaults[key])
         if p == "":
-            p = QLibraryInfo.location(QLibraryInfo.BinariesPath)
+            p = getQtBinariesPath()
         return p
     else:
         return prefClass.settings.value("Qt/" + key, prefClass.qtDefaults[key])

eric ide

mercurial