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

Create a tool that creates an initial Qt CMake project

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • P2: Important
    • None
    • 6.0.0
    • Build System: CMake
    • None
    • All

    Description

      Create a tool that mimics "qmake -project", but for CMake.
      It should add the necessary find_package calls and add the source files.

      Extra sugar on top: scan the source for includes and deduct the needed Qt modules.

      There's https://github.com/KDAB/KDToolBox/blob/master/qt/cmake-project/cmake-project
      but that's not platform-independent.
      I suggest to implement this tool in CMake itself and run it by wrappers like configure/configure.bat.

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              jbornema Joerg Bornemann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes