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

Create a tool that creates an initial Qt CMake project

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes