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

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes