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

windeployqt JSON output is not valid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • 5.6.1
    • 5.5.1, 5.6.0 RC
    • None
    • Windows 10 x64
      MSVC2013 x64
    • 7b9f7620b6da02ae1809a5255979c79533ec8480 (qttools/5.6, 26.2.2016, 5.6.1)

      Short story

      Using --json on a binary which depends on webenginewidgets does not produce a valid JSON output as this text line is printed first

      Deploying: QtWebEngineProcess...
      

      Long story

      I have a simple QBS project with a dependency on Qt WebEngine Widgets module.

       CppApplication {
              name: "myapp"
              files: [...]
      
              Depends { name: "Qt"; submodules: ["core", "gui", "widgets", "network", "webenginewidgets"] }
      

      I compiled it with Qt 5.5.1 and Qt 5.6RC both with MSVC2013 x64.
      Then I run

      windeployqt --json myapp.exe 


      Which output:

      Deploying: QtWebEngineProcess...
      {
          "files": [
              {
                  "source": "C:\\Qt\\5.6\\msvc2013_64\\bin\\Qt5Cored.dll",
                  "target": "D:\\Builds\\...\\install-root\\bin"
              },
      ...
      ]
      }
      

        For Gerrit Dashboard: QTBUG-51394
        # Subject Branch Project Status CR V

            kleint Friedemann Kleint
            bterrier Benjamin Terrier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes