Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25574

Qt 6 based QtC: System() fails on long command line

    XMLWordPrintable

Details

    • Windows
    • c3e413a8643857111ea80747605ba2cf5c2e328b (qt-creator/qt-creator/4.15)

    Description

      Qt 5 based QtCreator works fine, but Qt 6 based QtCreator fails on system() with long command line in the .pro: 

      qtPrepareTool(LRELEASE, lrelease)
      command = $$LRELEASE -silent -removeidentical $$files($${SRC_PATH}/../../i18n/*.ts)
      system($$command) | error("LRELEASE error: $$command")
      

      .ts files are e.g. in the C:\Home\Projects\Test\SubTest\SomeLongDirectory\i18n\: da_DK.ts de_DE.ts en_US.ts es_ES.ts fi_FI.ts fr_FR.ts it_IT.ts ja_JP.ts ko_KR.ts nl_NL.ts nn_NO.ts pt_PT.ts sv_SE.ts zh_CN.ts

      Attachments

        1. image-2021-04-13-12-57-20-256.png
          31 kB
          Nodir Temirkhodjaev
        2. QTCREATORBUG-25574.zip
          5 kB
          Nodir Temirkhodjaev
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            con Eike Ziller
            nodir.temir Nodir Temirkhodjaev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes