Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2097

setup.py install fails if building against Qt without qmlls

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 6.5
    • Build System, Tooling
    • None
    • RHEL 8, Building against pyside-setup dev branch @ 5055eface8

    • 43109854a2 (pyside/pyside-setup/dev) 43109854a2 (pyside/tqtc-pyside-setup/dev) 43109854a2 (pyside/tqtc-pyside-setup/tqtc/dev)

    Description

      When you build and install PySide6 against a Qt that was built without qtlanguageserver (the default, as it is a `preview` module right now), the installation phase fails trying to install `qmlls` when it does not exist in the Qt built against:

      -- Build files have been written to: /qt_build/pyside/src/build/qfp-py3.10-qt6.4.0-64bit-release/build/pyside-tools
      ninja: no work to do.
      [0/1] Install the project...
      -- Install configuration: "Release"
      -- Installing: /qt_build/pyside/src/build/qfp-py3.10-qt6.4.0-64bit-release/install/bin/pyside_tool.py
      [...]
      -- Installing: /qt_build/pyside/src/build/qfp-py3.10-qt6.4.0-64bit-release/install/bin/qmlformat
      CMake Error at cmake_install.cmake:102 (file):
        file INSTALL cannot find
        "/qt_build/pyside/external_dependencies/qt_6.4.0/bin/qmlls": No such file
        or directory.
      
      
      FAILED: CMakeFiles/install.util 
      cd /qt_build/pyside/src/build/qfp-py3.10-qt6.4.0-64bit-release/build/pyside-tools && /opt/cmake-3.21.1/bin/cmake -P cmake_install.cmake
      ninja: build stopped: subcommand failed.
      error: Error pseudo installing pyside-tools
      Traceback (most recent call last):
        File "/qt_build/pyside/src/setup.py", line 42, in <module>
          setup_runner.run_setup()
        File "/qt_build/pyside/src/build_scripts/setup_runner.py", line 255, in run_setup
          raise RuntimeError(msg)
      RuntimeError: 
      
      

      Attachments

        Issue Links

          Activity

            People

              shpremna Shyamnath Premnadh
              kkyzivat Keith Kyzivat
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: