Commits

Anthony Tuininga committed 48db49d

The PyQt4._qt module is not used in newer versions of PyQt so ignore it if it
cannot be found.

Comments (0)

Files changed (1)

cx_Freeze/hooks.py

        foolish way of doing things but perhaps there is some hidden advantage
        to this technique over pure Python; ignore the absence of some of
        the modules since not every installation includes all of them."""
-    finder.IncludeModule("PyQt4._qt")
     finder.IncludeModule("PyQt4.QtCore")
     finder.IncludeModule("PyQt4.QtGui")
     finder.IncludeModule("sip")
-    for name in ("PyQt4.QtSvg", "PyQt4.Qsci", "PyQt4.QtAssistant",
+    for name in ("PyQt4._qt", "PyQt4.QtSvg", "PyQt4.Qsci", "PyQt4.QtAssistant",
             "PyQt4.QtNetwork", "PyQt4.QtOpenGL", "PyQt4.QtScript",
             "PyQt4.QtSql", "PyQt4.QtSvg", "PyQt4.QtTest", "PyQt4.QtXml"):
         try:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.