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

jom's /DUMPGRAPHDOT command line option not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 3.4.0-beta1
    • Qt Creator 3.3.0
    • Jom
    • None
    • 685fc8a2e26cfde007862cf61fe9618dcdcf97e8

    Description

      Using the /DUMPGRAPHDOT command line option causes the following command line parsing error:
      Error: unknown command line option 'O' in arguments: '/L', '/R', '/DUMPGRAPHDOT', '-j1', '-f', 'makefile_xml'

      In my opinion this is due to a bug in /src/jomlib/options.cpp, where the corresponding case is unreachable, as can be seen here:

      } else if (upperArg.startsWith(QLatin1String("DUMPGRAPH")))

      { arg.remove(0, 9); dumpDependencyGraph = true; showLogo = false; }

      else if (upperArg.startsWith(QLatin1String("DUMPGRAPHDOT")))

      { arg.remove(0, 12); dumpDependencyGraph = true; dumpDependencyGraphDot = true; showLogo = false; }

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            phasemaster Daniel Baum
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes