https://bugs.kde.org/show_bug.cgi?id=405796

            Bug ID: 405796
           Summary: Python scripting broken (PyQt5 not found by CMake)
           Product: krita
           Version: nightly build (please specify the git hash!)
          Platform: MS Windows
                OS: MS Windows
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: Scripting
          Assignee: krita-bugs-n...@kde.org
          Reporter: alvinhoc...@gmail.com
  Target Milestone: ---

Since some time before nightly build 27678b4ca0 (#494), PyQt5 is not detected
when building Krita.

[2019-03-23T08:22:39.918Z]   File
"C:/Packaging/workspace/Krita_Nightly_Windows_Build/krita/cmake/modules/FindPyQt5.py",
line 9, in <module>
[2019-03-23T08:22:39.918Z]     print("pyqt_version:%06.0x" %
PyQt5.Qt.PYQT_VERSION)
[2019-03-23T08:22:39.918Z] AttributeError: module 'PyQt5.Qt' has no attribute
'PYQT_VERSION'

I suspect it needs to be PyQt5.QtCore.PYQT_VERSION instead, but I don't know if
it is a change since some version of PyQt5 or if there is a bug in the
toolchain. Anyway, whatever change to this will need to be verified on all
platforms.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to