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

REG->5.13 RC2: Syntax error in Qt5UiToolsConfig.cmake: :37 (string): string sub-command REGEX, mode REPLACE needs at least 6 arguments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P0: Blocker
    • None
    • 5.13.0 RC 2
    • Build System
    • None
    • All

    Description

      When trying to build Qt for Python against 5.13 RC2:

      CMake Error at /opt/Qt/QtO/5.13.0/gcc_64/lib/cmake/Qt5UiTools/Qt5UiToolsConfig.cmake:37 (string):
        string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
        command.
      Call Stack (most recent call first):
        /opt/Qt/QtO/5.13.0/gcc_64/lib/cmake/Qt5UiTools/Qt5UiToolsConfig.cmake:189 (_qt5_UiTools_process_prl_file)
        CMakeLists.txt:263 (find_package)
      
      error: Error configuring pyside2
      Traceback (most recent call last):
        File "setup.py", line 296, in <module>
          setup_runner.run_setup()
        File "pyside-setup513i/build_scripts/setup_runner.py", line 157, in run_setup
      

      offending code

      string(REGEX REPLACE "[ \t]+" ";" _standard_libraries ${CMAKE_CXX_STANDARD_LIBRARIES})
      

      Seems to affect only prefix builds.

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes