Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96546

Python is erroneously reported as not found when cross-compiling on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.0 Beta4
    • Build System: CMake
    • None
    • Windows 11 21H2 beta
      Latest version of qt6 dev branch (74234e3fa48fc8f7454157556a5ea18824b31c17)
      Latest vcpkg (ef6c4faec7ebedb902628e58696108b2e9d8573a)
      CMake 3.21.2
      NDK 23.0.7599858
      Python 2.7.18
    • Android, Windows

    Description

      Continuation of QTBUG-96545

      The configuration scripts fail with error message "Python is required to build QtQml." although Python is found. I worked around it by commenting out the check in qtdeclarative/src/qml/configure.cmake and then I could build successfully.

      Note that I had to make the changes mentioned in QTBUG-96545 to successfully locate Python.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            ahmedyarub Ahmed Yarub Hani Al Nuaimi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes