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

qmake2cmake_all --help uses name 'pro2cmake' in multiple locations, includes internal-use option

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 6.3.0
    • Build tools: Other
    • None
    • All
    • 39533db1b9 (qt/qmake2cmake/dev)

    Description

      As the subject says, after installing the latest qmake2cmake via python3 -m pip install, the help text shows the name "pro2cmake" in various locations: 

      $ qmake2cmake_all --help   
      usage: qmake2cmake_all [-h] [--min-qt-version MIN_QT_VERSION]
                             [--only-existing] [--only-missing]
                             [--only-qtbase-main-modules] [--skip-subdirs-projects]
                             [--skip-smarty-directory-filtering]
                             [--main-file MAIN_FILE] [--count COUNT]
                             [--offset OFFSET]
                             <path>Run pro2cmake on all .pro files recursively in given path. You can pass
      additional arguments to the pro2cmake calls by appending -- --foo --barpositional arguments:
        <path>                The path where to look for .pro files.options:
        -h, --help            show this help message and exit
        --min-qt-version MIN_QT_VERSION
                              Specify the minimum Qt version for the converted
                              project.
        --only-existing       Run pro2cmake only on .pro files that already have a
                              CMakeLists.txt.
        --only-missing        Run pro2cmake only on .pro files that do not have a
                              CMakeLists.txt.
        --only-qtbase-main-modules
                              Run pro2cmake only on the main modules in qtbase.
        --skip-subdirs-projects
                              Don't run pro2cmake on TEMPLATE=subdirs projects.
        --skip-smarty-directory-filtering
                              Don't run pro2cmake on a pro file which is included in
                              a subdir project in the same directory.
        --main-file MAIN_FILE
                              Specify the name of the main .pro file in <path>.
        --count COUNT         How many projects should be converted.
        --offset OFFSET       From the list of found projects, from which project
                              should conversion begin.

      Also, it still includes the --only-qtbase-main-modules option, which makes no sense for a tool for general use.

       

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            ferdnyc Frank Dana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes