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

Offer a CMake equivalent for qmake -project

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 6.3.1
    • Build System: CMake
    • None
    • 214c3a033 (dev)

    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

        Issue Links

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

          Activity

            People

              semlanik Alexey Edelev
              alexandru.croitor Alexandru Croitor
              Votes:
              4 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes