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

Offer a CMake equivalent for qmake -project

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.3.1
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:
      None

      Description

      From qmake --help

      -project       Put qmake into project file generation mode
                       In this mode qmake interprets [files] as files to
                       be added to the .pro file. By default, all files with
                       known source extensions are added.
                       Note: The created .pro file probably will
                       need to be edited. For example add the QT variable to
                       specify what modules are required.
      

      This tool is useful when someone only provides a .cpp file reproducer, but not cmakelists.txt or .pro file.
      You then have to write the boilerplate project yourself.
      Having some standalone qt-cmake-project tool would ease the pain.

        Attachments

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

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes