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

Offer a CMake equivalent for qmake -project

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes