Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25080

App wizards: Simplify generated CMakeLists.txt

XMLWordPrintable

      The current CMakeLists.txt files that are generated by the wizards try to work both for Qt 5 and Qt 6 versions. Unfortunately this leads to a lot of if()..else() blocks, and crute logic.

      It would be arguably cleaner to let the user select the target version first, and then generate a CMakeLists.txt file that is taylored towards Qt 5 or Qt 6. Or provide a qt5compat.cmake shim that allows to write a modern CMakeLists.txt file that also works with older Qt 5 versions.

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

            cadam Cristian Adam
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes